r1上
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 13
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 1.1.1.1/32 5.5.5.5 4 100 0 (64513)?
*>i 2.2.2.2/32 5.5.5.5 3 100 0 (64513)?
*>i 3.3.3.3/32 5.5.5.5 2 100 0 (64513)?
*>i 4.4.4.4/32 5.5.5.5 1 100 0 (64513)?
*>i 6.6.6.6/32 5.5.5.5 0 100 0 (64513) 10
1?
*>i 7.7.7.7/32 5.5.5.5 1 100 0 (64513) 10
1?
*>i 8.8.8.8/32 5.5.5.5 2 100 0 (64513) 10
1?
*>i 12.1.1.0/24 5.5.5.5 4 100 0 (64513)?
*>i 23.1.1.0/24 5.5.5.5 3 100 0 (64513)?
*>i 34.1.1.0/24 5.5.5.5 2 100 0 (64513)?
*>i 45.1.1.0/24 5.5.5.5 0 100 0 (64513)?
*>i 67.1.1.0/24 5.5.5.5 0 100 0 (64513) 10
1?
*>i 78.1.1.0/24 5.5.5.5 1 100 0 (64513) 10
1?
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 20 Routes : 20
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.1/32 Direct 0 0 D 127.0.0.1 LoopBack0
2.2.2.2/32 OSPF 10 1 D 12.1.1.2 GigabitEthernet
0/0/0
3.3.3.3/32 OSPF 10 2 D 12.1.1.2 GigabitEthernet
0/0/0
4.4.4.4/32 OSPF 10 3 D 12.1.1.2 GigabitEthernet
0/0/0
5.5.5.5/32 OSPF 10 4 D 12.1.1.2 GigabitEthernet
0/0/0
6.6.6.6/32 IBGP 255 0 RD 5.5.5.5 GigabitEthernet
0/0/0
7.7.7.7/32 IBGP 255 1 RD 5.5.5.5 GigabitEthernet
0/0/0
8.8.8.8/32 IBGP 255 2 RD 5.5.5.5 GigabitEthernet
0/0/0
12.1.1.0/24 Direct 0 0 D 12.1.1.1 GigabitEthernet
0/0/0
12.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
12.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
23.1.1.0/24 OSPF 10 2 D 12.1.1.2 GigabitEthernet
0/0/0
34.1.1.0/24 OSPF 10 3 D 12.1.1.2 GigabitEthernet
0/0/0
45.1.1.0/24 OSPF 10 4 D 12.1.1.2 GigabitEthernet
0/0/0
67.1.1.0/24 IBGP 255 0 RD 5.5.5.5 GigabitEthernet
0/0/0
78.1.1.0/24 IBGP 255 1 RD 5.5.5.5 GigabitEthernet
0/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
r3上
[r3]display bgp routing-table
BGP Local router ID is 3.3.3.3
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 13
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 1.1.1.1/32 5.5.5.5 4 100 0 (64513)?
*>i 2.2.2.2/32 5.5.5.5 3 100 0 (64513)?
*>i 3.3.3.3/32 5.5.5.5 2 100 0 (64513)?
*>i 4.4.4.4/32 5.5.5.5 1 100 0 (64513)?
*>i 6.6.6.6/32 5.5.5.5 0 100 0 (64513) 10
1?
*>i 7.7.7.7/32 5.5.5.5 1 100 0 (64513) 10
1?
*>i 8.8.8.8/32 5.5.5.5 2 100 0 (64513) 10
1?
*>i 12.1.1.0/24 5.5.5.5 4 100 0 (64513)?
*>i 23.1.1.0/24 5.5.5.5 3 100 0 (64513)?
*>i 34.1.1.0/24 5.5.5.5 2 100 0 (64513)?
*>i 45.1.1.0/24 5.5.5.5 0 100 0 (64513)?
*>i 67.1.1.0/24 5.5.5.5 0 100 0 (64513) 10
1?
*>i 78.1.1.0/24 5.5.5.5 1 100 0 (64513) 10
1?
[r3]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 22 Routes : 22
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.1/32 OSPF 10 2 D 23.1.1.1 GigabitEthernet
0/0/0
2.2.2.2/32 OSPF 10 1 D 23.1.1.1 GigabitEthernet
0/0/0
3.3.3.3/32 Direct 0 0 D 127.0.0.1 LoopBack0
4.4.4.4/32 OSPF 10 1 D 34.1.1.2 GigabitEthernet
0/0/1
5.5.5.5/32 OSPF 10 2 D 34.1.1.2 GigabitEthernet
0/0/1
6.6.6.6/32 IBGP 255 0 RD 5.5.5.5 GigabitEthernet
0/0/1
7.7.7.7/32 IBGP 255 1 RD 5.5.5.5 GigabitEthernet
0/0/1
8.8.8.8/32 IBGP 255 2 RD 5.5.5.5 GigabitEthernet
0/0/1
12.1.1.0/24 OSPF 10 2 D 23.1.1.1 GigabitEthernet
0/0/0
23.1.1.0/24 Direct 0 0 D 23.1.1.2 GigabitEthernet
0/0/0
23.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
23.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
34.1.1.0/24 Direct 0 0 D 34.1.1.1 GigabitEthernet
0/0/1
34.1.1.1/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
34.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/1
45.1.1.0/24 OSPF 10 2 D 34.1.1.2 GigabitEthernet
0/0/1
67.1.1.0/24 IBGP 255 0 RD 5.5.5.5 GigabitEthernet
0/0/1
78.1.1.0/24 IBGP 255 1 RD 5.5.5.5 GigabitEthernet
0/0/1
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
r4上
BGP Local router ID is 4.4.4.4
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 14
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 1.1.1.1/32 5.5.5.5 4 100 0 ?
*>i 2.2.2.2/32 5.5.5.5 3 100 0 ?
*>i 3.3.3.3/32 5.5.5.5 2 100 0 ?
*>i 4.4.4.4/32 5.5.5.5 1 100 0 ?
i 5.5.5.5/32 5.5.5.5 0 100 0 ?
*>i 6.6.6.6/32 5.5.5.5 0 100 0 101?
*>i 7.7.7.7/32 5.5.5.5 1 100 0 101?
*>i 8.8.8.8/32 5.5.5.5 2 100 0 101?
*>i 12.1.1.0/24 5.5.5.5 4 100 0 ?
*>i 23.1.1.0/24 5.5.5.5 3 100 0 ?
*>i 34.1.1.0/24 5.5.5.5 2 100 0 ?
*>i 45.1.1.0/24 5.5.5.5 0 100 0 ?
*>i 67.1.1.0/24 5.5.5.5 0 100 0 101?
*>i 78.1.1.0/24 5.5.5.5 1 100 0 101?
r8上
[r8]display bgp routing-table
BGP Local router ID is 8.8.8.8
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 13
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 1.1.1.1/32 6.6.6.6 4 100 0 100?
*>i 2.2.2.2/32 6.6.6.6 3 100 0 100?
*>i 3.3.3.3/32 6.6.6.6 2 100 0 100?
*>i 4.4.4.4/32 6.6.6.6 1 100 0 100?
*>i 5.5.5.5/32 6.6.6.6 0 100 0 100?
*>i 7.7.7.7/32 6.6.6.6 1 100 0 ?
*>i 8.8.8.8/32 6.6.6.6 2 100 0 ?
*>i 12.1.1.0/24 6.6.6.6 4 100 0 100?
*>i 23.1.1.0/24 6.6.6.6 3 100 0 100?
*>i 34.1.1.0/24 6.6.6.6 2 100 0 100?
*>i 45.1.1.0/24 6.6.6.6 0 100 0 100?
*>i 67.1.1.0/24 6.6.6.6 0 100 0 ?
*>i 78.1.1.0/24 6.6.6.6 1 100 0 ?
[r8]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 20 Routes : 20
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.1/32 IBGP 255 4 RD 6.6.6.6 GigabitEthernet
0/0/0
2.2.2.2/32 IBGP 255 3 RD 6.6.6.6 GigabitEthernet
0/0/0
3.3.3.3/32 IBGP 255 2 RD 6.6.6.6 GigabitEthernet
0/0/0
4.4.4.4/32 IBGP 255 1 RD 6.6.6.6 GigabitEthernet
0/0/0
5.5.5.5/32 IBGP 255 0 RD 6.6.6.6 GigabitEthernet
0/0/0
6.6.6.6/32 RIP 100 2 D 78.1.1.1 GigabitEthernet
0/0/0
7.7.7.7/32 RIP 100 1 D 78.1.1.1 GigabitEthernet
0/0/0
8.8.8.8/32 Direct 0 0 D 127.0.0.1 LoopBack0
12.1.1.0/24 IBGP 255 4 RD 6.6.6.6 GigabitEthernet
0/0/0
23.1.1.0/24 IBGP 255 3 RD 6.6.6.6 GigabitEthernet
0/0/0
34.1.1.0/24 IBGP 255 2 RD 6.6.6.6 GigabitEthernet
0/0/0
45.1.1.0/24 IBGP 255 0 RD 6.6.6.6 GigabitEthernet
0/0/0
67.1.1.0/24 RIP 100 1 D 78.1.1.1 GigabitEthernet
0/0/0
78.1.1.0/24 Direct 0 0 D 78.1.1.2 GigabitEthernet
0/0/0
78.1.1.2/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
78.1.1.255/32 Direct 0 0 D 127.0.0.1 GigabitEthernet
0/0/0
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0