68 lines
1.7 KiB
Plaintext
68 lines
1.7 KiB
Plaintext
config bird 'bird'
|
|
option use_UCI_config '1'
|
|
#Caution! Enabling this option, Bird will translate this
|
|
#UCI file and use it instead of /etc/bird4.conf
|
|
option UCI_config_file '/tmp/bird4.conf'
|
|
#If you enable useUCIconfig, UCIconfigFile will be Bird's
|
|
#configuration file location.
|
|
|
|
config global 'global'
|
|
option log_file '/tmp/bird4.log'
|
|
option log 'all'
|
|
option debug 'off'
|
|
option router_id '172.16.1.6'
|
|
|
|
config table
|
|
option name 'aux'
|
|
|
|
config kernel kernel1
|
|
option table 'aux'
|
|
option import 'all'
|
|
option export 'all'
|
|
option kernel_table '100'
|
|
option scan_time '10'
|
|
option learn '1'
|
|
option persist '0'
|
|
option disabled '0'
|
|
|
|
config device device1
|
|
option scan_time '10'
|
|
option disabled '0'
|
|
|
|
config static static1
|
|
option table 'aux'
|
|
option disabled '0'
|
|
|
|
config bgp bgp1
|
|
option template 'bgp_common'
|
|
option description 'Description of the BGP instance'
|
|
option neighbor_address '172.16.1.5'
|
|
option neighbor_as '65530'
|
|
option source_address '172.16.1.6'
|
|
option next_hop_self '0'
|
|
option next_hop_keep '0'
|
|
option rr_client '1'
|
|
option rr_cluster_id '172.16.1.6'
|
|
|
|
config bgp_template bgp_common
|
|
option table 'aux'
|
|
option import 'all'
|
|
option export 'all'
|
|
option local_address '172.16.1.6'
|
|
option local_as '65001'
|
|
option import_limit '100'
|
|
option import_limit_action 'warn'
|
|
option export_limit '100'
|
|
option export_limit_action 'warn'
|
|
option receive_limit '100'
|
|
option receive_limit_action 'warn'
|
|
option disabled '0'
|
|
|
|
config route
|
|
option instance 'static1'
|
|
option type 'router'
|
|
option prefix '192.168.9.0/24'
|
|
option via '10.99.105.159'
|
|
|
|
|