
Riverstone Networks RS Switch Router User Guide Release 8.0 16-39
BGP Configuration Guide BGP Configuration Examples
In Figure 16-11, R11 and R12 are included in AS 64707, which is a sub-AS of the confederation with the AS number
64705. R11 has the following CLI configuration.
R12 has the following CLI configuration:
ip-router global set router-id 186.1.1.1
ip-router global set autonomous-system 64707
ip-router global set confederation-id 64705
ip-router global set trace-state on
ospf create area backbone
ospf add interface all to-area backbone
ospf start
/jointfilesconvert/1309226/bgp create peer-group rtr10 type external autonomous-system 64706
/jointfilesconvert/1309226/bgp create peer-group rtr12 type routing autonomous-system 64707
/jointfilesconvert/1309226/bgp add peer-host 172.16.223.1 group rtr10
/jointfilesconvert/1309226/bgp add peer-host 172.16.224.2 group rtr12
/jointfilesconvert/1309226/bgp set peer-group rtr12 confederation
/jointfilesconvert/1309226/bgp set peer-group rtr10 confederation
/jointfilesconvert/1309226/bgp set peer-host 172.16.223.1 group rtr10 multihop
/jointfilesconvert/1309226/bgp set peer-group rtr10
/jointfilesconvert/1309226/bgp start
ip-router policy redistribute from-proto /jointfilesconvert/1309226/bgp source-as 64706 to-proto /jointfilesconvert/1309226/bgp
target-as 64707
ip-router global set router-id 172.16.71.2
ip-router global set autonomous-system 64707
ip-router global set confederation-id 64705
ospf create area backbone
ospf add interface all to-area backbone
ospf start
/jointfilesconvert/1309226/bgp create peer-group rtr11 type routing autonomous-system 64707
/jointfilesconvert/1309226/bgp create peer-group rtr13 type external autonomous-system 64902
/jointfilesconvert/1309226/bgp add peer-host 172.16.224.1 group rtr11
/jointfilesconvert/1309226/bgp add peer-host 172.16.225.2 group rtr13
/jointfilesconvert/1309226/bgp set peer-group rtr11 confederation
/jointfilesconvert/1309226/bgp start
ip-router policy redistribute from-proto /jointfilesconvert/1309226/bgp source-as 64707 to-proto /jointfilesconvert/1309226/bgp
target-as 64902 network 3.0.0.0/8
Comentários a estes Manuais