产品好 2007-11-14 09:35
实验EBGP、IBGP链路冗余
[font=Times New Roman]TOPO如下:[/font][size=3]
[/size]
[font=Times New Roman][size=3][img]http://www.one-tom.com/bbs/uploads/Etian/2006-08-31_151816_11.jpg[/img][/size][/font]
[font=Times New Roman][b][size=15pt]r3[/size][/b][size=3]#sh ru[/size][/font]
[font=Times New Roman][size=3]interface Loopback0[/size][/font]
[size=3][font=Times New Roman]
ip address 9.9.9.9 255.255.255.0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]interface Serial0[/size][/font]
[size=3][font=Times New Roman]
ip address 152.1.1.3 255.255.255.0[/font][/size]
[size=3][font=Times New Roman]
clockrate 64000[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]router bgp 65100[/size][/font]
[size=3][font=Times New Roman]
no synchronization[/font][/size]
[size=3][font=Times New Roman]
bgp log-neighbor-changes[/font][/size]
[size=3][font=Times New Roman]
network 9.9.9.0 mask 255.255.255.0[/font][/size]
[size=3][font=Times New Roman]
neighbor 152.1.1.1 remote-as 65100[/font][/size]
[size=3][font=Times New Roman]
no auto-summary[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]End[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][b][size=16pt]r1[/size][/b][size=3]#sh ru[/size][/font]
[font=Times New Roman][size=3]interface Loopback0[/size][/font]
[size=3][font=Times New Roman]
ip address 5.5.5.5 255.255.255.0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]interface Ethernet0[/size][/font]
[size=3][font=Times New Roman]
ip address 172.16.2.1 255.255.255.0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]interface Serial0[/size][/font]
[size=3][font=Times New Roman]
ip address 152.1.1.1 255.255.255.0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]interface Serial1[/size][/font]
[size=3][font=Times New Roman]
ip address 172.16.1.1 255.255.255.0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]router bgp 65100[/size][/font]
[size=3][font=Times New Roman]
no synchronization[/font][/size]
[size=3][font=Times New Roman]
bgp log-neighbor-changes[/font][/size]
[size=3][font=Times New Roman]
neighbor 2.2.2.2 remote-as 65101[/font][/size]
[size=3][font=Times New Roman]
neighbor 2.2.2.2 ebgp-multihop 2[/font][/size]
[size=3][font=Times New Roman]
neighbor 2.2.2.2 update-source Loopback0[/font][/size]
[size=3][font=Times New Roman]
neighbor 152.1.1.3 remote-as 65100[/font][/size]
[size=3][font=Times New Roman]
neighbor 152.1.1.3 next-hop-self[/font][/size]
[size=3][font=Times New Roman]
no auto-summary[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]ip route 2.2.2.2 255.255.255.255 Serial1[/size][/font]
[font=Times New Roman][size=3]ip route 2.2.2.2 255.255.255.255 Ethernet0[/size][/font]
[font=Times New Roman][size=3]! [/size][/font]
[font=Times New Roman][size=3]End[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][b][size=15pt]r2[/size][/b][size=3]#sh ru[/size][/font]
[font=Times New Roman][size=3]interface Loopback0[/size][/font]
[size=3][font=Times New Roman]
ip address 2.2.2.2 255.255.255.0[/font][/size]
[size=3][font=Times New Roman]
ip ospf network point-to-point[/font][/size]
[size=3][font=Times New Roman]!
[/font][/size]
[font=Times New Roman][size=3]interface Ethernet0[/size][/font]
[size=3][font=Times New Roman]
ip address 172.16.2.2 255.255.255.0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]interface Serial0[/size][/font]
[size=3][font=Times New Roman]
ip address 10.1.1.1 255.255.255.0[/font][/size]
[size=3][font=Times New Roman]
clockrate 64000[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]interface Serial1[/size][/font]
[size=3][font=Times New Roman]
ip address 172.16.1.2 255.255.255.0[/font][/size]
[size=3][font=Times New Roman]
clockrate 64000[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]router ospf 10[/size][/font]
[size=3][font=Times New Roman]
router-id 2.2.2.2[/font][/size]
[size=3][font=Times New Roman]
network 2.2.2.2 0.0.0.0 area 0[/font][/size]
[size=3][font=Times New Roman]
network 10.0.0.0 0.255.255.255 area 0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]router bgp 65101[/size][/font]
[size=3][font=Times New Roman]
no synchronization[/font][/size]
[size=3][font=Times New Roman]
neighbor 4.4.4.4 remote-as 65101[/font][/size]
[size=3][font=Times New Roman]
neighbor 4.4.4.4 next-hop-self[/font][/size]
[size=3][font=Times New Roman]
neighbor 5.5.5.5 remote-as 65100[/font][/size]
[size=3][font=Times New Roman]
neighbor 5.5.5.5 ebgp-multihop 2[/font][/size]
[size=3][font=Times New Roman]
neighbor 5.5.5.5 update-source Loopback0[/font][/size]
[size=3][font=Times New Roman]
no auto-summary[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]ip route 5.5.5.5 255.255.255.255 Serial1[/size][/font]
[font=Times New Roman][size=3]ip route 5.5.5.5 255.255.255.255 Ethernet0[/size][/font]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]End[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][b][size=15pt]r4[/size][/b][size=3]#sh ru[/size][/font]
[font=Times New Roman][size=3]interface Loopback0[/size][/font]
[size=3][font=Times New Roman]
ip address 4.4.4.4 255.255.255.0[/font][/size]
[size=3][font=Times New Roman]
ip ospf network point-to-point[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]interface Ethernet0[/size][/font]
[size=3][font=Times New Roman]
ip address 10.2.2.2 255.255.255.0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]interface Serial0[/size][/font]
[size=3][font=Times New Roman]
ip address 10.1.1.2 255.255.255.0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]interface Serial1[/size][/font]
[size=3][font=Times New Roman]
ip address 192.168.1.2 255.255.255.0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]router ospf 10[/size][/font]
[size=3][font=Times New Roman]
router-id 4.4.4.4[/font][/size]
[size=3][font=Times New Roman]
log-adjacency-changes[/font][/size]
[size=3][font=Times New Roman]
network 4.4.4.4 0.0.0.0 area 0[/font][/size]
[size=3][font=Times New Roman]
network 10.0.0.0 0.255.255.255 area 0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]router bgp 65101[/size][/font]
[size=3][font=Times New Roman]
no synchronization[/font][/size]
[size=3][font=Times New Roman]
bgp log-neighbor-changes[/font][/size]
[size=3][font=Times New Roman]
neighbor 2.2.2.2 remote-as 65101[/font][/size]
[size=3][font=Times New Roman]
neighbor 2.2.2.2 update-source Loopback0[/font][/size]
[size=3][font=Times New Roman]
neighbor 2.2.2.2 next-hop-self[/font][/size]
[size=3][font=Times New Roman]
neighbor 192.168.1.1 remote-as 65102[/font][/size]
[size=3][font=Times New Roman]
no auto-summary[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]End[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][b][size=15pt]r5[/size][/b][size=3]# sh ru[/size][/font]
[font=Times New Roman][size=3]interface Loopback0[/size][/font]
[size=3][font=Times New Roman]
ip address 8.8.8.8 255.255.255.0[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]interface Serial1[/size][/font]
[size=3][font=Times New Roman]
ip address 192.168.1.1 255.255.255.0[/font][/size]
[size=3][font=Times New Roman]
clockrate 64000[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]router bgp 65102[/size][/font]
[size=3][font=Times New Roman]
no synchronization[/font][/size]
[size=3][font=Times New Roman]
bgp log-neighbor-changes[/font][/size]
[size=3][font=Times New Roman]
network 8.8.8.0 mask 255.255.255.0[/font][/size]
[size=3][font=Times New Roman]
neighbor 192.168.1.2 remote-as 65101[/font][/size]
[size=3][font=Times New Roman]
no auto-summary[/font][/size]
[font=Times New Roman][size=3]![/size][/font]
[font=Times New Roman][size=3]End[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[b][size=15pt][font=Times New Roman]R3[/font][/size][/b]
[size=3][font=Times New Roman]r3#sh ip route[/font][/size]
[size=3][font=Times New Roman]Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP[/font][/size]
[size=3][font=Times New Roman]
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area [/font][/size]
[size=3][font=Times New Roman]
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2[/font][/size]
[size=3][font=Times New Roman]
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP[/font][/size]
[size=3][font=Times New Roman]
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area[/font][/size]
[size=3][font=Times New Roman]
* - candidate default, U - per-user static route, o - ODR[/font][/size]
[size=3][font=Times New Roman]
P - periodic downloaded static route[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]Gateway of last resort is not set[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]
152.1.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]C
152.1.1.0 is directly connected, Serial0[/font][/size]
[size=3][font=Times New Roman]
8.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]B
8.8.8.0 [200/0] via 152.1.1.1, 00:02:17[/font][/size]
[size=3][font=Times New Roman]
9.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]C
9.9.9.0 is directly connected, Loopback0[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]r3#sh ip bgp[/font][/size]
[size=3][font=Times New Roman]BGP table version is 5, local router ID is 9.9.9.9[/font][/size]
[size=3][font=Times New Roman]Status codes: s suppressed, d damped, h history, * valid, > best, i - internal[/font][/size]
[size=3][font=Times New Roman]Origin codes: i - IGP, e - EGP, ? - incomplete[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]
Network
Next Hop
Metric LocPrf Weight Path[/font][/size]
[size=3][font=Times New Roman]*>i8.8.8.0/24
152.1.1.1
100
0 65101 65102 i[/font][/size]
[size=3][font=Times New Roman]*> 9.9.9.0/24
0.0.0.0
0
32768 i[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[b][size=15pt][font=Times New Roman]R1[/font][/size][/b]
[size=3][font=Times New Roman]r1#sh ip route[/font][/size]
[size=3][font=Times New Roman]Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP[/font][/size]
[size=3][font=Times New Roman]
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area [/font][/size]
[size=3][font=Times New Roman]
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2[/font][/size]
[size=3][font=Times New Roman]
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP[/font][/size]
[size=3][font=Times New Roman]
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area[/font][/size]
[size=3][font=Times New Roman]
* - candidate default, U - per-user static route, o - ODR[/font][/size]
[size=3][font=Times New Roman]
P - periodic downloaded static route[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]Gateway of last resort is not set[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]
152.1.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]C
152.1.1.0 is directly connected, Serial0[/font][/size]
[size=3][font=Times New Roman]
2.0.0.0/32 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]S
2.2.2.2 is directly connected, Ethernet0[/font][/size]
[size=3][font=Times New Roman]
is directly connected, Serial1[/font][/size]
[size=3][font=Times New Roman]
5.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]C
5.5.5.0 is directly connected, Loopback0[/font][/size]
[size=3][font=Times New Roman]
172.16.0.0/24 is subnetted, 2 subnets[/font][/size]
[size=3][font=Times New Roman]C
172.16.1.0 is directly connected, Serial1[/font][/size]
[size=3][font=Times New Roman]C
172.16.2.0 is directly connected, Ethernet0[/font][/size]
[size=3][font=Times New Roman]
8.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]B
8.8.8.0 [20/0] via 2.2.2.2, 00:04:48[/font][/size]
[size=3][font=Times New Roman]
9.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]B
9.9.9.0 [200/0] via 152.1.1.3, 00:07:22[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]r1#sh ip bgp
[/font][/size]
[size=3][font=Times New Roman]BGP table version is 9, local router ID is 5.5.5.5[/font][/size]
[size=3][font=Times New Roman]Status codes: s suppressed, d damped, h history, * valid, > best, i - internal[/font][/size]
[size=3][font=Times New Roman]Origin codes: i - IGP, e - EGP, ? - incomplete[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]
Network
Next Hop
Metric LocPrf Weight Path[/font][/size]
[size=3][font=Times New Roman]*> 8.8.8.0/24
2.2.2.2
0 65101 65102 i[/font][/size]
[size=3][font=Times New Roman]*>i9.9.9.0/24
152.1.1.3
0
100
0 i[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[b][size=15pt][font=Times New Roman]R2[/font][/size][/b]
[size=3][font=Times New Roman]r2#sh ip route[/font][/size]
[size=3][font=Times New Roman]Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP[/font][/size]
[size=3][font=Times New Roman]
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area [/font][/size]
[size=3][font=Times New Roman]
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2[/font][/size]
[size=3][font=Times New Roman]
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP[/font][/size]
[size=3][font=Times New Roman]
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area[/font][/size]
[size=3][font=Times New Roman]
* - candidate default, U - per-user static route, o - ODR[/font][/size]
[size=3][font=Times New Roman]
P - periodic downloaded static route[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]Gateway of last resort is not set[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]
2.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]C
2.2.2.0 is directly connected, Loopback0[/font][/size]
[size=3][font=Times New Roman]
4.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]O
4.4.4.0 [110/65] via 10.1.1.2, 00:12:06, Serial0[/font][/size]
[size=3][font=Times New Roman]
5.0.0.0/32 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]S
5.5.5.5 is directly connected, Ethernet0[/font][/size]
[size=3][font=Times New Roman]
is directly connected, Serial1[/font][/size]
[size=3][font=Times New Roman]
172.16.0.0/24 is subnetted, 2 subnets[/font][/size]
[size=3][font=Times New Roman]C
172.16.1.0 is directly connected, Serial1[/font][/size]
[size=3][font=Times New Roman]C
172.16.2.0 is directly connected, Ethernet0[/font][/size]
[size=3][font=Times New Roman]
8.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]B
8.8.8.0 [200/0] via 4.4.4.4, 00:10:50[/font][/size]
[size=3][font=Times New Roman]
9.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]B
9.9.9.0 [20/0] via 5.5.5.5, 00:02:47[/font][/size]
[size=3][font=Times New Roman]
10.0.0.0/24 is subnetted, 2 subnets[/font][/size]
[size=3][font=Times New Roman]O
10.2.2.0 [110/74] via 10.1.1.2, 00:12:08, Serial0[/font][/size]
[size=3][font=Times New Roman]C
10.1.1.0 is directly connected, Serial0[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]r2# sh ip bgp[/font][/size]
[size=3][font=Times New Roman]BGP table version is 7, local router ID is 2.2.2.2[/font][/size]
[size=3][font=Times New Roman]Status codes: s suppressed, d damped, h history, * valid, > best, i - internal[/font][/size]
[size=3][font=Times New Roman]Origin codes: i - IGP, e - EGP, ? - incomplete[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]
Network
Next Hop
Metric LocPrf Weight Path[/font][/size]
[size=3][font=Times New Roman]*>i8.8.8.0/24
4.4.4.4
0
100
0 65102 i[/font][/size]
[size=3][font=Times New Roman]*> 9.9.9.0/24
5.5.5.5
0 65100 i[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[b][size=15pt][font=Times New Roman]R4[/font][/size][/b]
[size=3][font=Times New Roman]r4#sh ip route[/font][/size]
[size=3][font=Times New Roman]Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP[/font][/size]
[size=3][font=Times New Roman]
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area [/font][/size]
[size=3][font=Times New Roman]
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2[/font][/size]
[size=3][font=Times New Roman]
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP[/font][/size]
[size=3][font=Times New Roman]
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area[/font][/size]
[size=3][font=Times New Roman]
* - candidate default, U - per-user static route, o - ODR[/font][/size]
[size=3][font=Times New Roman]
P - periodic downloaded static route[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]Gateway of last resort is not set[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]
2.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]O
2.2.2.0 [110/65] via 10.1.1.1, 00:24:11, Serial0[/font][/size]
[size=3][font=Times New Roman]
4.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]C
4.4.4.0 is directly connected, Loopback0[/font][/size]
[size=3][font=Times New Roman]
8.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]B
8.8.8.0 [20/0] via 192.168.1.1, 00:22:59[/font][/size]
[size=3][font=Times New Roman]
9.0.0.0/24 is subnetted, 1 subnets[/font][/size]
[size=3][font=Times New Roman]B
9.9.9.0 [200/0] via 2.2.2.2, 00:07:05[/font][/size]
[size=3][font=Times New Roman]
10.0.0.0/24 is subnetted, 2 subnets[/font][/size]
[size=3][font=Times New Roman]C
10.1.1.0 is directly connected, Serial0[/font][/size]
[size=3][font=Times New Roman]C
10.2.2.0 is directly connected, Ethernet0[/font][/size]
[font=Times New Roman][size=3]C
192.168.1.0/24 is directly connected, Serial1[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]r4# sh ip bgp[/font][/size]
[size=3][font=Times New Roman]BGP table version is 15, local router ID is 4.4.4.4[/font][/size]
[size=3][font=Times New Roman]Status codes: s suppressed, d damped, h history, * valid, > best, i - internal[/font][/size]
[size=3][font=Times New Roman]Origin codes: i - IGP, e - EGP, ? - incomplete[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]
Network
Next Hop
Metric LocPrf Weight Path[/font][/size]
[size=3][font=Times New Roman]*> 8.8.8.0/24
192.168.1.1
0
0 65102 i[/font][/size]
[size=3][font=Times New Roman]*>i9.9.9.0/24
2.2.2.2
100
0 65100 i[/font][/size]
[b][size=15pt][font=Times New Roman] [/font][/size][/b]
[b][size=15pt][font=Times New Roman]R5[/font][/size][/b]
[font=Times New Roman][size=3]r5#sh ip route[/size][/font]
[font=Times New Roman][size=3]Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP[/size][/font]
[font=Times New Roman][size=3]
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area [/size][/font]
[font=Times New Roman][size=3]
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2[/size][/font]
[font=Times New Roman][size=3]
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP[/size][/font]
[font=Times New Roman][size=3]
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area[/size][/font]
[font=Times New Roman][size=3]
* - candidate default, U - per-user static route, o - ODR[/size][/font]
[font=Times New Roman][size=3]
P - periodic downloaded static route[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]Gateway of last resort is not set[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]
8.0.0.0/24 is subnetted, 1 subnets[/size][/font]
[font=Times New Roman][size=3]C
8.8.8.0 is directly connected, Loopback0[/size][/font]
[font=Times New Roman][size=3]
9.0.0.0/24 is subnetted, 1 subnets[/size][/font]
[font=Times New Roman][size=3]B
9.9.9.0 [20/0] via 192.168.1.2, 00:07:20[/size][/font]
[font=Times New Roman][size=3]C
192.168.1.0/24 is directly connected, Serial1[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]r5#sh ip bgp[/size][/font]
[font=Times New Roman][size=3]BGP table version is 15, local router ID is 8.8.8.8[/size][/font]
[font=Times New Roman][size=3]Status codes: s suppressed, d damped, h history, * valid, > best, i - internal[/size][/font]
[font=Times New Roman][size=3]Origin codes: i - IGP, e - EGP, ? - incomplete[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]
Network
Next Hop
Metric LocPrf Weight Path[/size][/font]
[font=Times New Roman][size=3]*> 8.8.8.0/24
0.0.0.0
0
32768 i[/size][/font]
[font=Times New Roman][size=3]*> 9.9.9.0/24
192.168.1.2
0 65101 65100 i[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]r3#ping[/size][/font]
[font=Times New Roman][size=3]Protocol [ip]: [/size][/font]
[font=Times New Roman][size=3]Target IP address: 8.8.8.8[/size][/font]
[font=Times New Roman][size=3]Repeat count [5]: [/size][/font]
[font=Times New Roman][size=3]Datagram size [100]: [/size][/font]
[font=Times New Roman][size=3]Timeout in seconds [2]: [/size][/font]
[font=Times New Roman][size=3]Extended commands [n]: y[/size][/font]
[font=Times New Roman][size=3]Source address or interface: 9.9.9.9[/size][/font]
[font=Times New Roman][size=3]Type of service [0]: [/size][/font]
[font=Times New Roman][size=3]Set DF bit in IP header? [no]: [/size][/font]
[font=Times New Roman][size=3]Validate reply data? [no]: [/size][/font]
[font=Times New Roman][size=3]Data pattern [0xABCD]: [/size][/font]
[font=Times New Roman][size=3]Loose, Strict, Record, Timestamp, Verbose[none]: [/size][/font]
[font=Times New Roman][size=3]Sweep range of sizes [n]: [/size][/font]
[font=Times New Roman][size=3]Type escape sequence to abort.[/size][/font]
[font=Times New Roman][size=3]Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:[/size][/font]
[font=Times New Roman][size=3]!!!!![/size][/font]
[font=Times New Roman][size=3]Success rate is 100 percent (5/5), round-trip min/avg/max = 88/95/124 ms[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]Trace[/font][font=宋体]得到结论[/font][font=Times New Roman]Ebgp[/font][font=宋体]、[/font][font=Times New Roman]Ibgp[/font][font=宋体]负载均衡,数据报各走一边。[/font][/size]