Cli guide, Introduction, Flash partition – SENA SS800 User Manual

Page 97

Advertising
background image

97

8. CLI Guide

8.1. Introduction

The Super Series root or System Administrator (only admin account is added for this group user by

factory default) can access the Linux console command line interface (CLI) of the Super Series via the

serial console or TELENT/SSH. In the CLI, the authorized user can perform standard Linux commands

to view the status of the Super Series, edit the configuration, apply configuration changes, define user

scripts and transmit files between the Super Series and remote hosts.

The Super Series provides 1024 KB user space mounted in /usr2 for read/write capabilities in its

internal flash memory. Using the user space, the user can create his own scripts or executable

binaries to customize the Super Series.

A root user will always have access to the CLI through the serial console on the Super Series back

panel or by using a Telnet client from their workstation.

A System Administrator cannot have access to the CLI.

He can only access console configuration

menu or Web UI.

8.2. Flash Partition

The Super Series internal flash is partitioned as shown in the table below. The users can freely access

the Mtdblock5 which is mounted on /usr2 for their own needs. The user can also access files at

/etc

, /var, and /temp at their own risk. Simply accessing these files will not affect the Super Series

after rebooting. However, if the user invokes the command saveconf, the changes in the

configuration file will be committed to the internal flash memory area of the Super Series. This will

result in the changes being kept after the reboot sequence. Invalid configuration changes can affect

the Super Series behavior. At worst, it may cause the Super Series to be inoperable.

Block

Type

Mount point

Size (KB)

Mtdblock0

Bootloader

None

128

Mtdblock1

Kernel

None

768

Mtdblock2

CRAMFS (Read only)

/

6080

Mtdblock3

Ram disk image (4MB)

/etc, /var, /tmp

64

Mtdblock4

EXT2 (R/W)

/cnf (normally unmounted)

64

Mtdblock5

JFFS2 (R/W)

/usr2

1024

Mtdblock6

Reserved

None

64

Total

8192

Advertising