#configure terminal | Enter the Configure mode. |
(config)#router bgp 100 | Assign the ASN value (100) to the BGP router. |
(config-router)#bgp router-id 2.2.2.2 | Configure a fixed Router ID (2.2.2.2). |
(config-router)#neighbor 30.30.30.9 remote-as 100 | Configure neighbor 30.30.30.9 for iBGP. |
(config-router)# address-family ipv4 unicast | .Under address family, Redistribute the static routes. |
(config-router-af)#redistribute static | Redistribute the static routes. |
config-router-af)# neighbor 30.30.30.9 activate | Activate the neighbor |
(config-router-af)#exit-address-family | Exit address-family mode. |
(config-router)#exit | Exit the BGP Router mode and return to the Configure mode. |
(config)#ip route 88.88.0.0/16 Null | Configure static route. |
(config)#commit | Commit the candidate configuration to the running configuration. |
#configure terminal | Enter the Configure mode. |
(config)#router bgp 100 | Assign the ASN value (100) to the BGP router. |
(config-router)#bgp router-id 4.4.4.4 | Configure a fixed Router ID (4.4.4.4). |
(config-router)#neighbor 40.40.40.9 remote-as 100 | Configure neighbor 40.40.40.9 for iBGP. |
(config-router)# address-family ipv4 unicast | Enter address-family ipv4 unicast mode |
(config-router-af)#redistribute static | Redistribute the static routes. |
config-router-af)# neighbor 40.40.40.9 activate | Activate the neighbor |
(config-router-af)#exit-address-family | Exit address-family mode |
(config-router)#exit | Exit the BGP Router mode and return to the Configure mode. |
(config)#ip route 88.88.0.0/16 Null | Configure static route. |
(config)#commit | Commit the candidate configuration to the running configuration. |
#configure terminal | Enter the Configure mode. |
(config)#router bgp 100 | Assign the ASN value (100) to the BGP router. |
(config-router)#bgp router-id 6.6.6.6 | Configure a fixed Router ID (6.6.6.6). |
(config-router)#neighbor 50.50.50.9 remote-as 100 | Configure neighbor 50.50.50.9 for iBGP. |
(config-router)# address-family ipv4 unicast | Enter address-family ipv4 unicast mode |
(config-router-af)#redistribute static | Redistribute the static routes. |
config-router-af)# neighbor 50.50.50.9 activate | Activate the neighbor |
(config-router-af)#exit-address-family | Exit address-family mode |
(config-router)#exit | Exit the BGP Router mode and return to the Configure mode. |
(config)#ip route 88.88.0.0/16 Null | Configure static route. |
(config-router)#commit | Commit the candidate configuration to the running configuration. |
#configure terminal | Enter the Configure mode. |
(config)#router bgp 100 | Assign the ASN value (100) to the BGP router. |
(config)#bgp router-id 9.9.9.9 | Configure a fixed Router ID (9.9.9.9). |
(config-router)#neighbor 30.30.30.2 remote-as 100 | Configure neighbor 30.30.30.2 for iBGP. |
(config-router)#neighbor 40.40.40.4 remote-as 100 | Configure neighbor 40.40.40.4 for iBGP. |
(config-router)#neighbor 50.50.50.6 remote-as 100 | Configure neighbor 50.50.50.6 for iBGP. |
(config-router)#address-family ipv4 unicast | Enter address-family ipv4 unicast mode |
config-router-af)# neighbor 30.30.30.2 activate | Activate the neighbor |
config-router-af)# neighbor 40.40.40.4 activate | Activate the neighbor |
config-router-af)# neighbor 50.50.50.6 activate | Activate the neighbor |
config-router-af)# max-paths ibgp 2 | Configure iBGP max-paths (2). |
(config-router-af)#exit-address-family | Exit address-family mode |
(config-router)#commit | Commit the candidate configuration to the running configuration. |