'Disable paging is only available with specific roles so it may fail.'

def disable_paging(self, delay_factor=1):

    check_command = u'get    system    status    |    grep    Virtual\n'
    output = self.send_command_timing(check_command)
    self.allow_disable_global = True
    self.vdoms = False
    if (u'Virtual    domain    configuration:    enable' in output):
        self.vdoms = True
        vdom_additional_command = u'config    global'
        output = self.send_command_timing(vdom_additional_command, delay_factor=2)
        if (u'Command    fail' in output):
            self.allow_disable_global = False
            self.remote_conn.close()
            self.establish_connection(width=100, height=1000)
    new_output = u''
    if self.allow_disable_global:
        disable_paging_commands = [u'config    system    console', u'set    output    standard', u'end']
        if self.vdoms:
            disable_paging_commands.append(u'end')
        outputlist = [self.send_command_timing(command, delay_factor=2) for command in disable_paging_commands]
        new_output = u'\n'.join(outputlist)
    return (output + new_output)
