beautypg.com

Getver, Grarp, Grcard – Lucent Technologies 9077 16S User Manual

Page 79: Grfins, Getver -3 grarp -3 grcard -3 grfins -3

background image

Monitoring and Management Tools

SP Switch Router command overview

SP Switch Router Adapter Guide - 1.4 Update 2

October 22, 1999

3-3

getver

This command tells you the version of the operating system that is currently running. It can
also report which release version will be run the next time the system is booted. In this case,
getver is used in conjunction with setver. The setver command specifies which release will be
run at the next system boot.

grarp

The grarp command displays the ARP table for a given IP address. If you specify grarp with
the IP address of the SP Switch Router Adapter card, it returns a physical address that is the
switch node number to which this card connects.

# grarp 192.146.162.67

gt030 (0): 192.146.162.67 at 0:0:0:0:0:2

In this example, 192.146.162.67 is the IP address of the SP Switch Router Adapter card in
slot 3 (interface name

gt030)

, and 0:0:0:0:0:2 is the switch node number. Other grarp options

edit, add, or remove ARP table entries.

grcard

This command displays slot number, media type, and current operating status of the installed
media cards.

super> grcard

0 FDDI_V2 running

1 FDDI_V2 running

2 ETHER_V1 running

3 HSSI_V1 running

5 HSSI_V1 running

6 SONET_V1 running

7 ETHER_V1 running

8 FDDI_V2 running

9 ATM_OC3_V2 running

10 HIPPI_V1 running

11 HSSI_V1 running

12 DEV1_V1 running

13 DEV1_V1 running

14 ATM_OC12_V2 running

15 ATM_OC12_V2 running

grfins

This command installs a release onto the internal flash device. In the process, it installs all the
new files and converts the system configuration files as required. Rebooting moves the image
to RAM.

As an example, if a release has a new

/etc/gratm.conf

file, grfins does not write over your

current version. Instead, it installs a new version of the

/etc/gratm.conf.template

file. In

this way, you can copy the current configuration information into the new

.template

file,

make any changes, and then save that file as the new

/etc/gratm.conf

.

This manual is related to the following products: