From 634eee4cb1e1e78e5a5a5b26a6dd159f32b5b799 Mon Sep 17 00:00:00 2001 From: Arnaud Fenioux Date: Tue, 3 Nov 2020 11:27:49 +0100 Subject: [PATCH 1/2] Update README.md Adding Arista configuration example, and updating Compatibility matrix --- README.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index afd3d4d..81eb05e 100644 --- a/README.md +++ b/README.md @@ -366,7 +366,7 @@ Implementations on versions may vary. | Juniper | Yes | No | No | | | Cisco | Yes | No | Yes | Only SSH password | | Alcatel | Yes | No | No | | -| Arista | No | No | No | | +| Arista | Yes | No | No | | | FRRouting | Yes | No | Yes | Only SSH key | | Bird2 | Yes | No | Yes | Only SSH key | | Quagga | Yes | No | No | | @@ -521,6 +521,35 @@ RP/0/RP0/CPU0:ios#sh bgp rpki table 1.1.1.0/24 24 13335 192.168.1.100 ``` +### Configure on Arista +``` +router bgp + rpki cache + host [vrf ] [port <1-65535>] # default port is 323 + local-interface + preference <1-10> # the lower the value, the more preferred + # default is 5 + refresh-interval <1-86400 seconds> # default is 3600 + expire-interval <600-172800 seconds> # default is 7200 + retry-interval <1-7200 seconds> # default is 600 +``` +If multiple caches are configured, the preference controls the priority. Caches which are more preferred will be connected to first, if they are not reachable then connections will be attempted to less preferred caches. If caches have the same preference value, they will all be connected to and the ROAs that are synced from them will be merged together. + +To visualize the state of the session: + +``` +show bgp rpki cache [] +show bgp rpki cache counters [errors] +show bgp rpki roa summary +``` + +To visualize the accepted PDUs: + +``` +show bgp rpki roa (ipv4|ipv6) [prefix] +``` + + ## License Licensed under the BSD 3 License. From 5e6faa509f99c251b7a4fa74f41f0894610f4c0b Mon Sep 17 00:00:00 2001 From: Arnaud Fenioux Date: Thu, 5 Nov 2020 18:53:09 +0100 Subject: [PATCH 2/2] Arista configuration example Arista configuration example with line breaks, but not sure it's actually better. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 81eb05e..bf19542 100644 --- a/README.md +++ b/README.md @@ -533,7 +533,9 @@ router bgp expire-interval <600-172800 seconds> # default is 7200 retry-interval <1-7200 seconds> # default is 600 ``` -If multiple caches are configured, the preference controls the priority. Caches which are more preferred will be connected to first, if they are not reachable then connections will be attempted to less preferred caches. If caches have the same preference value, they will all be connected to and the ROAs that are synced from them will be merged together. +If multiple caches are configured, the preference controls the priority. +Caches which are more preferred will be connected to first, if they are not reachable then connections will be attempted to less preferred caches. +If caches have the same preference value, they will all be connected to and the ROAs that are synced from them will be merged together. To visualize the state of the session: