2. 2997.
As shown in Figure 6, let
⊙O be tangent to AB and
AC at points M and N, respectively. Draw
a line GH∥BC through
point E, intersecting
AB and AC at
points G and H, respectively. Then GH is tangent
to ⊙O at point E, and
△AGE∽△ABF,△AGH∽△ABC.
Let the perimeters of △AGH and △ABC be 2p′ and 2p, respectively. Then
=AG+GE=AG+GM=AM=AN=AH+HNAH+HE=p′.
Thus, pp′=2p2p′=ABAG=BFGE=AB+BFAG+GE
=AB+BFp′.
∴p=AB+BF. Hence BF=p−AB=CD.
∴BF+2CD=1998+21×1998=2997.