Around 40% of school leavers in the UK attend university and individual universities generally host thousands of students each academic year. Bringing together these student communities during the COVID-19 pandemic may require strong interventions to control transmission. Prior modelling analyses of SARS-CoV-2 transmission within universities using compartmental modelling approaches suggest that outbreaks are almost inevitable. We constructed a network-based model to capture the interactions of a student population in different settings (housing, social and study). For a single academic term of a representative campus-based university, we ran a susceptible-latent-infectious-recovered type epidemic process, parameterised according to available estimates for SARS-CoV-2. We investigated the impact of: adherence to (or effectiveness of) isolation and test and trace measures; room isolation of symptomatic students; and supplementary mass testing. With all adhering to test, trace and isolation measures, we found that 22% (7%-41%) of the student population could be infected during the autumn term, compared to 69% (56%-76%) when assuming zero adherence to such measures. Irrespective of the adherence to isolation measures, on average a higher proportion of students resident on-campus became infected compared to students resident off-campus. Room isolation generated minimal benefits. Regular mass testing, together with high adherence to isolation and test and trace measures, could substantially reduce the proportion infected during the term compared to having no testing. Our findings suggest SARS-CoV-2 may readily transmit in a university setting if there is limited adherence to nonpharmaceutical interventions and/or there are delays in receiving test results. Following isolation guidance and effective contact tracing curbed transmission and reduced the expected time an adhering student would spend in isolation.