'Get configure through cli'

def cli_get_config(self):

    regular = '|    include    snmp    |    include    trap'
    flags = list()
    flags.append(regular)
    tmp_cfg = get_config(self.module, flags)
    return tmp_cfg
