VyOS Support BGP RPKI Command ?
I’m also interested about that
Should it be possible to see origin validity state of bgp received routes with command “show ip bgp x.x.x.x/y” or to see bgp rpki database?
Running Vyos 1.2.3 and rpki is set up and running.
Hello @mikket
To display the rpki-database, you can use:
vtysh -c "show rpki prefix
vtysh -c "show rpki prefix-table"
Also you can set policy route-map with different local-preference match validation:
route-map rpki {
rule 10 {
action permit
match {
rpki valid
}
set {
local-preference 300
}
}
rule 20 {
action permit
match {
rpki notfound
}
set {
local-preference 125
}
}
rule 30 {
action permit
match {
rpki invalid
}
set {
local-preference 50
}
}
}
And
show ip bgp
show ip bgp x.x.x.x/24
Network Next Hop Metric LocPrf Weight Path
*>ixxx.xxx.3.0/24 xxx.xxx.192.2 0 125 0 i
*>ixxx.xxx.96.0/24 xxx.xxx.192.2 0 50 0 i
*>ixxx.xxx.115.0/24 xxx.xxx.192.2 0 300 0 i