Collapse AllExpand All

2.18.6. Maintenance Previous topic Parent topic Child topic Next topic

The maintenance commands permit the current operational status of the gateway to be inspected, and provides access to diagnostic tools and interface and gateway controls.
Display
  • Commands which provide information on the gateway’s software configuration:
show version
show uptime
  • Display of IP-address, subnet and gateway:
show all parameters
  • Display of hostnames and IP-addresses:
show host
  • Get the name of the gateway:
show hostname
  • Display of arp-cache:
show arp cache
  1. It is also stored in the bootline as targetname.
  • Display of the IP address and subnetmask for the ethernet port:
show ip address
show ip subnet
  • Showing the time will display the time and the date:
show time
  • Command to get the IP address of the default gateway from the static routes table:
show default gateway
  • Command to display the static routes entries:
show routes
  • To display the statistics of the interface table:
show if counters
  • To list all existing interfaces:
show interfaces
  • To get admin and operating states:
show if states
Ping and tracert
  • Diagnosis Commands:
ping <ip address>
Target shell
  • vxWorks shell logon/logout:
shell
exit
Gateway Reboot
From the administrator point of view two different ways of a reboot command are of interest. At first there is the need to reboot the gateway with the current configuration. On the other side there could be the need to support a configuration data exchange, i.e. to take a configuration data file from extern or to skip the latest configuration data storage and take the next older one.
It is in the responsibility of the administrator to coordinate a gateway reboot!
  • Normal reboot of the gateway, using the current configuration data:
reset
  • Reset any configuration data to factory defaults and reboot:
reset factory
  • Special reboot of the gateway using an existing self-extracting image in order to complete a software download:
activate software