Lucent Technologies 9077 16S, 9077 04S, 9076 SP Switch Router command overview, Csconfig, flashcmd

Models: 9077 16S 9076 9077 04S

1 150
Download 150 pages 32.15 Kb
Page 78
Image 78

Monitoring and Management Tools

SP Switch Router command overview

SP Switch Router command overview

This section provides a brief overview of frequently-used management commands. These are administrative and configuration commands, most are prefixed with gr and most operate on the router’s internal flash.

These commands manage memory and support multiple configuration versions. These include: flashcmd , getver, grfins , grsite, grsnapshot, grwrite, mountf, setver, umountf, and vpurge.

Refer to the GRF Reference Guide for command syntax and examples. Man pages are available for most of these commands.

Many of the commands read/write the internal flash device. Those commands will mount the flash ( mountf -w), perform their function, and then unmount the flash. Mounting takes several seconds. If you are doing several commands in a row, mount the flash yourself to avoid the repeated mount/unmount delay. The commands do not mount flash if it is already mounted and do not unmount it if they did not mount it.

This diagram of the control board memory structure provides a reference point as you review the memory commands.

System RAM 128MB

---> 256 MB

 

96

 

 

 

 

 

 

 

 

+

 

64

 

MB

 

 

MB

 

 

 

 

 

 

64

 

 

Permanently

32

 

 

MB

 

 

 

 

 

 

reserved for

 

 

 

 

 

 

MB

 

 

 

 

 

 

file system

 

 

 

 

 

 

 

 

 

 

 

 

 

---> 384 MB

64

+MB

64

MB

---> 512 MB

64

+MB

64

MB

Internal flash

device

85MB

 

 

 

 

Slot A

Control board

 

 

 

 

 

 

 

 

Administrative

 

 

CPU

LAN (de0)

Disk

 

 

 

 

PCMCIA

 

 

 

 

device options

 

 

Figure 3-1. SP Switch Router control board memory components

Slot B

modem

(g0001)

csconfig

csconfig sets a PCMCIA slot interface on (up) or off (down), and reports general interface and device status. This command is useful for remote management of PCMCIA devices to verify the status of device and slot interface readiness.

flashcmd

This SP Switch Router command mounts the specified flash device, executes a command (such as write, read, ls, df) on the device, and then unmounts the device. For example, to use the df command to determine device capacity, use flashcmd df .

3-2

SP Switch Router Adapter Guide - 1.4 Update 2

Page 78
Image 78
Lucent Technologies 9077 16S, 9077 04S, 9076 manual SP Switch Router command overview, Csconfig, flashcmd