In this study, we propose a bandwidth assignment scheme designed to measure traffic from 5G systems at optical network units of optical access systems and reflect it in dynamic bandwidth allocation (DBA) at optical line terminals. The proposed algorithm applies a linear regression analysis and an extrapolation approximation to enable a simple implementation. Although DBA is conventionally performed independently in optical access networks, the proposed method links it with the amount of traffic from 5G systems to achieve seamless bandwidth allocation.