A bundle of microtubules and microtubule-associated proteins forming the core of each CILIUM or FLAGELLUM. In most eukaryotic cilia or flagella, an axoneme shaft has 20 microtubules arranged in nine doublets and two singlets.