GSR :the meaning of in CEF and how to calculate them

the <load sharing elements> in CEF summary means "HoW many Cef calculation RESULTs used by load balance"

the <reference> in CEF summary means "How many loadbalance route USE the <load sharing elements> RESULTS"

the <refcount> in CEF entry means "how many route USE this cef load distribute calculation RESULT"


{
R7#show ip route bgp
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [200/0] via 6.6.6.6, 00:00:18
R7#
R7#show ip route ospf
6.0.0.0/32 is subnetted, 1 subnets
O 6.6.6.6 [110/65] via 104.0.0.6, 00:01:39, Serial2/3.4
[110/65] via 103.0.0.6, 00:01:39, Serial2/3.3
[110/65] via 102.0.0.6, 00:01:39, Serial2/3.2
[110/65] via 101.0.0.6, 00:01:39, Serial2/3.1
R7#

in this secarino :

ospf 6.6.6.6 creat 1 <load sharing element> ,

2 refernces " bgp 66.66.66.66 " and "ospf 6.6.6.6" will use this <load sharing elements >


so the

<load sharing element> = 1
<reference> = 2
<refcount> of the CEF entry created by OSPF 6.6.6.6 = 2


R7#show ip cef summ
IP CEF with switching (Table Version 29), flags=0x0
26 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 4
26 instant recursive resolutions, 1 used background process
26 leaves, 35 nodes, 40104 bytes, 76 inserts, 50 invalidations
1 load sharing elements, 336 bytes, 2 references ====================================================>
universal per-destination load sharing algorithm, id FAF17A31
4(0) CEF resets, 8 revisions of existing leaves
Resolution Timer: Exponential (currently 1s, peak 1s)
1 in-place/0 aborted modifications
refcounts: 9233 leaf, 9216 node

Table epoch: 0 (26 entries at this epoch)

Adjacency Table has 4 adjacencies
R7#


------------------------------------------------------------------

R7#show ip cef 6.6.6.6 in
6.6.6.6/32, version 27, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 1 dependency
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 2)=============>
[
ospf 6.6.6.6 USE this ,bgp 66.66.66.66 also USE this , so refcount = 1 + 1 = 2
this will appear both in "originator(ospf 6.6.6.6) cef entry" and "inheritance user of (bgp 66.66.66.66) cef entry "
]

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#
R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 28, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
next hop 103.0.0.6, Serial2/3.3 via 6.6.6.6/32
valid adjacency

Recursive load sharing using 6.6.6.6/32
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 2)
[
[
ospf 6.6.6.6 USE this ,bgp 66.66.66.66 also USE this , so refcount = 1 + 1 = 2
this will appear both in "originator(ospf 6.6.6.6) cef entry" and "inheritance user of (bgp 66.66.66.66) cef entry "
]

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#




}




but some exception exsit ,which will make the upper rules complicated :



this is hard to explain , please see below :


we need 2 different IoS image to explain this





#############1. Version 12.2(25)S13 support < multilayer cef recursive with bgp multipath >
#############2. Version 12.3(20) NoT support < multilayer cef recursive with bgp multipath >





@@@@@@@@@@@@@
what is < multilayer cef recursive with bgp multipath >: ?

2 conditions :

both < bgp route is load balance > and < igp nexthop route is load balance>


R7#show ip route bgp
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [200/0] via 67.0.0.6, 00:11:24
[200/0] via 6.6.6.6, 00:08:36

R7#
R7#show ip route ospf
6.0.0.0/32 is subnetted, 2 subnets
O 6.6.6.6 [110/65] via 104.0.0.6, 00:36:56, Serial2/3.4
[110/65] via 103.0.0.6, 00:36:56, Serial2/3.3
[110/65] via 102.0.0.6, 00:36:56, Serial2/3.2
[110/65] via 101.0.0.6, 00:36:56, Serial2/3.1
67.0.0.0/32 is subnetted, 2 subnets
O 67.0.0.6 [110/65] via 104.0.0.6, 00:36:56, Serial2/3.4
[110/65] via 103.0.0.6, 00:36:56, Serial2/3.3
[110/65] via 102.0.0.6, 00:36:56, Serial2/3.2
[110/65] via 101.0.0.6, 00:36:56, Serial2/3.1
R7#




OLD 7200 IOS and most GsR IOS not support this in cef layer :

[
for exzample , only 2 links is used , s2/3.1 and s2/3.3 is not used

R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 32, epoch 0, per-destination sharing
0 packets, 0 bytes
via 67.0.0.6, 0 dependencies, recursive
traffic share 1
next hop 104.0.0.6, Serial2/3.4 via 67.0.0.6/32
valid adjacency
via 6.6.6.6, 0 dependencies, recursive
traffic share 1
next hop 102.0.0.6, Serial2/3.2 via 6.6.6.6/32
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0====================>
2 Y Serial2/3.2 point2point 0====================>
3 Y Serial2/3.4 point2point 0
4 Y Serial2/3.2 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.2 point2point 0
7 Y Serial2/3.4 point2point 0
8 Y Serial2/3.2 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.2 point2point 0
11 Y Serial2/3.4 point2point 0
12 Y Serial2/3.2 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.2 point2point 0
15 Y Serial2/3.4 point2point 0
16 Y Serial2/3.2 point2point 0



]




if only < igp nexthop route is load balance> , all 4 links will be used

[

R7(config)#router bgp 67
R7(config-router)#nei
R7(config-router)#neighbor 67.0.0.7 shut
% Cannot configure the local system as neighbor
R7(config-router)#neighbor 67.0.0.6 shut
R7(config-router)#end
R7#
R7#
*Apr 14 10:49:46.975: %BGP-5-ADJCHANGE: neighbor 67.0.0.6 Down Admin. shutdown
*Apr 14 10:49:47.655: %SYS-5-CONFIG_I: Configured from console by console
R7#show ip route bgp
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [200/0] via 6.6.6.6, 00:00:05

R7#show ip route ospf
6.0.0.0/32 is subnetted, 2 subnets
O 6.6.6.6 [110/65] via 104.0.0.6, 00:41:56, Serial2/3.4
[110/65] via 103.0.0.6, 00:41:56, Serial2/3.3
[110/65] via 102.0.0.6, 00:41:56, Serial2/3.2
[110/65] via 101.0.0.6, 00:41:56, Serial2/3.1
67.0.0.0/32 is subnetted, 2 subnets
O 67.0.0.6 [110/65] via 104.0.0.6, 00:41:56, Serial2/3.4
[110/65] via 103.0.0.6, 00:41:56, Serial2/3.3
[110/65] via 102.0.0.6, 00:41:56, Serial2/3.2
[110/65] via 101.0.0.6, 00:41:56, Serial2/3.1
R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 35, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
next hop 103.0.0.6, Serial2/3.3 via 6.6.6.6/32
valid adjacency

Recursive load sharing using 6.6.6.6/32
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 2)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0======================>
2 Y Serial2/3.3 point2point 0======================>
3 Y Serial2/3.2 point2point 0======================>
4 Y Serial2/3.1 point2point 0======================>
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#


]

@@@@@@@@@@@@@@






the below is to find the meaning of "refcount"



R6. Version 12.2(25)S13


R6#show ip cef 7.7.7.7 internal
7.7.7.7/32, epoch 0, RIB, refcount 5, per-destination sharing
sources: RIB
feature space:
MFI: path extension list empty
IPRM: 0x00038000
path 636BEC20, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 101.0.0.7 Serial2/3.1, adjacency IP adj out of Serial2/3.1 63851740
path 636BEC84, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 102.0.0.7 Serial2/3.2, adjacency IP adj out of Serial2/3.2 638515E0
path 636BECE8, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 103.0.0.7 Serial2/3.3, adjacency IP adj out of Serial2/3.3 63851480
path 636BED4C, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 104.0.0.7 Serial2/3.4, adjacency IP adj out of Serial2/3.4 63851320
output chain:
loadinfo 636B38C0, per-session, flags 0003, 3 locks
flags: Per-session, for-rx-IPv4
16 hash buckets
<0 > IP adj out of Serial2/3.1 63851740
<1 > IP adj out of Serial2/3.2 638515E0
<2 > IP adj out of Serial2/3.3 63851480
<3 > IP adj out of Serial2/3.4 63851320
<4 > IP adj out of Serial2/3.1 63851740
<5 > IP adj out of Serial2/3.2 638515E0
<6 > IP adj out of Serial2/3.3 63851480
<7 > IP adj out of Serial2/3.4 63851320
<8 > IP adj out of Serial2/3.1 63851740
<9 > IP adj out of Serial2/3.2 638515E0
<10 > IP adj out of Serial2/3.3 63851480
<11 > IP adj out of Serial2/3.4 63851320
<12 > IP adj out of Serial2/3.1 63851740
<13 > IP adj out of Serial2/3.2 638515E0
<14 > IP adj out of Serial2/3.3 63851480
<15 > IP adj out of Serial2/3.4 63851320
R6#



R6#show ip route bgp
77.0.0.0/32 is subnetted, 1 subnets
B 77.77.77.77 [200/0] via 7.7.7.7, 00:00:14
R6#
R6#show ip cef 77.77.77.77 internal
77.77.77.77/32, epoch 0, RIB, refcount 5, per-destination sharing
sources: RIB
feature space:
MFI: path extension list empty
IPRM: 0x00018000
path 636BEA2C, path list 636BBE10, share 1, type recursive nexthop, flags resolved
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
recursive via 7.7.7.7, fib 636F5508, 1 terminal fib
path 636BEC20, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 101.0.0.7 Serial2/3.1, adjacency IP adj out of Serial2/3.1 63851740
path 636BEC84, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 102.0.0.7 Serial2/3.2, adjacency IP adj out of Serial2/3.2 638515E0
path 636BECE8, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 103.0.0.7 Serial2/3.3, adjacency IP adj out of Serial2/3.3 63851480
path 636BED4C, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 104.0.0.7 Serial2/3.4, adjacency IP adj out of Serial2/3.4 63851320
output chain:
loadinfo 636B3800, per-session, flags 0003, 3 locks
flags: Per-session, for-rx-IPv4
16 hash buckets
<0 > IP adj out of Serial2/3.1 63851740
<1 > IP adj out of Serial2/3.2 638515E0
<2 > IP adj out of Serial2/3.3 63851480
<3 > IP adj out of Serial2/3.4 63851320
<4 > IP adj out of Serial2/3.1 63851740
<5 > IP adj out of Serial2/3.2 638515E0
<6 > IP adj out of Serial2/3.3 63851480
<7 > IP adj out of Serial2/3.4 63851320
<8 > IP adj out of Serial2/3.1 63851740
<9 > IP adj out of Serial2/3.2 638515E0
<10 > IP adj out of Serial2/3.3 63851480
<11 > IP adj out of Serial2/3.4 63851320
<12 > IP adj out of Serial2/3.1 63851740
<13 > IP adj out of Serial2/3.2 638515E0
<14 > IP adj out of Serial2/3.3 63851480
<15 > IP adj out of Serial2/3.4 63851320
R6#



















R7 Version 12.3(20)


R7#show ip cef 6.6.6.6 in
6.6.6.6/32, version 23, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#


R7#show ip cef 66.66.66.66 internal
66.66.66.66/32, version 24, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
next hop 103.0.0.6, Serial2/3.3 via 6.6.6.6/32
valid adjacency

Recursive load sharing using 6.6.6.6/32
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 2)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#



==================


R6(config)#int loo2
R6(config-if)#ip add 67.0.0.6 255.255.255.255
R6(config-if)#end
R6#
R6#conf t
00:22:24: %SYS-5-CONFIG_I: Configured from console by console
R6#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R6(config)#router ospf 1
R6(config-router)#network 67.0.0.6 0.0.0.0 a 0
R6(config-router)#end
R6#



R6(config)#router bgp 67
R6(config-router)#nei 67.0.0.7 remote-as 67
R6(config-router)#nei 67.0.0.7 up loo2
R6(config-router)#end
R6#
R6#wr
Building configuration...
[OK]
R6#
R6#
00:24:01: %SYS-5-CONFIG_I: Configured from console by console
R6#
00:24:51: %BGP-5-ADJCHANGE: neighbor 67.0.0.7 Up
R6#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R6(config)#router bgp 67
R6(config-router)#max
R6(config-router)#maximum-paths ?
<1-32> Number of paths
ibgp iBGP-multipath

R6(config-router)#maximum-paths i
R6(config-router)#maximum-paths ibgp 2





R6#show ip route bgp
77.0.0.0/32 is subnetted, 1 subnets
B 77.77.77.77 [200/0] via 67.0.0.7, 00:00:37
[200/0] via 7.7.7.7, 00:08:37
R6#
R6#
R6#show ip cef 77.77.77.77 in
R6#show ip cef 77.77.77.77 internal
77.77.77.77/32, epoch 0, RIB, refcount 5, per-destination sharing
sources: RIB
feature space:
MFI: path extension list empty
IPRM: 0x00018000
path 636BE89C, path list 636BBC90, share 1, "type recursive nexthop", flags resolved
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
recursive via 7.7.7.7, fib 636F5508, 1 terminal fib
path 636BEC20, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 101.0.0.7 Serial2/3.1, adjacency IP adj out of Serial2/3.1 63851740
path 636BEC84, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 102.0.0.7 Serial2/3.2, adjacency IP adj out of Serial2/3.2 638515E0
path 636BECE8, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 103.0.0.7 Serial2/3.3, adjacency IP adj out of Serial2/3.3 63851480
path 636BED4C, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 104.0.0.7 Serial2/3.4, adjacency IP adj out of Serial2/3.4 63851320
path 636BE900, path list 636BBC90, share 1, type recursive nexthop, flags resolved
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
recursive via 67.0.0.7, fib 636F5224, 1 terminal fib
path 636BEC20, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 101.0.0.7 Serial2/3.1, adjacency IP adj out of Serial2/3.1 63851740
path 636BEC84, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 102.0.0.7 Serial2/3.2, adjacency IP adj out of Serial2/3.2 638515E0
path 636BECE8, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 103.0.0.7 Serial2/3.3, adjacency IP adj out of Serial2/3.3 63851480
path 636BED4C, path list 636BC090, share 1, type attached nexthop
ifnums: (none)
path_list contains at least one resolved destination(s). HW IPv4 notified.
nexthop 104.0.0.7 Serial2/3.4, adjacency IP adj out of Serial2/3.4 63851320
output chain:
loadinfo 636B3740, per-session, flags 0003, 3 locks
flags: Per-session, for-rx-IPv4
16 hash buckets
<0 > IP adj out of Serial2/3.1 63851740
<1 > IP adj out of Serial2/3.2 638515E0
<2 > IP adj out of Serial2/3.3 63851480
<3 > IP adj out of Serial2/3.4 63851320
<4 > IP adj out of Serial2/3.1 63851740
<5 > IP adj out of Serial2/3.2 638515E0
<6 > IP adj out of Serial2/3.3 63851480
<7 > IP adj out of Serial2/3.4 63851320
<8 > IP adj out of Serial2/3.1 63851740
<9 > IP adj out of Serial2/3.2 638515E0
<10 > IP adj out of Serial2/3.3 63851480
<11 > IP adj out of Serial2/3.4 63851320
<12 > IP adj out of Serial2/3.1 63851740
<13 > IP adj out of Serial2/3.2 638515E0
<14 > IP adj out of Serial2/3.3 63851480
<15 > IP adj out of Serial2/3.4 63851320
R6#









R7#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#int loo2
R7(config-if)#ip add 67.0.0.7 255.255.255.255
R7(config-if)#end
R7#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#r
*Apr 14 10:07:44.391: %SYS-5-CONFIG_I: Configured from console by console
R7(config)#router ospf 1
R7(config-router)#network 67.0.0.7 0.0.0.0 a 0
R7(config-router)#end
R7#
R7#wr
Building configuration...
[OK]
R7#
R7#
*Apr 14 10:07:57.343: %SYS-5-CONFIG_I: Configured from console by console
R7#


Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#r
*Apr 14 10:07:44.391: %SYS-5-CONFIG_I: Configured from console by console
R7(config)#router ospf 1
R7(config-router)#network 67.0.0.7 0.0.0.0 a 0
R7(config-router)#end
R7#
R7#wr
Building configuration...
[OK]
R7#
R7#
*Apr 14 10:07:57.343: %SYS-5-CONFIG_I: Configured from console by console
R7#
R7#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#router bgp 67
R7(config-router)#nei 67.0.0.6 remote-as 67
R7(config-router)#nei 67.0.0.6 up loo2
maximum-path ibgp 2











R7#show ip route ospf
6.0.0.0/32 is subnetted, 1 subnets
O 6.6.6.6 [110/65] via 104.0.0.6, 00:03:50, Serial2/3.4
[110/65] via 103.0.0.6, 00:03:50, Serial2/3.3
[110/65] via 102.0.0.6, 00:03:50, Serial2/3.2
[110/65] via 101.0.0.6, 00:03:50, Serial2/3.1
67.0.0.0/32 is subnetted, 2 subnets
O 67.0.0.6 [110/65] via 104.0.0.6, 00:03:50, Serial2/3.4
[110/65] via 103.0.0.6, 00:03:50, Serial2/3.3
[110/65] via 102.0.0.6, 00:03:50, Serial2/3.2
[110/65] via 101.0.0.6, 00:03:50, Serial2/3.1
R7#
R7#
R7#show ip route
R7#show ip route bgp
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [200/0] via 6.6.6.6, 00:09:32
[200/0] via 67.0.0.6, 00:02:20
R7#
R7#
R7#show ip cef 66.66.66.66 re
R7#show ip cef 66.66.66.66 in
R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 27, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
traffic share 1
next hop 102.0.0.6, Serial2/3.2 via 6.6.6.6/32
valid adjacency
via 67.0.0.6, 0 dependencies, recursive
traffic share 1
next hop 103.0.0.6, Serial2/3.3 via 67.0.0.6/32
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 (refcount 1)---------------------------------------------->2 and 3 disappear

Hash OK Interface Address Packets
1 Y Serial2/3.2 point2point 0------------------------------------------
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.3 point2point 0
5 Y Serial2/3.2 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.3 point2point 0
9 Y Serial2/3.2 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.3 point2point 0
13 Y Serial2/3.2 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.3 point2point 0
R7#




R7#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#router bgp 67
R7(config-router)#nei 67.0.0.6 shut
R7(config-router)#end
*Apr 14 10:15:50.859: %BGP-5-ADJCHANGE: neighbor 67.0.0.6 Down Admin. shutdown
R7(config-router)#end
R7#
*Apr 14 10:15:54.483: %SYS-5-CONFIG_I: Configured from console by console
R7#show ip route bgp
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [200/0] via 6.6.6.6, 00:00:10
R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 28, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
next hop 101.0.0.6, Serial2/3.1 via 6.6.6.6/32
valid adjacency

Recursive load sharing using 6.6.6.6/32
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 2) --------------------------->

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#








R7#show ip cef 6.6.6.6 in
6.6.6.6/32, version 23, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 1 dependency
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 2)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#



R7#
R7#
R7#
R7#show ip cef 67.0.0.6 in
67.0.0.6/32, version 25, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#

















Apr 14 10:22:13.087: Thread slow_thread: Empty
R7#show debugging
IP CEF:
IP CEF events debugging is on
IP CEF table debugging is on
IP CEF hash events debugging is on


no neighbor 67.0.0.6 shut -->



*Apr 14 10:22:56.771: %BGP-5-ADJCHANGE: neighbor 67.0.0.6 Up
*Apr 14 10:22:56.779: CEF-Table(Default-table): Event up 66.66.66.66/32 (rdbs:2, flags:1A00000)
*Apr 14 10:22:56.779: CEF-IP: Prefix exists - non-trivial change
*Apr 14 10:22:56.779: CEF-Table: Flushing entry for 66.66.66.66/32, table 0
*Apr 14 10:22:56.779: CEF-Table: attempting to resolve 66.66.66.66/32
*Apr 14 10:22:56.779: CEF-IP: resolved 66.66.66.66/32 via 6.6.6.6 to 104.0.0.6 Serial2/3.4
*Apr 14 10:22:56.783: CEF-IP: Instantly resolved recursive entry 66.66.66.66/32
*Apr 14 10:22:56.783: CEF-Tabl
R7(config-router)#e: attempting to resolve 66.66.66.66/32
*Apr 14 10:22:56.783: CEF-IP: resolved 66.66.66.66/32 via 67.0.0.6 to 102.0.0.6 Serial2/3.2
*Apr 14 10:22:56.783: CEF-IP: Instantly resolved recursive entry 66.66.66.66/32
*Apr 14 10:22:56.783: CEF-IP: Checking dependencies of 0.0.0.0/0
*Apr 14 10:22:57.087: CEF: background resolution thread state:


R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 29, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
traffic share 1
next hop 104.0.0.6, Serial2/3.4 via 6.6.6.6/32
valid adjacency
via 67.0.0.6, 0 dependencies, recursive
traffic share 1
next hop 102.0.0.6, Serial2/3.2 via 67.0.0.6/32
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 (refcount 1)


Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.2 point2point 0
3 Y Serial2/3.4 point2point 0
4 Y Serial2/3.2 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.2 point2point 0
7 Y Serial2/3.4 point2point 0
8 Y Serial2/3.2 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.2 point2point 0
11 Y Serial2/3.4 point2point 0
12 Y Serial2/3.2 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.2 point2point 0
15 Y Serial2/3.4 point2point 0
16 Y Serial2/3.2 point2point 0
R7#




R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 29, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
traffic share 1
next hop 104.0.0.6, Serial2/3.4 via 6.6.6.6/32
valid adjacency
via 67.0.0.6, 0 dependencies, recursive
traffic share 1
next hop 102.0.0.6, Serial2/3.2 via 67.0.0.6/32
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.2 point2point 0
3 Y Serial2/3.4 point2point 0
4 Y Serial2/3.2 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.2 point2point 0
7 Y Serial2/3.4 point2point 0
8 Y Serial2/3.2 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.2 point2point 0
11 Y Serial2/3.4 point2point 0
12 Y Serial2/3.2 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.2 point2point 0
15 Y Serial2/3.4 point2point 0
16 Y Serial2/3.2 point2point 0
R7#
R7#
R7#show ip cef 6.6.6.6
6.6.6.6/32, version 23, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 1 dependency
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency
0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
R7#show ip cef 6.6.6.6 in
R7#show ip cef 6.6.6.6 in
6.6.6.6/32, version 23, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 1 dependency
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#
R7#
R7#show ip cef 67.0.0.6 in
67.0.0.6/32, version 25, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 1 dependency
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0



============









R7#show ip route bgp
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [200/0] via 6.6.6.6, 00:01:15
R7#
R7#
R7#show ip cef 6.6.6.6 in
6.6.6.6/32, version 23, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 1 dependency
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 2)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#
R7#show ip cef 67.0.0.6 in
67.0.0.6/32, version 25, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#




R7#show ip cef 66.66.66.66
66.66.66.66/32, version 30, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
next hop 103.0.0.6, Serial2/3.3 via 6.6.6.6/32
valid adjacency
Recursive load sharing using 6.6.6.6/32.
R7#
R7#show ip cef 66.66.66.66 om
R7#show ip cef 66.66.66.66 in
R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 30, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
next hop 103.0.0.6, Serial2/3.3 via 6.6.6.6/32
valid adjacency

Recursive load sharing using 6.6.6.6/32
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 2)==============>

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#
R7#




R7#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#router bgp 67
R7(config-router)#no nei 67.0.0.6 shut
R7(config-router)#nei 6.6.6.6 shut
R7(config-router)#end


7#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#router bgp 67
R7(config-router)#no nei 67.0.0.6 shut
R7(config-router)#nei 6.6.6.6 shut
R7(config-router)#end
R7#
*Apr 14 10:33:23.859: %BGP-5-ADJCHANGE: neighbor 6.6.6.6 Down Admin. shutdown
*Apr 14 10:33:24.507: %SYS-5-CONFIG_I: Configured from console by console
R7#wr
Building configuration...
[OK]
R7#
*Apr 14 10:33:25.039: %BGP-5-ADJCHANGE: neighbor 67.0.0.6 Up
R7#
R7#
R7#show ip cef 6.6.6.6 in
6.6.6.6/32, version 23, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#show ip cef 67.0.0.6 in
67.0.0.6/32, version 25, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 1 dependency
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 2)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#



R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 31, epoch 0, per-destination sharing
0 packets, 0 bytes
via 67.0.0.6, 0 dependencies, recursive
next hop 101.0.0.6, Serial2/3.1 via 67.0.0.6/32
valid adjacency

Recursive load sharing using 67.0.0.6/32
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 2)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#



-------------refercount means how many route USED this Load distribution


R7(config)#router bgp 67
R7(config-router)#no nei 6.6.6.6 shut
R7(config-router)#end
R7#
R7#wr
Building configuration...
[OK]
R7#
*Apr 14 10:36:07.475: %SYS-5-CONFIG_I: Configured from console by console
R7#
*Apr 14 10:36:13.247: %BGP-5-ADJCHANGE: neighbor 6.6.6.6 Up
R7#


R7#show ip route bgp
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [200/0] via 67.0.0.6, 00:03:19
[200/0] via 6.6.6.6, 00:00:31
R7#
R7#
R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 32, epoch 0, per-destination sharing
0 packets, 0 bytes
via 67.0.0.6, 0 dependencies, recursive
traffic share 1
next hop 104.0.0.6, Serial2/3.4 via 67.0.0.6/32
valid adjacency
via 6.6.6.6, 0 dependencies, recursive
traffic share 1
next hop 102.0.0.6, Serial2/3.2 via 6.6.6.6/32
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 (refcount 1) =================> because this IOS not support multiplayer CEF

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.2 point2point 0
3 Y Serial2/3.4 point2point 0
4 Y Serial2/3.2 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.2 point2point 0
7 Y Serial2/3.4 point2point 0
8 Y Serial2/3.2 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.2 point2point 0
11 Y Serial2/3.4 point2point 0
12 Y Serial2/3.2 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.2 point2point 0
15 Y Serial2/3.4 point2point 0
16 Y Serial2/3.2 point2point 0
R7#


R7#show ip cef 6.6.6.6 in
6.6.6.6/32, version 23, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 1 dependency
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#
R7#show ip cef 67.0.0.6 in
67.0.0.6/32, version 25, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 1 dependency
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#






add a prefix on R6 :

[

R7#show ip route bgp
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [200/0] via 6.6.6.6, 00:02:11
[200/0] via 67.0.0.6, 00:00:12
6.0.0.0/32 is subnetted, 2 subnets
B 6.0.0.6 [200/0] via 6.6.6.6, 00:02:11
[200/0] via 67.0.0.6, 00:00:12
R7#
R7#
R7#show ip route ospf
6.0.0.0/32 is subnetted, 2 subnets
O 6.6.6.6 [110/65] via 104.0.0.6, 00:44:00, Serial2/3.4
[110/65] via 103.0.0.6, 00:44:00, Serial2/3.3
[110/65] via 102.0.0.6, 00:44:00, Serial2/3.2
[110/65] via 101.0.0.6, 00:44:00, Serial2/3.1
67.0.0.0/32 is subnetted, 2 subnets
O 67.0.0.6 [110/65] via 104.0.0.6, 00:44:00, Serial2/3.4
[110/65] via 103.0.0.6, 00:44:00, Serial2/3.3
[110/65] via 102.0.0.6, 00:44:00, Serial2/3.2
[110/65] via 101.0.0.6, 00:44:00, Serial2/3.1



A.

R7#show ip cef 6.6.6.6 in
6.6.6.6/32, version 23, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 1 dependency
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 1 dependency
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1) =============================>
[
ONLY route to 6.6.6.6 USE this result

although bgp route 66.66.66.66 and 6.0.0.6 nexthop is 6.6.6.6 ,
but because they loadbalance at BGP route layer,
so they will not refer to this

]

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#








B.

R7#show ip cef 67.0.0.6 in
67.0.0.6/32, version 25, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 1 dependency
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 1 dependency
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)
[
[
ONLY route to 6.6.6.6 USE this result

although bgp route 66.66.66.66 and 6.0.0.6 nexthop is 6.6.6.6 ,
but because they loadbalance at BGP route layer,
so they will not refer to this

]

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#





C.


R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 37, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
traffic share 1
next hop 101.0.0.6, Serial2/3.1 via 6.6.6.6/32
valid adjacency
via 67.0.0.6, 0 dependencies, recursive
traffic share 1
next hop 101.0.0.6, Serial2/3.1 via 67.0.0.6/32
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.1 point2point 0
2 Y Serial2/3.1 point2point 0
3 Y Serial2/3.1 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.1 point2point 0
6 Y Serial2/3.1 point2point 0
7 Y Serial2/3.1 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.1 point2point 0
10 Y Serial2/3.1 point2point 0
11 Y Serial2/3.1 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.1 point2point 0
14 Y Serial2/3.1 point2point 0
15 Y Serial2/3.1 point2point 0
16 Y Serial2/3.1 point2point 0
R7#
R7#show ip cef 6.0.0.6 in
6.0.0.6/32, version 36, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
traffic share 1
next hop 102.0.0.6, Serial2/3.2 via 6.6.6.6/32
valid adjacency
via 67.0.0.6, 0 dependencies, recursive
traffic share 1
next hop 102.0.0.6, Serial2/3.2 via 67.0.0.6/32
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 (refcount 1)

Hash OK Interface Address Packets
1 Y Serial2/3.2 point2point 0
2 Y Serial2/3.2 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.2 point2point 0
5 Y Serial2/3.2 point2point 0
6 Y Serial2/3.2 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.2 point2point 0
9 Y Serial2/3.2 point2point 0
10 Y Serial2/3.2 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.2 point2point 0
13 Y Serial2/3.2 point2point 0
14 Y Serial2/3.2 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.2 point2point 0
R7#




R7#show ip cef summary
IP CEF with switching (Table Version 42), flags=0x0
28 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 0
24 instant recursive resolutions, 0 used background process
28 leaves, 37 nodes, 42736 bytes, 47 inserts, 19 invalidations
4 load sharing elements, 1344 bytes, 4 references========================================>
[

2 ospf route creat 2cef result (load sharing elemetns) 2 bgp route creat 2 cef result(load sharing elemetns)
used by
2 routes (2 bgp + 2 ospf)<reference>

]
universal per-destination load sharing algorithm, id FAF17A31
3(0) CEF resets, 7 revisions of existing leaves
Resolution Timer: Exponential (currently 1s, peak 1s)
0 in-place/0 aborted modifications
refcounts: 9750 leaf, 9728 node

Table epoch: 0 (28 entries at this epoch)

Adjacency Table has 4 adjacencies


R7#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#int s2/3.1
R7(config-subif)#shut
R7(config-subif)#
*Apr 14 11:11:52.315: %OSPF-5-ADJCHG: Process 1, Nbr 104.0.0.6 on Serial2/3.1 from FULL to DOWN, Neighbor Down: Interface down or detached
R7(config-subif)#end



R7#show ip route ospf
101.0.0.0/24 is subnetted, 1 subnets
O 101.0.0.0 [110/128] via 104.0.0.6, 00:00:34, Serial2/3.4
[110/128] via 103.0.0.6, 00:00:34, Serial2/3.3
[110/128] via 102.0.0.6, 00:00:34, Serial2/3.2
6.0.0.0/32 is subnetted, 2 subnets
O 6.6.6.6 [110/65] via 104.0.0.6, 00:00:34, Serial2/3.4
[110/65] via 103.0.0.6, 00:00:34, Serial2/3.3
[110/65] via 102.0.0.6, 00:00:34, Serial2/3.2
67.0.0.0/32 is subnetted, 2 subnets
O 67.0.0.6 [110/65] via 104.0.0.6, 00:00:34, Serial2/3.4
[110/65] via 103.0.0.6, 00:00:34, Serial2/3.3
[110/65] via 102.0.0.6, 00:00:34, Serial2/3.2
R7#show ip route bgp
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [200/0] via 6.6.6.6, 00:15:48
[200/0] via 67.0.0.6, 00:05:27
6.0.0.0/32 is subnetted, 2 subnets
B 6.0.0.6 [200/0] via 6.6.6.6, 00:15:48
[200/0] via 67.0.0.6, 00:05:27

R7#show ip cef summ
IP CEF with switching (Table Version 45), flags=0x0
25 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 4
24 instant recursive resolutions, 0 used background process
25 leaves, 36 nodes, 41288 bytes, 48 inserts, 23 invalidations
5 load sharing elements, 1680 bytes, 5 references =======================================
[
[
3 ospf route creat 3 cef result (load sharing elemetns) 2 bgp route creat 2 cef result(load sharing elemetns)
used by
5 routes (2 bgp + 3 ospf)<reference>

]
universal per-destination load sharing algorithm, id FAF17A31
3(0) CEF resets, 7 revisions of existing leaves
Resolution Timer: Exponential (currently 1s, peak 1s)
2 in-place/0 aborted modifications
refcounts: 9490 leaf, 9472 node

Table epoch: 0 (25 entries at this epoch)

Adjacency Table has 3 adjacencies



]





shutdown neighbor :


R7(config)#router bgp 67
R7(config-router)#neighbor 67.0.0.6 shut
R7(config-router)#end
R7#


[




R7#show ip route bgp
66.0.0.0/32 is subnetted, 1 subnets
B 66.66.66.66 [200/0] via 6.6.6.6, 00:00:16
6.0.0.0/32 is subnetted, 2 subnets
B 6.0.0.6 [200/0] via 6.6.6.6, 00:00:16
R7#
R7#show ip route ospf
6.0.0.0/32 is subnetted, 2 subnets
O 6.6.6.6 [110/65] via 104.0.0.6, 00:49:17, Serial2/3.4
[110/65] via 103.0.0.6, 00:49:17, Serial2/3.3
[110/65] via 102.0.0.6, 00:49:17, Serial2/3.2
[110/65] via 101.0.0.6, 00:49:17, Serial2/3.1
67.0.0.0/32 is subnetted, 2 subnets
O 67.0.0.6 [110/65] via 104.0.0.6, 00:49:17, Serial2/3.4
[110/65] via 103.0.0.6, 00:49:17, Serial2/3.3
[110/65] via 102.0.0.6, 00:49:17, Serial2/3.2
[110/65] via 101.0.0.6, 00:49:17, Serial2/3.1
R7#


:::
because route loadbalance at bgp layer is not exsit ,so

B 66.66.66.66/32
B 6.0.0.6/32
O 6.6.6.6/32

will USE the same RESULT ,wo the refcount is "3"

R7#show ip cef 6.6.6.6 in
6.6.6.6/32, version 23, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 1 dependency
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 1 dependency
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 3)=============================>

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#show ip cef 6.0.0.6 in
6.0.0.6/32, version 38, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
next hop 104.0.0.6, Serial2/3.4 via 6.6.6.6/32
valid adjacency

Recursive load sharing using 6.6.6.6/32
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 3)==================================>

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#
R7#show ip cef 66.66.66.66 in
66.66.66.66/32, version 39, epoch 0, per-destination sharing
0 packets, 0 bytes
via 6.6.6.6, 0 dependencies, recursive
next hop 103.0.0.6, Serial2/3.3 via 6.6.6.6/32
valid adjacency

Recursive load sharing using 6.6.6.6/32
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 3)=====================================>

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#












R7#show ip cef 67.0.0.6 in
67.0.0.6/32, version 25, epoch 0, per-destination sharing
0 packets, 0 bytes
via 104.0.0.6, Serial2/3.4, 0 dependencies
traffic share 1
next hop 104.0.0.6, Serial2/3.4
valid adjacency
via 103.0.0.6, Serial2/3.3, 0 dependencies
traffic share 1
next hop 103.0.0.6, Serial2/3.3
valid adjacency
via 102.0.0.6, Serial2/3.2, 0 dependencies
traffic share 1
next hop 102.0.0.6, Serial2/3.2
valid adjacency
via 101.0.0.6, Serial2/3.1, 0 dependencies
traffic share 1
next hop 101.0.0.6, Serial2/3.1
valid adjacency

0 packets, 0 bytes switched through the prefix
tmstats: external 0 packets, 0 bytes
internal 0 packets, 0 bytes
Load distribution: 0 1 2 3 0 1 2 3 0 1 2 3 0 1 2 3 (refcount 1)========================> only 67.0.0.6 USE this

Hash OK Interface Address Packets
1 Y Serial2/3.4 point2point 0
2 Y Serial2/3.3 point2point 0
3 Y Serial2/3.2 point2point 0
4 Y Serial2/3.1 point2point 0
5 Y Serial2/3.4 point2point 0
6 Y Serial2/3.3 point2point 0
7 Y Serial2/3.2 point2point 0
8 Y Serial2/3.1 point2point 0
9 Y Serial2/3.4 point2point 0
10 Y Serial2/3.3 point2point 0
11 Y Serial2/3.2 point2point 0
12 Y Serial2/3.1 point2point 0
13 Y Serial2/3.4 point2point 0
14 Y Serial2/3.3 point2point 0
15 Y Serial2/3.2 point2point 0
16 Y Serial2/3.1 point2point 0
R7#





R7#show ip cef summary
IP CEF with switching (Table Version 40), flags=0x0
28 routes, 0 reresolve, 0 unresolved (0 old, 0 new), peak 0
20 instant recursive resolutions, 0 used background process
28 leaves, 37 nodes, 42624 bytes, 45 inserts, 17 invalidations
2 load sharing elements, 672 bytes, 4 references====================================================>
[
2 ospf route creat 2 result (load sharing elemetns)
used by
4 routes (2 bgp + 2 ospf)<refernce>

]
universal per-destination load sharing algorithm, id FAF17A31
3(0) CEF resets, 5 revisions of existing leaves
Resolution Timer: Exponential (currently 1s, peak 1s)
0 in-place/0 aborted modifications
refcounts: 9748 leaf, 9728 node

Table epoch: 0 (28 entries at this epoch)

Adjacency Table has 4 adjacencies








]

你可能感兴趣的:(CCIE,GSR)