Four categories of attributes exist are as follows:-
- Well-known mandatory
- Well-known discretionary
- Optional transitive
- Optional non-transitive
- configure the topology as per the diagram
- configure IP addresses as per the topology
- configure IGP EIGRP AS 100
- advertise directly connected routes and loopbacks
- make sure all three routers exchange the EIGRP routes
- configure BGP AS 65111 to advertise directly connected routes
- configure peer group name (cisco) password internetworks
- configure EBGP between router 2 and 7.
- verify the configuration.
PART-1 (PEER GROUP)
R1-65111(config)#interface serial 5/0
R1-65111(config-if)#ip address 12.1.1.1 255.0.0.0
R1-65111(config-if)#no shutdown
R1-65111(config-if)#exit
R1-65111(config-if)#ip address 31.1.1.2 255.0.0.0
R1-65111(config-if)#no shutdown
R1-65111(config-if)#exit
R1-65111(config-if)#ip address 10.1.1.1 255.0.0.0
R1-65111(config-if)#no shutdown
R1-65111(config-if)#no keepalive
R1-65111(config-if)#exit
R1-65111(config-if)#ip address 11.1.1.1 255.255.255.0
R1-65111(config-if)#exit
R1-65111(config-if)#ip address 11.1.2.1 255.255.255.0
R1-65111(config-if)#exit
R1-65111(config-if)#ip address 11.1.3.1 255.255.255.0
R1-65111(config-if)#exit
R1-65111(config-if)#ip address 11.1.4.1 255.255.255.0
R1-65111(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.1.1.1 YES manual up up
Serial5/0 12.1.1.1 YES manual up up
Serial5/2 31.1.1.2 YES manual up up
Loopback1 11.1.1.1 YES manual up up
Loopback2 11.1.2.1 YES manual up up
Loopback3 11.1.3.1 YES manual up up
Loopback4 11.1.4.1 YES manual up up
R2-65111(config-if)#ip address 12.1.1.2 255.0.0.0
R2-65111(config-if)#no shutdown
R2-65111(config-if)#exit
R2-65111(config-if)#ip address 23.1.1.1 255.0.0.0
R2-65111(config-if)#no shutdown
R2-65111(config-if)#exit
R2-65111(config-if)#ip address 20.1.1.1 255.0.0.0
R2-65111(config-if)#no shutdown
R2-65111(config-if)#no keepalive
R2-65111(config-if)#exit
R2-65111(config-if)#ip address 22.1.1.1 255.255.255.0
R2-65111(config-if)#exit
R2-65111(config-if)#ip address 22.1.2.1 255.255.255.0
R2-65111(config-if)#exit
R2-65111(config-if)#ip address 22.1.3.1 255.255.255.0
R2-65111(config-if)#exit
R2-65111(config-if)#ip address 22.1.4.1 255.255.255.0
R2-65111(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 20.1.1.1 YES manual up up
Serial5/0 12.1.1.2 YES manual up up
Serial5/1 23.1.1.1 YES manual up up
Serial6/0 27.1.1.1 YES manual up down
Loopback1 22.1.1.1 YES manual up up
Loopback2 22.1.2.1 YES manual up up
Loopback3 22.1.3.1 YES manual up up
Loopback4 22.1.4.1 YES manual up up
R3-65111(config-if)#ip address 31.1.1.1 255.0.0.0
R3-65111(config-if)#no shutdown
R3-65111(config-if)#exit
R3-65111(config-if)#ip address 23.1.1.2 255.0.0.0
R3-65111(config-if)#no shutdown
R3-65111(config-if)#exit
R3-65111(config-if)#ip address 30.1.1.1 255.0.0.0
R3-65111(config-if)#no shutdown
R3-65111(config-if)#no keepalive
R3-65111(config-if)#exit
R3-65111(config-if)#ip address 33.1.1.1 255.255.255.0
R3-65111(config-if)#exit
R3-65111(config-if)#ip address 33.1.2.1 255.255.255.0
R3-65111(config-if)#exit
R3-65111(config-if)#ip address 33.1.3.1 255.255.255.0
R3-65111(config-if)#exit
R3-65111(config-if)#ip address 33.1.4.1 255.255.255.0
R3-65111(config-if)#exit
R3-65111#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 30.1.1.1 YES manual up up
Serial5/1 23.1.1.2 YES manual up up
Serial5/2 31.1.1.1 YES manual up up
Loopback1 33.1.1.1 YES manual up up
Loopback2 33.1.2.1 YES manual up up
Loopback3 33.1.3.1 YES manual up up
Loopback4 33.1.4.1 YES manual up up
R1-65111(config-router)#network 10.0.0.0
R1-65111(config-router)#network 12.0.0.0
R1-65111(config-router)#network 31.0.0.0
R1-65111(config-router)#network 11.1.1.0
R1-65111(config-router)#network 11.1.2.0
R1-65111(config-router)#network 11.1.3.0
R1-65111(config-router)#network 11.1.4.0
R1-65111(config-router)#no auto-summary
R1-65111(config-router)#exit
*Oct 25 09:16:24.171: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 12.1.1.2 (Serial5/0) is up: new adjacency
*Oct 25 09:17:07.495: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 31.1.1.1 (Serial5/2) is up: new adjacency
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 31.1.1.1 Se5/2 11 00:01:13 67 402 0 12
0 12.1.1.2 Se5/0 13 00:01:56 63 378 0 11
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
D 33.1.1.0 [90/2297856] via 31.1.1.1, 00:00:32, Serial5/2
D 33.1.2.0 [90/2297856] via 31.1.1.1, 00:00:32, Serial5/2
D 33.1.3.0 [90/2297856] via 31.1.1.1, 00:00:32, Serial5/2
D 33.1.4.0 [90/2297856] via 31.1.1.1, 00:00:32, Serial5/2
D 20.0.0.0/8 [90/2172416] via 12.1.1.2, 00:00:32, Serial5/0
D 23.0.0.0/8 [90/2681856] via 31.1.1.1, 00:00:32, Serial5/2
[90/2681856] via 12.1.1.2, 00:00:32, Serial5/0
22.0.0.0/24 is subnetted, 4 subnets
D 22.1.4.0 [90/2297856] via 12.1.1.2, 00:00:32, Serial5/0
D 22.1.3.0 [90/2297856] via 12.1.1.2, 00:00:32, Serial5/0
D 22.1.2.0 [90/2297856] via 12.1.1.2, 00:00:32, Serial5/0
D 22.1.1.0 [90/2297856] via 12.1.1.2, 00:00:32, Serial5/0
C 10.0.0.0/8 is directly connected, FastEthernet0/0
11.0.0.0/24 is subnetted, 4 subnets
C 11.1.2.0 is directly connected, Loopback2
C 11.1.3.0 is directly connected, Loopback3
C 11.1.1.0 is directly connected, Loopback1
C 11.1.4.0 is directly connected, Loopback4
C 12.0.0.0/8 is directly connected, Serial5/0
C 31.0.0.0/8 is directly connected, Serial5/2
D 30.0.0.0/8 [90/2172416] via 31.1.1.1, 00:00:33, Serial5/2
R1-65111(config-router)#neighbor cisco peer-group
R1-65111(config-router)#neighbor cisco remote-as 65111
R1-65111(config-router)#neighbor cisco update-source loopback 1
R1-65111(config-router)#neighbor cisco version 4
R1-65111(config-router)#neighbor cisco password internetworks
R1-65111(config-router)#neighbor 22.1.1.1 peer-group cisco
R1-65111(config-router)#neighbor 33.1.1.1 peer-group cisco
R1-65111(config-router)#network 10.0.0.0
R1-65111(config-router)#network 11.1.1.0 mask 255.255.255.0
R1-65111(config-router)#network 11.1.2.0 mask 255.255.255.0
R1-65111(config-router)#network 11.1.3.0 mask 255.255.255.0
R1-65111(config-router)#network 11.1.4.0 mask 255.255.255.0
R1-65111(config-router)#no auto-summary
R1-65111(config-router)#no synchronization
R1-65111(config-router)#end
*Oct 25 09:34:25.323: %BGP-5-ADJCHANGE: neighbor 33.1.1.1 Up
BGP table version is 26, local router ID is 11.1.4.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
*> 10.0.0.0 0.0.0.0 0 32768 i
*> 11.1.1.0/24 0.0.0.0 0 32768 i
*> 11.1.2.0/24 0.0.0.0 0 32768 i
*> 11.1.3.0/24 0.0.0.0 0 32768 i
*> 11.1.4.0/24 0.0.0.0 0 32768 i
r>i20.0.0.0 22.1.1.1 0 100 0 i
r>i22.1.1.0/24 22.1.1.1 0 100 0 i
r>i22.1.2.0/24 22.1.1.1 0 100 0 i
r>i22.1.3.0/24 22.1.1.1 0 100 0 i
r>i22.1.4.0/24 22.1.1.1 0 100 0 i
r>i30.0.0.0 33.1.1.1 0 100 0 i
r>i33.1.1.0/24 33.1.1.1 0 100 0 i
r>i33.1.2.0/24 33.1.1.1 0 100 0 i
r>i33.1.3.0/24 33.1.1.1 0 100 0 i
r>i33.1.4.0/24 33.1.1.1 0 100 0 I
BGP router identifier 11.1.4.1, local AS number 65111
BGP table version is 26, main routing table version 26
15 network entries using 1755 bytes of memory
15 path entries using 780 bytes of memory
3/2 BGP path/bestpath attribute entries using 372 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 2907 total bytes of memory
BGP activity 15/0 prefixes, 15/0 paths, scan interval 60 secs
22.1.1.1 4 65111 17 16 26 0 0 00:08:58 5
33.1.1.1 4 65111 16 16 26 0 0 00:07:42 5
R2-65111(config-router)#neighbor cisco peer-group
R2-65111(config-router)#neighbor cisco remote-as 65111
R2-65111(config-router)#neighbor cisco update-source loopback 1
R2-65111(config-router)#neighbor cisco version 4
R2-65111(config-router)#neighbor cisco password internetworks
R2-65111(config-router)#neighbor 11.1.1.1 peer-group cisco
R2-65111(config-router)#neighbor 33.1.1.1 peer-group cisco
R2-65111(config-router)#network 20.0.0.0
R2-65111(config-router)#network 22.1.1.0 mask 255.255.255.0
R2-65111(config-router)#network 22.1.2.0 mask 255.255.255.0
R2-65111(config-router)#network 22.1.3.0 mask 255.255.255.0
R2-65111(config-router)#network 22.1.4.0 mask 255.255.255.0
R2-65111(config-router)#no auto-summary
R2-65111(config-router)#no synchronization
R2-65111(config-router)#end
*Oct 25 09:33:43.111: %BGP-5-ADJCHANGE: neighbor 33.1.1.1 Up
R3-65111(config-router)#neighbor cisco peer-group
R3-65111(config-router)#neighbor cisco remote-as 65111
R3-65111(config-router)#neighbor cisco update-source loopback 1
R3-65111(config-router)#neighbor cisco version 4
R3-65111(config-router)#neighbor cisco password internetworks
R3-65111(config-router)#neighbor 11.1.1.1 peer-group cisco
R3-65111(config-router)#neighbor 22.1.1.1 peer-group cisco
R3-65111(config-router)#network 30.0.0.0
R3-65111(config-router)#network 33.1.1.0 mask 255.255.255.0
R3-65111(config-router)#network 33.1.2.0 mask 255.255.255.0
R3-65111(config-router)#network 33.1.3.0 mask 255.255.255.0
R3-65111(config-router)#network 33.1.4.0 mask 255.255.255.0
R3-65111(config-router)#no auto-summary
R3-65111(config-router)#no synchronization
R3-65111(config-router)#end
*Oct 25 09:28:25.663: %BGP-5-ADJCHANGE: neighbor 11.1.1.1 Up
BGP peer-group is cisco, remote AS 65111
BGP version 4
Default minimum time between advertisement runs is 0 seconds
BGP neighbor is cisco, peer-group internal, members:
22.1.1.1 33.1.1.1
Index 0, Offset 0, Mask 0x0
Update messages formatted 0, replicated 0
Number of NLRIs in the update sent: max 0, min 0
Topology: PART TWO WEIGHT ATTRIBUTE
- configure the topology as per the diagram
- configure the IP addresses as per the topology
- configure BGP in AS65222 AS65333 AS 65444 advertise directly connected interfaces
- configure EBGP between router 2 and router 7/ router 6 and router 8
- configure BGP next-hop in AS65222
- configure BGP weight 20000 on router 7
- make sure to reach 66.1.1.1 network from router 7 should use 74.1.1.2 via AS 65222
- make sure all the routers in AS 65222 65333 65444 65111 exchange routes and can ping
R4-65222(config-if)#ip address 45.1.1.1 255.0.0.0
R4-65222(config-if)#no shutdown
R4-65222(config-if)#exit
R4-65222(config)#interface serial 5/3
R4-65222(config-if)#ip address 74.1.1.2 255.0.0.0
R4-65222(config-if)#no shutdown
R4-65222(config-if)#exit
R4-65222(config)#interface fastethernet 0/0
R4-65222(config-if)#ip address 40.1.1.1 255.0.0.0
R4-65222(config-if)#no shutdown
R4-65222(config-if)#no keepalive
R4-65222(config-if)#exit
R4-65222(config-if)#ip address 44.1.1.1 255.255.255.0
R4-65222(config-if)#exit
R4-65222(config)#interface loopback 2
R4-65222(config-if)#ip address 44.1.2.1 255.255.255.0
R4-65222(config-if)#exit
R4-65222(config)#interface loopback 3
R4-65222(config-if)#ip address 44.1.3.1 255.255.255.0
R4-65222(config-if)#exit
R4-65222(config)#interface loopback 4
R4-65222(config-if)#ip address 44.1.4.1 255.255.255.0
R4-65222(config-if)#exit
R4-65222#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 40.1.1.1 YES manual up up
Serial5/0 45.1.1.1 YES manual up up
Serial5/3 74.1.1.2 YES manual up up
Loopback1 44.1.1.1 YES manual up up
Loopback2 44.1.2.1 YES manual up up
Loopback3 44.1.3.1 YES manual up up
Loopback4 44.1.4.1 YES manual up up
R5-65222(config-if)#ip address 45.1.1.2 255.0.0.0
R5-65222(config-if)#no shutdown
R5-65222(config-if)#exit
R5-65222(config)#interface serial 5/1
R5-65222(config-if)#ip address 56.1.1.1 255.0.0.0
R5-65222(config-if)#no shutdown
R5-65222(config-if)#exit
R5-65222(config-if)#ip address 50.1.1.1 255.0.0.0
R5-65222(config-if)#no shutdown
R5-65222(config-if)#no keepalive
R5-65222(config-if)#exit
R5-65222(config-if)#ip address 55.1.1.1 255.255.255.0
R5-65222(config-if)#exit
R5-65222(config)#interface loopback 2
R5-65222(config-if)#ip address 55.1.2.1 255.255.255.0
R5-65222(config-if)#exit
R5-65222(config)#interface loopback 3
R5-65222(config-if)#ip address 55.1.3.1 255.255.255.0
R5-65222(config-if)#exit
R5-65222(config)#interface loopback 4
R5-65222(config-if)#ip address 55.1.4.1 255.255.255.0
R5-65222(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 50.1.1.1 YES manual up up
Serial5/0 45.1.1.2 YES manual up up
Serial5/1 56.1.1.1 YES manual up up
Loopback1 55.1.1.1 YES manual up up
Loopback2 55.1.2.1 YES manual up up
Loopback3 55.1.3.1 YES manual up up
Loopback4 55.1.4.1 YES manual up up
R6-65333(config-if)#ip address 56.1.1.2 255.0.0.0
R6-65333(config-if)#no shutdown
R6-65333(config-if)#exit
R6-65333(config)#interface serial 5/2
R6-65333(config-if)#no shutdown
R6-65333(config-if)#exit
R6-65333(config-if)#ip address 60.1.1.1 255.0.0.0
R6-65333(config-if)#no shutdown
R6-65333(config-if)#no keepalive
R6-65333(config-if)#exit
R6-65333(config-if)#ip address 66.1.1.1 255.255.255.0
R6-65333(config-if)#exit
R6-65333(config)#interface loopback 2
R6-65333(config-if)#ip address 66.1.2.1 255.255.255.0
R6-65333(config-if)#exit
R6-65333(config)#interface loopback 3
R6-65333(config-if)#ip address 66.1.3.1 255.255.255.0
R6-65333(config-if)#exit
R6-65333(config)#interface loopback 4
R6-65333(config-if)#ip address 66.1.4.1 255.255.255.0
R6-65333(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 60.1.1.1 YES manual up up
Serial5/1 56.1.1.2 YES manual up up
Serial5/2 67.1.1.1 YES manual up up
Loopback1 66.1.1.1 YES manual up up
Loopback2 66.1.2.1 YES manual up up
Loopback3 66.1.3.1 YES manual up up
Loopback4 66.1.4.1 YES manual up up
R7-65444(config-if)#ip address 67.1.1.2 255.0.0.0
R7-65444(config-if)#no shutdown
R7-65444(config-if)#exit
R7-65444(config-if)#ip address 74.1.1.1 255.0.0.0
R7-65444(config-if)#no shutdown
R7-65444(config-if)#exit
R7-65444(config)#interface serial 6/0
R7-65444(config-if)#no shutdown
R7-65444(config-if)#exit
R7-65222(config-if)#ip address 70.1.1.1 255.0.0.0
R7-65222(config-if)#no shutdown
R7-65222(config-if)#no keepalive
R7-65222(config-if)#exit
R7-65444(config-if)#ip address 77.1.1.1 255.255.255.0
R7-65444(config-if)#exit
R7-65444(config)#interface loopback 2
R7-65444(config-if)#ip address 77.1.2.1 255.255.255.0
R7-65444(config-if)#exit
R7-65444(config)#interface loopback 3
R7-65444(config-if)#ip address 77.1.3.1 255.255.255.0
R7-65444(config-if)#exit
R7-65444(config)#interface loopback 4
R7-65444(config-if)#ip address 77.1.4.1 255.255.255.0
R7-65444(config-if)#exit
R7-65444(config)#
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 70.1.1.1 YES manual up up
Serial5/2 67.1.1.2 YES manual up up
Serial5/3 74.1.1.1 YES manual up up
Serial6/0 27.1.1.2 YES manual up up
Loopback1 77.1.1.1 YES manual up up
Loopback2 77.1.2.1 YES manual up up
Loopback3 77.1.3.1 YES manual up up
Loopback4 77.1.4.1 YES manual up up
R4-65222(config-router)#neighbor 45.1.1.2 remote-as 65222
R4-65222(config-router)#neighbor 74.1.1.1 remote-as 65444
R4-65222(config-router)#neighbor 45.1.1.2 next-hop-self
R4-65222(config-router)#network 40.0.0.0
R4-65222(config-router)#network 45.0.0.0
R4-65222(config-router)#network 74.0.0.0
R4-65222(config-router)#network 44.1.1.0 mask 255.255.255.0
R4-65222(config-router)#network 44.1.2.0 mask 255.255.255.0
R4-65222(config-router)#network 44.1.3.0 mask 255.255.255.0
R4-65222(config-router)#network 44.1.4.0 mask 255.255.255.0
R4-65222(config-router)#no auto-summary
R4-65222(config-router)#no synchronization
R4-65222(config-router)#exit
*Oct 25 12:44:12.475: %BGP-5-ADJCHANGE: neighbor 74.1.1.1 Up
R5-65222(config-router)#neighbor 45.1.1.1 remote-as 65222
R5-65222(config-router)#neighbor 56.1.1.2 remote-as 65333
R5-65222(config-router)#neighbor 45.1.1.1 next-hop-self
R5-65222(config-router)#network 50.0.0.0
R5-65222(config-router)#network 45.0.0.0
R5-65222(config-router)#network 56.0.0.0
R5-65222(config-router)#network 55.1.1.0 mask 255.255.255.0
R5-65222(config-router)#network 55.1.2.0 mask 255.255.255.0
R5-65222(config-router)#network 55.1.3.0 mask 255.255.255.0
R5-65222(config-router)#network 55.1.4.0 mask 255.255.255.0
R5-65222(config-router)#no auto-summary
R5-65222(config-router)#no synchronization
R5-65222(config-router)#exit
*Oct 25 12:41:08.903: %BGP-5-ADJCHANGE: neighbor 56.1.1.2 Up
R6-65333(config-router)#neighbor 67.1.1.2 remote-as 65444
R6-65333(config-router)#neighbor 56.1.1.1 remote-as 65222
R6-65333(config-router)#network 60.0.0.0
R6-65333(config-router)#network 74.0.0.0
R6-65333(config-router)#network 56.0.0.0
R6-65333(config-router)#network 66.1.1.0 mask 255.255.255.0
R6-65333(config-router)#network 66.1.2.0 mask 255.255.255.0
R6-65333(config-router)#network 66.1.3.0 mask 255.255.255.0
R6-65333(config-router)#network 66.1.4.0 mask 255.255.255.0
R6-65333(config-router)#no auto-summary
R6-65333(config-router)#no synchronization
R6-65333(config-router)#exit
*Oct 25 12:40:08.759: %BGP-5-ADJCHANGE: neighbor 56.1.1.1 Up
*Oct 25 12:42:19.959: %BGP-5-ADJCHANGE: neighbor 67.1.1.2 Up
R7-65444(config-router)#neighbor 74.1.1.2 remote-as 65222
R7-65444(config-router)#neighbor 67.1.1.1 remote-as 65333
R7-65444(config-router)#neighbor 27.1.1.1 remote-as 65111
R7-65444(config-router)#network 70.0.0.0
R7-65444(config-router)#network 74.0.0.0
R7-65444(config-router)#network 67.0.0.0
R7-65444(config-router)#network 77.1.1.0 mask 255.255.255.0
R7-65444(config-router)#network 77.1.2.0 mask 255.255.255.0
R7-65444(config-router)#network 77.1.3.0 mask 255.255.255.0
R7-65444(config-router)#no auto-summary
R7-65444(config-router)#no synchronization
R7-65444(config-router)#exit
*Oct 25 12:42:59.635: %BGP-5-ADJCHANGE: neighbor 27.1.1.1 Up
Topology:- PART THREE LOCAL PREFERENCE
- configure the topology as per the diagram
- configure the IP addresses as per the topology
- configure BGP and advertise directly connecter networks in AS 65666 6577 6555
- configure BGP next-hop in AS 6555
- configure EBGP Between AS 65333 65666 and AS 6577 6516
- configure access-list + route-map and configure local preference 500
- make sure router 8 should use the 89.1.1.1 route to reach any network (via AS 6577)
- verify that all routes from ASs 65111 65222 65333 65444 6555 6577 exchange and can ping.
R8-AS65666(config-if)#ip address 86.1.1.1 255.0.0.0
R8-AS65666(config-if)#no shutdown
R8-AS65666(config-if)#exit
R8-AS65666(config-if)#ip address 89.1.1.1 255.0.0.0
R8-AS65666(config-if)#no shutdown
R8-AS65666(config-if)#exit
R8-AS65666(config)#interface serial 5/0
R8-AS65666(config-if)#ip address 108.1.1.2 255.0.0.0
R8-AS65666(config-if)#no shutdown
R8-AS65666(config-if)#exit
R8-AS65666(config)#interface fastethernet 0/0
R8-AS65666(config-if)#ip address 80.1.1.1 255.0.0.0
R8-AS65666(config-if)#no shutdown
R8-AS65666(config-if)#no keepalive
R8-AS65666(config-if)#exit
R8-AS65666(config)#interface loopback 1
R8-AS65666(config-if)#ip address 88.1.1.1 255.255.255.0
R8-AS65666(config-if)#exit
R8-AS65666(config)#interface loopback 2
R8-AS65666(config-if)#ip address 88.1.2.1 255.255.255.0
R8-AS65666(config-if)#exit
R8-AS65666(config)#interface loopback 3
R8-AS65666(config-if)#ip address 88.1.3.1 255.255.255.0
R8-AS65666(config-if)#exit
R8-AS65666(config)#interface loopback 4
R8-AS65666(config-if)#ip address 88.1.4.1 255.255.255.0
R8-AS65666(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 80.1.1.1 YES manual up up
Serial5/0 108.1.1.2 YES manual up up
Serial5/1 89.1.1.1 YES manual up up
Serial6/0 86.1.1.1 YES manual up up
Loopback1 88.1.1.1 YES manual up up
Loopback2 88.1.2.1 YES manual up up
Loopback3 88.1.3.1 YES manual up up
Loopback4 88.1.4.1 YES manual up up
R9-65777(config-if)#ip address 89.1.1.2 255.0.0.0
R9-65777(config-if)#no shutdown
R9-65777(config-if)#exit
R9-65777(config-if)#ip address 91.1.1.1 255.0.0.0
R9-65777(config-if)#no shutdown
R9-65777(config-if)#exit
R9-65777(config-if)#ip address 90.1.1.1 255.0.0.0
R9-65777(config-if)#no shutdown
R9-65777(config-if)#no keepalive
R9-65777(config-if)#exit
R9-6577(config-if)#ip address 96.1.1.1 255.0.0.0
R9-6577(config-if)#no shutdown
R9-6577(config-if)#exit
R9-65777(config-if)#ip address 99.1.1.1 255.255.255.0
R9-65777(config-if)#exit
R9-65777(config)#interface loopback 2
R9-65777(config-if)#ip address 99.1.2.1 255.255.255.0
R9-65777(config-if)#exit
R9-65777(config)#interface loopback 3
R9-65777(config-if)#ip address 99.1.3.1 255.255.255.0
R9-65777(config-if)#exit
R9-65777(config)#interface loopback 4
R9-65777(config-if)#ip address 99.1.4.1 255.255.255.0
R9-65777(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 90.1.1.1 YES manual up up
Serial5/1 89.1.1.2 YES manual up up
Serial5/2 91.1.1.1 YES manual up up
Loopback1 99.1.1.1 YES manual up up
Loopback2 99.1.2.1 YES manual up up
Loopback3 99.1.3.1 YES manual up up
Loopback4 99.1.4.1 YES manual up up
R11-65555(config-if)#ip address 110.1.1.1 255.0.0.0
R11-65555(config-if)#no shutdown
R11-65555(config-if)#exit
R11-65555(config-if)#ip address 91.1.1.2 255.0.0.0
R11-65555(config-if)#no shutdown
R11-65555(config-if)#exit
R11-65555(config-if)#ip address 111.1.1.1 255.255.255.0
R11-65555(config-if)#exit
R11-65555(config)#interface loopback 2
R11-65555(config-if)#ip address 111.1.2.1 255.255.255.0
R11-65555(config-if)#exit
R11-65555(config)#interface loopback 3
R11-65555(config-if)#ip address 111.1.3.1 255.255.255.0
R11-65555(config-if)#exit
R11-65555(config)#interface loopback 4
R11-65555(config-if)#ip address 111.1.4.1 255.255.255.0
R11-65555(config-if)#exit
Interface IP-Address OK? Method Status Protocol
Serial5/2 91.1.1.2 YES manual up up
Serial5/3 110.1.1.1 YES manual up up
Loopback1 111.1.1.1 YES manual up up
Loopback2 111.1.2.1 YES manual up up
Loopback3 111.1.3.1 YES manual up up
Loopback4 111.1.4.1 YES manual up up
R10-65555(config-if)#ip address 110.1.1.2 255.0.0.0
R10-65555(config-if)#no shutdown
R10-65555(config-if)#exit
R10-65555(config-if)#ip address 100.1.1.1 255.0.0.0
R10-65555(config-if)#no shutdown
R10-65555(config-if)#no keepalive
R10-65555(config-if)#exit
R10-65555(config-if)#ip address 108.1.1.1 255.0.0.0
R10-65555(config-if)#no shutdown
R10-65555(config-if)#exit
R10-65555(config-if)#ip address 101.1.1.1 255.255.255.0
R10-65555(config-if)#exit
R10-65555(config)#interface loopback 2
R10-65555(config-if)#ip address 101.1.2.1 255.255.255.0
R10-65555(config-if)#exit
R10-65555(config)#interface loopback 3
R10-65555(config-if)#ip address 101.1.3.1 255.255.255.0
R10-65555(config-if)#exit
R10-65555(config)#interface loopback 4
R10-65555(config-if)#ip address 101.1.4.1 255.255.255.0
R10-65555(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 100.1.1.1 YES manual up up
Serial5/0 108.1.1.1 YES manual up up
Serial5/3 110.1.1.2 YES manual up up
Loopback1 101.1.1.1 YES manual up up
Loopback2 101.1.2.1 YES manual up up
Loopback3 101.1.3.1 YES manual up up
Loopback4 101.1.4.1 YES manual up up
R6-65222(config-if)#ip address 86.1.1.2 255.0.0.0
R6-65222(config-if)#no shutdown
R6-65222(config-if)#exit
R6-65222(config-router)#neighbo 86.1.1.1 remote-as 6566
R8-6566(config-router)#neighbor 89.1.1.2 remote-as 6577
R8-6566(config-router)#neighbor 108.1.1.1 remote-as 6555
R8-6566(config-router)#neighbor 86.1.1.2 remote-as 65333
R8-6566(config-router)#network 89.0.0.0
R8-6566(config-router)#network 108.0.0.0
R8-6566(config-router)#network 86.0.0.0
R8-6566(config-router)#network 88.1.1.0 mask 255.255.255.0
R8-6566(config-router)#network 88.1.2.0 mask 255.255.255.0
R8-6566(config-router)#network 88.1.3.0 mask 255.255.255.0
R8-6566(config-router)#network 88.1.4.0 mask 255.255.255.0
R8-6566(config-router)#no synchronization
R8-6566(config-router)#no auto-summary
R8-6566(config-router)#exit
*Oct 25 15:56:31.331: %BGP-5-ADJCHANGE: neighbor 89.1.1.2 Up
*Oct 25 16:05:38.779: %BGP-5-ADJCHANGE: neighbor 108.1.1.1 Up
R9-6577(config-router)#neighbor 89.1.1.1 remote-as 6566
R9-6577(config-router)#neighbor 91.1.1.2 remote-as 6555
R9-6577(config-router)#network 89.0.0.0
R9-6577(config-router)#network 91.0.0.0
R9-6577(config-router)#network 90.0.0.0
R9-6577(config-router)#network 99.1.1.0 mask 255.255.255.0
R9-6577(config-router)#network 99.1.2.0 mask 255.255.255.0
R9-6577(config-router)#network 99.1.3.0 mask 255.255.255.0
R9-6577(config-router)#network 99.1.4.0 mask 255.255.255.0
R9-6577(config-router)#no synchronization
R9-6577(config-router)#no auto-summary
R9-6577(config-router)#exit
*Oct 25 15:58:10.275: %BGP-5-ADJCHANGE: neighbor 91.1.1.2 Up
BGP router identifier 99.1.4.1, local AS number 6577
BGP table version is 23, main routing table version 23
22 network entries using 2574 bytes of memory
39 path entries using 2028 bytes of memory
7/4 BGP path/bestpath attribute entries using 868 bytes of memory
4 BGP AS-PATH entries using 96 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 5566 total bytes of memory
BGP activity 22/0 prefixes, 39/0 paths, scan interval 60 secs
89.1.1.1 4 6566 23 22 23 0 0 00:14:00 16
91.1.1.2 4 6555 17 18 23 0 0 00:10:11 16
R11-6555(config-router)#neighbor 110.1.1.2 remote-as 6555
R11-6555(config-router)#neighbor 91.1.1.1 remote-as 6577
R11-6555(config-router)#neighbor 110.1.1.2 next-hop-self
R11-6555(config-router)#network 110.0.0.0
R11-6555(config-router)#network 91.0.0.0
R11-6555(config-router)#network 111.1.1.0 mask 255.255.255.0
R11-6555(config-router)#network 111.1.2.0 mask 255.255.255.0
R11-6555(config-router)#network 111.1.3.0 mask 255.255.255.0
R11-6555(config-router)#network 111.1.4.0 mask 255.255.255.0
R11-6555(config-router)#no synchronization
R11-6555(config-router)#no auto-summary
R11-6555(config-router)#exit
*Oct 25 16:00:27.055: %BGP-5-ADJCHANGE: neighbor 110.1.1.2 Up
*Oct 25 15:56:57.763: %BGP-5-ADJCHANGE: neighbor 91.1.1.1 Up
BGP router identifier 111.1.4.1, local AS number 6555
BGP table version is 29, main routing table version 29
22 network entries using 2574 bytes of memory
31 path entries using 1612 bytes of memory
6/4 BGP path/bestpath attribute entries using 744 bytes of memory
3 BGP AS-PATH entries using 72 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 5002 total bytes of memory
BGP activity 22/0 prefixes, 31/0 paths, scan interval 60 secs
91.1.1.1 4 6577 18 17 29 0 0 00:10:57 13
110.1.1.2 4 6555 13 16 29 0 0 00:07:28 12
R10-65555(config-router)#neighbor 110.1.1.1 remote-as 6555
R10-65555(config-router)#neighbor 108.1.1.2 remote-as 6566
R10-65555(config-router)#neighbor 110.1.1.1 next-hop-self
R10-65555(config-router)#network 110.0.0.0
R10-65555(config-router)#network 108.0.0.0
R10-65555(config-router)#network 101.1.1.0 mask 255.255.255.0
R10-65555(config-router)#network 101.1.2.0 mask 255.255.255.0
R10-65555(config-router)#network 101.1.3.0 mask 255.255.255.0
R10-65555(config-router)#network 101.1.4.0 mask 255.255.255.0
R10-65555(config-router)#no synchronization
R10-65555(config-router)#no auto-summary
R10-65555(config-router)#exit
*Oct 25 15:57:27.007: %BGP-5-ADJCHANGE: neighbor 110.1.1.1 Up
BGP router identifier 101.1.4.1, local AS number 6555
BGP table version is 29, main routing table version 29
22 network entries using 2574 bytes of memory
31 path entries using 1612 bytes of memory
6/4 BGP path/bestpath attribute entries using 744 bytes of memory
3 BGP AS-PATH entries using 72 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 5002 total bytes of memory
BGP activity 22/0 prefixes, 37/6 paths, scan interval 60 secs
108.1.1.2 4 6566 22 20 29 0 0 00:07:19 13
110.1.1.1 4 6555 18 15 29 0 0 00:09:10 12
BGP table version is 68, local router ID is 101.1.4.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
*> 10.0.0.0 108.1.1.2 0 6566 65333 65444 65111 i
*> 11.1.1.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 11.1.2.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 11.1.3.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 11.1.4.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 20.0.0.0 108.1.1.2 0 6566 65333 65444 65111 i
*> 22.1.1.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 22.1.2.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 22.1.3.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 22.1.4.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 30.0.0.0 108.1.1.2 0 6566 65333 65444 65111 i
*> 33.1.1.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 33.1.2.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 33.1.3.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 33.1.4.0/24 108.1.1.2 0 6566 65333 65444 65111 i
*> 40.0.0.0 108.1.1.2 0 6566 65333 65222 i
*> 44.1.1.0/24 108.1.1.2 0 6566 65333 65222 i
*> 44.1.2.0/24 108.1.1.2 0 6566 65333 65222 i
*> 44.1.3.0/24 108.1.1.2 0 6566 65333 65222 i
*> 44.1.4.0/24 108.1.1.2 0 6566 65333 65222 i
*> 45.0.0.0 108.1.1.2 0 6566 65333 65222 i
*> 50.0.0.0 108.1.1.2 0 6566 65333 65222 i
*> 55.1.1.0/24 108.1.1.2 0 6566 65333 65222 i
*> 55.1.2.0/24 108.1.1.2 0 6566 65333 65222 i
*> 55.1.3.0/24 108.1.1.2 0 6566 65333 65222 i
*> 55.1.4.0/24 108.1.1.2 0 6566 65333 65222 i
*> 56.0.0.0 108.1.1.2 0 6566 65333 i
*> 60.0.0.0 108.1.1.2 0 6566 65333 i
*> 66.1.1.0/24 108.1.1.2 0 6566 65333 i
*> 66.1.2.0/24 108.1.1.2 0 6566 65333 i
*> 66.1.3.0/24 108.1.1.2 0 6566 65333 i
*> 66.1.4.0/24 108.1.1.2 0 6566 65333 i
*> 67.0.0.0 108.1.1.2 0 6566 65333 65444 i
*> 70.0.0.0 108.1.1.2 0 6566 65333 65444 i
*> 74.0.0.0 108.1.1.2 0 6566 65333 65222 i
*> 77.1.1.0/24 108.1.1.2 0 6566 65333 65444 i
*> 77.1.2.0/24 108.1.1.2 0 6566 65333 65444 i
*> 77.1.3.0/24 108.1.1.2 0 6566 65333 65444 i
*> 77.1.4.0/24 108.1.1.2 0 6566 65333 65444 i
*> 86.0.0.0 108.1.1.2 0 0 6566 i
*> 88.1.1.0/24 108.1.1.2 0 0 6566 i
*> 88.1.2.0/24 108.1.1.2 0 0 6566 i
*> 88.1.3.0/24 108.1.1.2 0 0 6566 i
*> 88.1.4.0/24 108.1.1.2 0 0 6566 i
*> 89.0.0.0 108.1.1.2 0 0 6566 i
* i 110.1.1.1 0 100 0 6577 i
* 90.0.0.0 108.1.1.2 0 6566 6577 i
*>i 110.1.1.1 0 100 0 6577 i
* 91.0.0.0 108.1.1.2 0 6566 6577 i
*>i 110.1.1.1 0 100 0 i
* 99.1.1.0/24 108.1.1.2 0 6566 6577 i
*>i 110.1.1.1 0 100 0 6577 i
* 99.1.2.0/24 108.1.1.2 0 6566 6577 i
*>i 110.1.1.1 0 100 0 6577 i
* 99.1.3.0/24 108.1.1.2 0 6566 6577 i
*>i 110.1.1.1 0 100 0 6577 i
* 99.1.4.0/24 108.1.1.2 0 6566 6577 i
*>i 110.1.1.1 0 100 0 6577 i
*> 101.1.1.0/24 0.0.0.0 0 32768 i
*> 101.1.2.0/24 0.0.0.0 0 32768 i
*> 101.1.3.0/24 0.0.0.0 0 32768 i
*> 101.1.4.0/24 0.0.0.0 0 32768 i
* 108.0.0.0 108.1.1.2 0 0 6566 i
*> 0.0.0.0 0 32768 i
* i110.0.0.0 110.1.1.1 0 100 0 i
*> 0.0.0.0 0 32768 i
*>i111.1.1.0/24 110.1.1.1 0 100 0 i
*>i111.1.2.0/24 110.1.1.1 0 100 0 i
*>i111.1.3.0/24 110.1.1.1 0 100 0 i
*>i111.1.4.0/24 110.1.1.1 0 100 0 I
R8-6566(config)#access-list 11 permit 111.1.2.0 255.0.0.0
R8-6566(config)#access-list 11 permit 111.1.3.0 255.0.0.0
R8-6566(config)#access-list 11 permit 111.1.4.0 255.0.0.0
R8-6566(config)#route-map local-pref permit 11
R8-6566(config-route-map)#match ip address 11
R8-6566(config-route-map)#set local-preference 5000
R8-6566(config-route-map)#exit
R8-6566(config)#route-map local-pref permit 12
R8-6566(config-route-map)#exit
Topology: PART FOUR BGP MED + compare MED
- configure the topology as per the diagram
- configure the IP addresses as per the topology
- configure BGP AS 6513 AS 6515 AS 6516 AS 6542
- advertise directly connected network
- make sure all the routes are exchanged from AS 65111 65222 65333 65444 65666 6555 6577 6513 AS 6515 AS 6516 AS 6542
- configure weight and configure MED
- ignore best-path AS-path
- make sure the router 13 can reach the network 122.1.1.1 via AS 6515 6516 6542 and return traffic will also use the same path
R16-6516(config-if)#ip address 164.1.1.1 255.0.0.0
R16-6516(config-if)#no shutdown
R16-6516(config-if)#exit
R16-6516(config-if)#ip address 160.1.1.1 255.0.0.0
R16-6516(config-if)#no shutdown
R16-6516(config-if)#no keepalive
R16-6516(config-if)#exit
R16-6516(config-if)#ip address 165.1.1.2 255.0.0.0
R16-6516(config-if)#no shutdown
R16-6516(config-if)#exit
R16-6516(config-if)#no shutdown
R16-6516(config-if)#exit
R16-6516(config-if)#ip address 166.1.1.1 255.255.255.0
R16-6516(config-if)#exit
R16-6516(config)#interface loopback 2
R16-6516(config-if)#ip address 166.1.2.1 255.255.255.0
R16-6516(config-if)#exit
R16-6516(config)#interface loopback 3
R16-6516(config-if)#ip address 166.1.3.1 255.255.255.0
R16-6516(config-if)#exit
R16-6516(config)#interface loopback 4
R16-6516(config-if)#ip address 166.1.4.1 255.255.255.0
R16-6516(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 160.1.1.1 YES manual up up
Serial5/0 164.1.1.1 YES manual up up
Serial6/0 165.1.1.2 YES manual up up
Serial6/1 96.1.1.2 YES manual up down
Loopback1 166.1.1.1 YES manual up up
Loopback2 166.1.2.1 YES manual up up
Loopback3 166.1.3.1 YES manual up up
Loopback4 166.1.4.1 YES manual up up
R14-6542(config-if)#ip address 164.1.1.2 255.0.0.0
R14-6542(config-if)#no shutdown
R14-6542(config-if)#exit
R14-6542(config-if)#ip address 140.1.1.1 255.0.0.0
R14-6542(config-if)#no shutdown
R14-6542(config-if)#no keepalive
R14-6542(config-if)#exit
R14-6542(config)#interface serial 5/1
R14-6542(config-if)#ip address 142.1.1.1 255.0.0.0
R14-6542(config-if)#no shutdown
R14-6542(config-if)#exit
R14-6542(config)#interface loopback 1
R14-6542(config-if)#ip address 144.1.1.1 255.255.255.0
R14-6542(config-if)#exit
R14-6542(config)#interface loopback 2
R14-6542(config-if)#ip address 144.1.2.1 255.255.255.0
R14-6542(config-if)#exit
R14-6542(config)#interface loopback 3
R14-6542(config-if)#ip address 144.1.3.1 255.255.255.0
R14-6542(config-if)#exit
R14-6542(config)#interface loopback 4
R14-6542(config-if)#ip address 144.1.4.1 255.255.255.0
R14-6542(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 140.1.1.1 YES manual up up
Serial5/0 164.1.1.2 YES manual up up
Serial5/1 142.1.1.1 YES manual up up
Loopback1 144.1.1.1 YES manual up up
Loopback2 144.1.2.1 YES manual up up
Loopback3 144.1.3.1 YES manual up up
Loopback4 144.1.4.1 YES manual up up
R12-6542(config-if)#ip address 123.1.1.1 255.0.0.0
R12-6542(config-if)#no shutdown
R12-6542(config-if)#exit
R12-6542(config-if)#ip address 120.1.1.1 255.0.0.0
R12-6542(config-if)#no shutdown
R12-6542(config-if)#no keepalive
R12-6542(config-if)#exit
R12-6542(config-if)#ip address 142.1.1.2 255.0.0.0
R12-6542(config-if)#no shutdown
R12-6542(config-if)#exit
R12-6542(config)#interface loopback 1
R12-6542(config-if)#ip address 122.1.1.1 255.255.255.0
R12-6542(config-if)#exit
R12-6542(config)#interface loopback 2
R12-6542(config-if)#ip address 122.1.2.1 255.255.255.0
R12-6542(config-if)#exit
R12-6542(config)#interface loopback 3
R12-6542(config-if)#ip address 122.1.3.1 255.255.255.0
R12-6542(config-if)#exit
R12-6542(config)#interface loopback 4
R12-6542(config-if)#ip address 122.1.4.1 255.255.255.0
R12-6542(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 120.1.1.1 YES manual up up
Serial5/1 142.1.1.2 YES manual up up
Serial5/2 123.1.1.1 YES manual up up
Loopback1 122.1.1.1 YES manual up up
Loopback2 122.1.2.1 YES manual up up
Loopback3 122.1.3.1 YES manual up up
Loopback4 122.1.4.1 YES manual up up
R13-6513(config-if)#ip address 123.1.1.2 255.0.0.0
R13-6513(config-if)#no shutdown
R13-6513(config-if)#exit
R13-6513(config-if)#ip address 130.1.1.1 255.0.0.0
R13-6513(config-if)#no shutdown
R13-6513(config-if)#no keepalive
R13-6513(config-if)#exit
R13-6513(config-if)#ip address 135.1.1.1 255.0.0.0
R13-6513(config-if)#no shutdown
R13-6513(config-if)#exit
R13-6513(config)#interface loopback 1
R13-6513(config-if)#ip address 133.1.1.1 255.255.255.0
R13-6513(config-if)#exit
R13-6513(config)#interface loopback 2
R13-6513(config-if)#ip address 133.1.2.1 255.255.255.0
R13-6513(config-if)#exit
R13-6513(config)#interface loopback 3
R13-6513(config-if)#ip address 133.1.3.1 255.255.255.0
R13-6513(config-if)#exit
R13-6513(config)#interface loopback 4
R13-6513(config-if)#ip address 133.1.4.1 255.255.255.0
R13-6513(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 130.1.1.1 YES manual up up
Serial5/2 123.1.1.2 YES manual up up
Serial5/3 135.1.1.1 YES manual up up
Loopback1 133.1.1.1 YES manual up up
Loopback2 133.1.2.1 YES manual up up
Loopback3 133.1.3.1 YES manual up up
Loopback4 133.1.4.1 YES manual up up
R15-6515(config-if)#ip address 165.1.1.2 255.0.0.0
R15-6515(config-if)#no shutdown
R15-6515(config-if)#exit
R15-6515(config-if)#ip address 150.1.1.1 255.0.0.0
R15-6515(config-if)#no shutdown
R15-6515(config-if)#no keepalive
R15-6515(config-if)#exit
R15-6515(config-if)#ip address 135.1.1.2 255.0.0.0
R15-6515(config-if)#no shutdown
R15-6515(config-if)#exit
R15-6515(config)#interface loopback 1
R15-6515(config-if)#ip address 155.1.1.1 255.255.255.0
R15-6515(config-if)#exit
R15-6515(config)#interface loopback 2
R15-6515(config-if)#ip address 155.1.2.1 255.255.255.0
R15-6515(config-if)#exit
R15-6515(config)#interface loopback 3
R15-6515(config-if)#ip address 155.1.3.1 255.255.255.0
R15-6515(config-if)#exit
R15-6515(config)#interface loopback 4
R15-6515(config-if)#ip address 155.1.4.1 255.255.255.0
R15-6515(config-if)#exit
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 150.1.1.1 YES manual up up
Serial5/3 135.1.1.2 YES manual up up
Serial6/0 165.1.1.2 YES manual up up
Loopback1 155.1.1.1 YES manual up up
Loopback2 155.1.2.1 YES manual up up
Loopback3 155.1.3.1 YES manual up up
Loopback4 155.1.4.1 YES manual up up
R16-6516(config-router)#neighbor 96.1.1.1 remote-as 6577
R16-6516(config-router)#neighbor 165.1.1.1 remote-as 6515
R16-6516(config-router)#neighbor 164.1.1.2 remote-as 6542
R16-6516(config-router)#network 165.0.0.0 mask 255.0.0.0
R16-6516(config-router)#network 164.0.0.0 mask 255.0.0.0
R16-6516(config-router)#network 96.0.0.0 mask 255.0.0.0
R16-6516(config-router)#network 166.1.1.0 mask 255.255.255.0
R16-6516(config-router)#network 166.1.2.0 mask 255.255.255.0
R16-6516(config-router)#network 166.1.3.0 mask 255.255.255.0
R16-6516(config-router)#network 166.1.4.0 mask 255.255.255.0
R16-6516(config-router)#no auto-summary
R16-6516(config-router)#no synchronization
R16-6516(config-router)#exit
R14-6542(config-router)#neighbor 142.1.1.2 remote-as 6542
R14-6542(config-router)#neighbor 164.1.1.1 remote-as 6516
R14-6542(config-router)#neighbor 142.1.1.2 next-hop-self
R14-6542(config-router)#network 140.0.0.0
R14-6542(config-router)#network 164.0.0.0 mask 255.0.0.0
R14-6542(config-router)#network 142.0.0.0 mask 255.0.0.0
R14-6542(config-router)#network 144.1.1.0 mask 255.255.255.0
R14-6542(config-router)#network 144.1.2.0 mask 255.255.255.0
R14-6542(config-router)#network 144.1.3.0 mask 255.255.255.0
R14-6542(config-router)#network 144.1.4.0 mask 255.255.255.0
R14-6542(config-router)#no auto-summary
R14-6542(config-router)#no synchronization
R14-6542(config-router)#exit
*Oct 25 17:38:50.119: %BGP-5-ADJCHANGE: neighbor 142.1.1.2 Up
R12-6542(config-router)#neighbor 142.1.1.1 remote-as 6542
R12-6542(config-router)#neighbor 123.1.1.2 remote-as 6513
R12-6542(config-router)#neighbor 142.1.1.1 next-hop-self
R12-6542(config-router)#network 120.0.0.0
R12-6542(config-router)#network 123.0.0.0 mask 255.0.0.0
R12-6542(config-router)#network 142.0.0.0 mask 255.0.0.0
R12-6542(config-router)#network 122.1.1.0 mask 255.255.255.0
R12-6542(config-router)#network 122.1.2.0 mask 255.255.255.0
R12-6542(config-router)#network 122.1.3.0 mask 255.255.255.0
R12-6542(config-router)#network 122.1.4.0 mask 255.255.255.0
R12-6542(config-router)#no auto-summary
R12-6542(config-router)#no synchronization
R12-6542(config-router)#exit
*Oct 25 17:38:51.363: %BGP-5-ADJCHANGE: neighbor 123.1.1.2 Up
R13-6513(config-router)#neighbor 135.1.1.2 remote-as 6515
R13-6513(config-router)#neighbor 123.1.1.1 remote-as 6542
R13-6513(config-router)#network 130.0.0.0
R13-6513(config-router)#network 123.0.0.0 mask 255.0.0.0
R13-6513(config-router)#network 135.0.0.0 mask 255.0.0.0
R13-6513(config-router)#network 133.1.1.0 mask 255.255.255.0
R13-6513(config-router)#network 133.1.2.0 mask 255.255.255.0
R13-6513(config-router)#network 133.1.3.0 mask 255.255.255.0
R13-6513(config-router)#network 133.1.4.0 mask 255.255.255.0
R13-6513(config-router)#no auto-summary
R13-6513(config-router)#no synchronization
R13-6513(config-router)#exit
*Oct 25 17:36:31.203: %BGP-5-ADJCHANGE: neighbor 123.1.1.1 Up
*Oct 25 17:38:07.019: %BGP-5-ADJCHANGE: neighbor 135.1.1.2 Up
R15-6515(config-router)#neighbor 165.1.1.2 remote-as 6516
R15-6515(config-router)#neighbor 135.1.1.1 remote-as 6513
R15-6515(config-router)#network 150.0.0.0
R15-6515(config-router)#network 165.0.0.0 mask 255.0.0.0
R15-6515(config-router)#network 135.0.0.0 mask 255.0.0.0
R15-6515(config-router)#network 155.1.1.0 mask 255.255.255.0
R15-6515(config-router)#network 155.1.2.0 mask 255.255.255.0
R15-6515(config-router)#network 155.1.3.0 mask 255.255.255.0
R15-6515(config-router)#network 155.1.4.0 mask 255.255.255.0
R15-6515(config-router)#no auto-summary
R15-6515(config-router)#no synchronization
R15-6515(config-router)#exit
No comments:
Post a Comment