Advertisement
Guest User

Untitled

a guest
Jul 31st, 2020
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. > vtysh
  2. > iix-kadabra-rc00# conf t
  3. > iix-kadabra-rc00(config)# route-map rpki permit 10
  4. > iix-kadabra-rc00(config-route-map)# match rpki invalid
  5. > iix-kadabra-rc00(config-route-map)# set local-preference 10
  6. > iix-kadabra-rc00(config-route-map)# !
  7. > iix-kadabra-rc00(config-route-map)# route-map rpki permit 20
  8. > iix-kadabra-rc00(config-route-map)# match rpki notfound
  9. > iix-kadabra-rc00(config-route-map)# set local-preference 20
  10. > iix-kadabra-rc00(config-route-map)# !
  11. > iix-kadabra-rc00(config-route-map)# route-map rpki permit 30
  12. > iix-kadabra-rc00(config-route-map)# match rpki valid
  13. > iix-kadabra-rc00(config-route-map)# set local-preference 30
  14. > iix-kadabra-rc00(config-route-map)# !
  15. > iix-kadabra-rc00(config-route-map)# route-map rpki permit 40
  16. > iix-kadabra-rc00(config-route-map)# end
  17. > iix-kadabra-rc00# wr mem
  18. Note: this version of vtysh never writes vtysh.conf
  19. Building Configuration...
  20. Integrated configuration saved to /etc/frr/frr.conf
  21. [OK]
  22. > show bgp ipv4 103.241.24.0/24
  23. BGP routing table entry for 103.241.24.0/24
  24. Paths: (3 available, best #3, table default)
  25. Not advertised to any peer
  26. 38515 58820
  27. 103.28.75.36 from 103.28.75.0 (103.28.75.0)
  28. Origin IGP, localpref 30, valid, internal
  29. Last update: Sat Aug 1 10:57:02 2020
  30. 38515 58820
  31. 103.28.75.36 from 103.28.74.255 (103.28.74.255)
  32. Origin IGP, localpref 30, valid, internal
  33. Last update: Sat Aug 1 10:57:02 2020
  34. 38515 58820
  35. 103.28.75.36 from 103.28.74.129 (103.28.74.127)
  36. Origin IGP, localpref 30, valid, internal, best (Router ID)
  37. Community: 38515:58820
  38. Last update: Sat Aug 1 10:57:02 2020
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement