81 lines
2.1 KiB
Plaintext
81 lines
2.1 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/bird6.conf
|
|
|
|
option UCI_config_file '/tmp/bird6.conf'
|
|
#If you enable useUCIconfig, UCIconfigFile will be Bird's
|
|
#configuration file location.
|
|
|
|
config global 'global'
|
|
option log_file '/tmp/bird6.log'
|
|
option log 'all'
|
|
option debug 'off'
|
|
option router_id 'fc00::1:5'
|
|
option listen_bgp_addr 'fc00::1:5'
|
|
option listen_bgp_port '179'
|
|
option listen_bgp_dual '1'
|
|
|
|
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 'fc00::1:5'
|
|
option neighbor_as '65530'
|
|
option next_hop_self '0'
|
|
option next_hop_keep '0'
|
|
option rr_client '1'
|
|
option rr_cluster_id 'fc00::1:5'
|
|
|
|
config bgp_template bgp_common
|
|
option table 'aux'
|
|
option import 'all'
|
|
option export 'all'
|
|
option local_address '2001:B30:1000:19::2'
|
|
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 '2001:db8:0:f103::/64'
|
|
option via 'fe80::225:90ff:fe97:a718'
|
|
|
|
config route
|
|
option instance 'static1'
|
|
option type 'special'
|
|
option prefix '2001:db8:0:f101::/128'
|
|
option attribute 'unreachable'
|
|
|
|
config route
|
|
option instance 'static1'
|
|
option type 'iface'
|
|
option prefix '2001:db8:0:f101::1111/128'
|
|
option iface 'eth0'
|