Competitive exclusion:
Beneficial bacteria take the attachment sites and nutrients that Salmonella, E. coli and Clostridium need.
Selective feeding:
Fibres such as mannan- and fructo-oligosaccharides pass undigested to the lower gut, where beneficial bacteria ferment them.