code: def config(self, commands, **kwargs):
          
          commands = make_iterable(commands)
          commands = list(commands)
  
          # push the configure command onto the command stack
          commands.insert(0, 'configure terminal')
          response = self.run_commands(commands, **kwargs)
  
          if self.autorefresh:
              self.refresh()
  
          # pop the configure command output off the stack
          response.pop(0)
  
          return response
docs: Configures the node with the specified commands
  
          This method is used to send configuration commands to the node.  It
          will take either a string or a list and prepend the necessary commands
          to put the session into config mode.
  
          Args:
              commands (str, list): The commands to send to the node in config
                  mode.  If the commands argument is a string it will be cast to
                  a list.
                  The list of commands will also be prepended with the
                  necessary commands to put the session in config mode.
              **kwargs: Additional keyword arguments for expanded eAPI
                  functionality. Only supported eAPI params are used in building
                  the request
  
          Returns:
              The config method will return a list of dictionaries with the
                  output from each command.  The function will strip the
                  response from any commands it prepends.