High starch diets have been proven to increase the risk of hindgut acidosis in high-yielding dairy animals. As an effective measurement of dietary carbohydrate for ruminants, studies on rumen degradable starch (RDS) and the effects on the gut microbiota diversity of carbohydrate-active enzymes (CAZymes), and Kyoto Encyclopedia of Genes and Genomes (KEGG) Orthology functional categories are helpful to understand the mechanisms between gut microbiota and carbohydrate metabolism in dairy goats. A total of 18 lactating goats (45.8 ± 1.54 kg) were randomly divided equally into three dietary treatments with low dietary RDS concentrations of 20.52% (LRDS), medium RDS of 22.15% (MRDS), and high RDS of 24.88% (HRDS) on a DM basis for 5 weeks. Compared with the LRDS and MRDS groups, HRDS increased acetate molar proportion in the cecum. For the HRDS group, the abundance of family Ruminococcaceae and genus Ruminococcaceae UCG-010 were significantly increased in the cecum. For the LRDS group, the butyrate molar proportion and the abundance of butyrate producer family Bacteroidale_S24-7, family Lachnospiraceae, and genus Bacteroidale_S24-7_group were significantly increased in the cecum. Based on the BugBase phenotypic prediction, the microbial oxidative stress tolerant and decreased potentially pathogenic in the LRDS group were increased in the cecum compared with the HRDS group. A metagenomic study on cecal bacteria revealed that dietary RDS level could affect carbohydrate metabolism by increasing the glycoside hydrolase 95 (GH95) family and cellulase enzyme (EC 3.2.1.4) in the HRDS group; increasing the GH13_20 family and isoamylase enzyme (EC 3.2.1.68) in the LRDS group. PROBIO probiotics database showed the relative gene abundance of cecal probiotics significantly decreased in the HRDS group. Furthermore, goats fed the HRDS diet had a lower protein expression of Muc2, and greater expression RNA of interleukin-1β and secretory immunoglobulin A in cecal mucosa than did goats fed the LRDS diet. Combined with the information from previous results from rumen, dietary RDS level altered the degradation position of carbohydrates in the gastrointestinal (GI) tract and increased the relative abundance of gene encoded enzymes degrading cellulose in the HRDS group in the cecum of dairy goats. This study revealed that the HRDS diet could bring disturbances to the microbial communities network containing taxa of the Lachnospiraceae and Ruminococcaceae and damage the mucus layer and inflammation in the cecum of dairy goats.