Grstat, Grwrite, Mountf – Lucent Technologies 9077 16S User Manual

Page 81: Setver, Umountf, Vpurge

Advertising
background image

Monitoring and Management Tools

SP Switch Router command overview

SP Switch Router Adapter Guide - 1.4 Update 2

October 22, 1999

3-5

be set up to initialize an external (PCMCIA) flash device, copy the entire contents of the
internal flash device to it, and rename the image as a backup.

grstat

The grstat command options report layer 3 (IP and ICMP) forwarding statistics for the SP
Switch Router Adapter card and all other media card types excpt HIPPI. Error reporting
includes the saved source and destination IP addresses of the packet that caused the last error
of each type reported.

The grstat l2 command reports many of the Layer 2 (data link layer) statistics currently
reported by individual media card maint commands for SP Switch Router Adapter, ATM
OC-3c, HSSI, Ethernet, and SONET OC-3c cards. Examples are included in “Obtaining layer
2 and 3 statistics - grstat” on page 3-12.

grwrite

The grwrite command is crucial on the SP Switch Router because it saves configuration
changes made in the

/etc

directory to a flash device so the changes survive the boot-up

process. By default, grwrite saves a copy of those files with a newer time stamp than the last
boot.

mountf

This command mounts an external device so that the device looks like a file system to the
operating system. Mounting an external device enables various processes to be applied to the
device. A device is mounted as read only (default) or writable. mountf verifies (fsck) the
device before doing the mount. When a media card panics, mountf works with grdump to
write a panic dump out to an external storage device in a PCMCIA slot. See also umountf.

setver

This command specifies the software version that will load during the next system reboot. The
general form of the command is

setver

release_name

. When setver executes, it verifies

that the specified

release_name

can actually be loaded by checking to see that the

appropriate release files, start-up scripts, and configuration entities are in place. You see a
message if these release components are incomplete. See also getver.

umountf

This command unmounts a flash device previously mounted by the mountf command. See also
mountf.

vpurge

This command removes a specified release or configuration version from a specified flash
device.

Advertising
This manual is related to the following products: