LogoLogo
Island Router CLI Reference Guide 2.3.2
Island Router CLI Reference Guide 2.3.2
  • Overview
  • Context Sensitive Help
  • URL Format
  • Password Encryption and Public Key Authentication
  • Command Scheduler
  • Commands
    • auto-update
      • auto-update days
      • auto-update time
    • backup
      • backup interval
      • backup url
    • clear connections
    • clear dhcp-client
    • clear dump
    • clear everything
    • clear log
    • clear network
    • clear package
    • clear pin
    • clear ssh client-keys
    • clear ssh host-keys
    • clear ssh known-hosts
    • clear syslog
    • clear update
    • clear vpn-keys
    • compact
    • configure authorized-keys
    • configure known-hosts
    • configure network
    • configure terminal
    • description
    • duplex
    • end
    • ethernet polling
    • exit
    • help
    • history
      • history empty
      • history filter
      • history interval
      • history output-format
      • history rename
      • history url
      • history utc
    • hostname
    • interface
    • ip (interface context)
      • ip address
      • ip autoconfig
      • ip autovlan
      • ip arp-scan
      • ip arp-spoof
      • ip priority
      • ip dhcp6-client
      • ip dhcp6-server
      • ip dhcp-client
      • ip dhcp-lease
      • ip dhcp-monitor
      • ip dhcp-scope
      • ip dhcp-server
      • ip ident4
      • ip ident6
      • ip mtu
      • ip nat4
      • ip nat6
      • ip router-advertise
      • ip router-solicit
    • ip (global context)
      • ip ddns name
      • ip ddns ipv6
      • ip dhcp-reserve
      • ip dns local-only
      • ip dns mode
      • ip firewall
      • ip ipv6
      • ip load-sharing
      • ip max-clients
      • ip port-forward
      • ip route
    • led level
    • login confirm
    • login console
    • login remote
    • login support
    • mac output-format
    • ntp
    • package
    • packet level
    • parent
    • password
    • ping
    • reload
    • rollback
    • show clock
    • show config authorized-keys
    • show config known-hosts
    • show dumps
    • show free-space
    • show hardware
    • show history
    • show interface
    • show interface summary
    • show interface transceivers
    • show ip dhcp-reservations
    • show ip interface
    • show ip neighbors
    • show ip recommendations
    • show ip routes
    • show ip sockets
    • show log
    • show ntp
    • show packages
    • show public-key
    • show running-config
    • show ssh-client-keys
    • show startup-config
    • show stats
    • show syslog
    • show users
    • show vpns
    • show version
    • speed
    • ssh
    • stats
    • syslog
      • syslog level
      • syslog protocol
      • syslog server
    • telnet
    • terminal
      • terminal length
      • terminal terminal-type
      • terminal width
    • timezone
    • update
    • vpn key-exchange
    • vpn peer
      • vpn peer generate client
      • vpn peer host
      • vpn peer local-ip
      • vpn peer mac
      • vpn peer name
      • vpn peer public-key
      • vpn peer remote-ip
      • vpn peer route
      • vpn peer shutdown
      • vpn peer unapproved
      • vpn peer visible
    • vpn port
    • vpn renumber
    • vpn route
    • vpn server
      • vpn server auto-trust
      • vpn server auto-visible
      • vpn server no-local
      • vpn server pool
      • vpn server secret
    • vpn sort
    • write
      • write dump
      • write memory
      • write network
      • write syslog
      • write terminal
Powered by GitBook
On this page
  • Syntax
  • Syntax Description
  • Defaults
  • Usage Guidelines
  • Examples
  • Related Commands
Export as PDF
  1. Commands

show history

Display history records.

Previousshow hardwareNextshow interface

Last updated 3 months ago

Syntax

show history [begin <time>] [counts] [end <time>] [first <template>] [format <template>] [ignore] [unadjusted] [wait] [where <filter>]

Syntax Description

begin

counts

(Optional) If specified, the number of history records processed will be included at the end of the display.

end

first

format

ignore

(Optional) Ignore dependency requirements. For example, if the output template includes a parameter that doesn't exist in a record, it could be suppressed if this option isn't specified.

unadjusted

(Optional) in the rare case that the clock steps backward, timestamps are adjusted to always move forward. Specifying this option will show the unadjusted time.

wait

(Optional) If specified, the command will wait for new records to be displayed. The command can be aborted using Control-C.

where

Defaults

The default is to display all available history records. For information on the default output format, refer to the command.

Usage Guidelines

This command displays event history records. Records will be displayed starting at the specified begin time and will end prior to the specified end time. The begin and end times must be one of the following:

  • An absolute time in the form “YYYY[/-.]MM[/-.]DD[[ T]hh:mm[:ss]]” (e.g., “2018-07-15T10:43”). Absolute times are interpreted in the local timezone.

  • The number of seconds since 00:00:00 UTC on January 1st, 1970 (e.g., “1531669380”).

  • A relative time in the past, in the form “nu”, where “n” is a positive integer and u is one of “s” (seconds), “m” (minutes), “h” (hours), “d” (days), “w” (weeks), “M” (months), or “y” or “Y” (years). When a relative time is specified, all smaller intervals are assumed to be the lowest possible value. That is, “1h” specifies a starting time at the top of the previous hour, “1w” specifies a starting time of 00:00:00 of the day 7 days ago, and “1M” specifies a starting time of 00:00:00 on the first day of the previous month. For example, to display all records from the previous calendar month, use “begin 1M end 0M”. Relative times are interpreted in the local timezone.

  • The word “now”, “old”, or “end”, referring to the current time, the earliest possible time, or the latest possible time, respectively.

Examples

show history
show history begin 1h where mac=00:00:5e:00:5e:b9
show history begin 3d where flags=/blocked/

Related Commands

(Optional) Display only those records whose timestamp is equal to or later than the specified time. Refer to below for the syntax of the time parameter.

(Optional) Display only those records whoise timestamp is earlier than the specified time. Refer to below for the syntax of the time parameter.

(Optional) Show only the first occurance of a record matching the specified template. Refer to the command for the syntax of the template parameter.

(Optional) Specifies the output format. Refer to the command for the syntax of the template parameter.

(Optional) If specified, only records matching the specified filter criteria will be displayed. Refer to the command for type syntax of the filter parameter.

The format option specifies the desired output format. Refer to the command for supported output formats.

If the where option is specified, only records matching the specified filter will be displayed. Refer to the command for supported filter values.

history output-format
history output-format
history filter
history output-format
history output-format
history filter
Usage Guidelines
Usage Guidelines