19: Configuring BGP (Border Gateway Protocol)
_______________________________________________________________________________________________________
_______________________________________________________________________________________________________
© Virtual Access 2018
GW1000 Series User Manual
Issue: 2.3
Page 168 of 463
bgpd.ROUTEMAP=routemap
bgpd.ROUTEMAP.order=10
bgpd.ROUTEMAP.permit=yes
bgpd.ROUTEMAP.match_type=ip address
bgpd.ROUTEMAP.match=192.168.101.1/32
bgpd.ROUTEMAP.set_type=ip next-hop
bgpd.ROUTEMAP.set='192.168.101.2/32'
To change any of the above values use UCI
set
command.
19.3.2
Configuring BGP using packages options
root@VA_router:~# uci export bgpd
package bgpd
config routing 'bgpd'
option enabled 'yes'
option router_id '3.3.3.3'
option asn '1'
list network '11.11.11.0/29'
list network '192.168.103.1/32'
config peer
option route_map_in 'yes'
option ipaddr '11.11.11.1'
option asn '1'
option route_map 'ROUTEMAP'
option ipv6 ‘0’
option next_hop_self ‘0’
option holdtime_sec ‘0’
option keepalive_sec ‘0’
option connect_sec ‘0’
config routemap 'ROUTEMAP'
option order '10'
option permit 'yes'