'Send configuration commands down the SSH channel.
config_commands is an iterable containing all of the configuration commands.
The commands will be executed one after the other.
Automatically exits/enters configuration mode.'

def send_config_set(self, config_commands=None, exit_config_mode=True, delay_factor=1, max_loops=150, strip_prompt=False, strip_command=False):

    delay_factor = self.select_delay_factor(delay_factor)
    if (config_commands is None):
        return u''
    elif isinstance(config_commands, string_types):
        config_commands = (config_commands,)
    if (not hasattr(config_commands, u'__iter__')):
        raise ValueError(u'Invalid    argument    passed    into    send_config_set')
    output = self.config_mode()
    for cmd in config_commands:
        self.write_channel(self.normalize_cmd(cmd))
        time.sleep((delay_factor * 0.5))
    output += self._read_channel_timing(delay_factor=delay_factor, max_loops=max_loops)
    if exit_config_mode:
        output += self.exit_config_mode()
    output = self._sanitize_output(output)
    log.debug(u'{0}'.format(output))
    return output
