I have a load panel mounted on the side of an equipment cabinet that is supplying power to various 120V electronic devices inside the cabinet. The total VA connected to the panel is calculated at 5000VA. The load panel has 100A main breaker installed. I need to supply main power to this load panel from a main distribution panel located some distance away. My question is if the cabling and breaker is properly sized from the main distribution panel to the load panel. (For example only) say 8awg was determined(to code)to handle the load from the main distribution panel at the distance at 240/5000va= 20.8A with a 30 amp breaker. Is it Proper and to code to feed the 100A load panel breaker from the 30A main distribution panel breaker ? Any insight would be appreciated.