[Router A] router id 11.1.1.1
[Router A] ip route-static 9.0.0.0 255.0.0.0 null0
[Router A] bgp 100
[Router A-bgp] group ex external
[Router A-bgp] peer 1.1.1.2 group ex as-number 200
[Router A-bgp] import-route static
RouterB配置脚本
[Router B] router id 12.1.1.1
[Router B] ip route-static 9.0.0.0 255.0.0.0 null0
[Router B] bgp 100
[Router B-bgp] group ex external
[Router B-bgp] peer 2.1.1.2 group ex as-number 200
[Router B-bgp] import-route static
RouterC配置脚本
[Router C] bgp 200
[Router C-bgp] group ex external
[Router C-bgp] peer ex as-number 100
[Router C-bgp] peer 1.1.1.1 group ex
[Router C-bgp] peer 2.1.1.1 group ex
[Router C-bgp] group in internal
[Router C-bgp] peer 3.1.1.2 group in
RouterD配置脚本
[Router D] bgp 200
[Router D-bgp] group in internal
[Router D-bgp] peer 3.1.1.1 group in