Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. root@vsrx1> show configuration interfaces
  2. ge-0/0/0 {
  3. unit 0 {
  4. family inet {
  5. dhcp;
  6. }
  7. }
  8. }
  9. lo0 {
  10. unit 0 {
  11. family inet {
  12. address 10.0.0.1/24;
  13. }
  14. }
  15. unit 1 {
  16. family inet {
  17. address 10.123.123.1/32;
  18. }
  19. }
  20. }
  21.  
  22. root@vsrx1> show configuration routing-instances
  23. mgmt-loopback {
  24. instance-type virtual-router;
  25. interface lo0.1;
  26. routing-options {
  27. static {
  28. route 0.0.0.0/0 next-table inet.0;
  29. }
  30. }
  31. }
  32.  
  33. root@vsrx1> show configuration policy-options
  34. policy-statement mgmt-loopback-host-route {
  35. term inet {
  36. from {
  37. instance mgmt-loopback;
  38. family inet;
  39. route-filter 10.123.123.1/32 exact;
  40. }
  41. then accept;
  42. }
  43. term reject {
  44. then reject;
  45. }
  46. }
  47.  
  48. root@vsrx1> show configuration routing-options
  49. instance-import mgmt-loopback-host-route;
  50.  
  51. root@vsrx1>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement