summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/rpki.md
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-31 22:00:09 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-08-31 22:00:09 +0900
commit955409c37ce17daf346e30aa1d1e2d40767ebb43 (patch)
tree31fb0c026bf2f80c481efe13aea938965ff19469 /docs/sources/rpki.md
parent70a8399e0dab0d9ee4c11959721e48e87ef261c0 (diff)
rpki: support show the state of RPKI servers
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources/rpki.md')
-rw-r--r--docs/sources/rpki.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/sources/rpki.md b/docs/sources/rpki.md
index 834cb7aa..552b0c48 100644
--- a/docs/sources/rpki.md
+++ b/docs/sources/rpki.md
@@ -56,26 +56,28 @@ and get the ROA (Route Origin Authorization) information in the
following way:
```bash
-$ gobgp rpki|head -n4
+$ gobgp rpki server
+Session State Uptime #IPv4/IPv6 records
+210.173.170.254 Up 00:03:06 14823/2168
+```
+
+```bash
+$ gobgp rpki table 210.173.170.254|head -n4
Network Maxlen AS
2.0.0.0/12 16 3215
2.0.0.0/16 16 3215
2.1.0.0/16 16 3215
-$ gobgp rpki |wc -l
-14576
```
By default, IPv4's ROA information is shown. You can see IPv6's like:
```bash
-$ gobgp rpki -a ipv6|head -n4
+$ gobgp rpki -a ipv6 table 210.173.170.254|head -n4
fujita@ubuntu:~$ gobgp rpki -a ipv6|head -n3
Network Maxlen AS
2001:608::/32 32 5539
2001:610::/32 48 1103
2001:610:240::/42 42 3333
-$ gobgp rpki -a ipv6|wc -l
-2150
```
We configure the peer 10.0.255.1 to send three routes: