Advertisement
Ilya_Bykonya

Untitled

Oct 10th, 2022
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. /routing bgp instance
  2. set default disabled=yes
  3. add as=400 name=AS-400 redistribute-connected=yes router-id=13.1.2.101
  4. /ip address
  5. add address=13.1.2.101/24 interface=ether1 network=13.1.2.0
  6. add address=13.1.6.101/24 interface=ether2 network=13.1.6.0
  7. add address=13.1.5.101/24 interface=ether3 network=13.1.5.0
  8. add address=13.1.8.101/24 interface=ether4 network=13.1.8.0
  9. add address=13.1.9.101/24 interface=ether5 network=13.1.9.0
  10. /routing bgp network
  11. add network=13.1.2.0/24
  12. add network=13.1.5.0/24
  13. add network=13.1.6.0/24
  14. add network=13.1.8.0/24
  15. add network=13.1.9.0/24
  16. /routing bgp peer
  17. add in-filter=bgp-in instance=AS-400 name=peer1 remote-address=13.1.2.102 \
  18. remote-as=400
  19. add in-filter=bgp-in instance=AS-400 name=peer2 remote-address=13.1.5.15 \
  20. remote-as=400 route-reflect=yes
  21. add in-filter=bgp-in instance=AS-400 name=peer3 remote-address=13.1.6.28 \
  22. remote-as=400 route-reflect=yes
  23. add in-filter=bgp-in instance=AS-400 name=peer4 remote-address=13.1.8.23 \
  24. remote-as=400 route-reflect=yes
  25. add in-filter=bgp-in instance=AS-400 name=peer5 remote-address=13.1.9.33 \
  26. remote-as=400 route-reflect=yes
  27. /routing filter
  28. add chain=bgp-in set-target-scope=255
  29. /system identity
  30. set name=M-iBGP-101
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement