Around the core is a layer called the cladding . The fiber consists of a core surrounded by a cladding layer , both of which are made of dielectric materials . To confine the optical signal in the core , the refractive index of the core must be greater than that of the cladding .