NE-ONE: Viewing or Searching the ippe.log File

by Calnex

Viewing or Searching the ippe.log File

The ippe.log file

There are a few log files in the NE-ONE, but by far the most important is the ippe.log file. This contains information about:

  • the startup of the ippe emulation engine

  • initialisation of the ports

  • commands issued by the GUI

and more.

Accessing the ippe..log file

The full path to the log file is /ippe/logs/ippe.log and the most flexible way to access it is to ssh (or putty) to the IP address of the NE-ONE (standard ssh port 22).

 

You'll be logged in to the console and sitting in the console menu. One of the choices on this menu is to change the username and password which you should do if the NE-ONE can be accessed outside of a lab (say).

 

Leave the menu by choosing option E and then typing the <return> key.

 

You'll now be at the Linux command prompt

Using vim to search the file

use the command:

$ vim /ippe/logs/ippe.log

 

Now you can use the commands

G - to go to the bottom of the file

/string<enter key> - to search downwards for string

?string<enter key> - to search upwards for string

n - (next) go to the next string in the current search direction

b - (previous) go to the previous string in the current search direction

<Up arrow key> - go up one line

<Down arrow key> - go down one line

:nnnn<enter key> - go to line nnnn

:q! - quit the editor

 

A few interesting things to search for

 

IPPE V [the 3rd line in the current boot cycle]

Link<space> [information about ports (links) going up and down

Using tail -f to see what new things are being written to the log

use the command:

$ tail -200f /ippe/logs/ippe.log

 

This will show the last 200 lines in the file and then wait for new things to be written and display them when they are.

 

One example would be to plug in cables - you should see "Link up" events

 

To quit the tail process use <CTRL-C>