This repository has been archived on 2024-04-29. You can view files and clone it, but cannot push or open issues or pull requests.
vyos-config/config-parts/protocols.sh

15 lines
661 B
Bash
Raw Normal View History

2023-03-29 13:30:45 -05:00
#!/bin/vbash
# BGP configuration
set protocols bgp neighbor 10.1.1.31 address-family ipv4-unicast
set protocols bgp neighbor 10.1.1.31 description 'gandalf'
set protocols bgp neighbor 10.1.1.31 remote-as '64512'
set protocols bgp neighbor 10.1.1.32 address-family ipv4-unicast
set protocols bgp neighbor 10.1.1.32 description 'glamdring'
set protocols bgp neighbor 10.1.1.32 remote-as '64512'
set protocols bgp neighbor 10.1.1.33 address-family ipv4-unicast
set protocols bgp neighbor 10.1.1.33 description 'shadowfax'
set protocols bgp neighbor 10.1.1.33 remote-as '64512'
2023-03-29 13:30:45 -05:00
set protocols bgp parameters router-id '10.1.0.1'
set protocols bgp system-as '64512'