show logging logfile start-seqn end-seqn
Use this command to display a range of lines in the log file.
Command Syntax
Copy
show logging logfile start-seqn (<0-2147483647>) (|(end-seqn <0-2147483647>))
Parameters
start-seqn <0-2147483647>
Starting line number
end-seqn <0-2147483647>
Ending line number
Command Mode
Execution mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
Copy
#show logging logfile start-seqn 2 end-seqn 7
2
3 2019 Jan 04 06:20:49.611 : NE4-router : CMLSH : CLI_HIST : User root@/dev/ttyS0 : CLI : sh logging logfile
4
5 2019 Jan 04 06:21:08.512 : NE4-router : CMLSH : CLI_HIST : User root@/dev/ttyS0 : CLI : show logging logfile last-index
6
7 2019 Jan 04 06:21:16.246 : NE4-router : CMLSH : CLI_HIST : User root@/dev/ttyS0 : CLI : show logging logfile last-index
NE4-router#
Here is the explanation of the show command output fields.
|
Entry |
Description |
|
start-seqn |
Starting line number |
|
end-seqn |
Ending line number |