CLI server is implemented based on Quagga CLI engine. For the characteristics of OLT, hierarchical structure of CLI was designed, which can be divided into 3 parts: EPON, SWITCH and SYSTEM. CLI服务器的实现基于Quagga的CLI引擎,针对OLT设备的特点,设计了层次型CLI结构,将主要的管理划分为3部分:EPON、SWITCH和SYSTEM。