Service Manual

Logging in to a NetBSD UNIX Shell
To log in to the NetBSD UNIX shell on a switch to directly use any of the UNIX commands described in Supported UNIX Utilities or to run a
script, use the start shell command.
You are prompted to enter a user name and password before you can access the shell. Login is performed using SSHv2.
Access the shell to run UNIX commands or a script (see Running a Script from the UNIX Shell).
EXEC Privilege mode
start shell
Downloading Scripts to a Switch
Download a script to the switch using TFTP, FTP, or FLASH. Save the script to the dedicated script storage location, /usr/pkg/ss-
scripts. For S3100 series, the storage location is /f10/flash/pkg/ss-scripts.
Network File System (NFS)
A Network File System (NFS) allows you to mount the le systems over a network and locally interact with those le systems. To manage
the le systems, perform the following tasks:
1 Congure the folders to mount a remote directory in the local Dell Networking OS path through a network le system (NFS).
CONFIGURATION mode
mount nfs nfs-server-ip: remote_dir mount_name [username username | password password]
NOTE
: The NFS server exportfs setting must include the insecure keyword.
root@administrator-X8DTU-6:/usr# exportfs -v
/home/admin 1.1.0.0/16
(rw, wdelay, insecure, root_squash, no_subtree_check, sec=sys, rw, root_squash,
no_all_squash)
2 Copy a script to a switch and the downloaded les are stored at /usr/pkg/ss-scripts.
EXEC
script get url
NOTE
: For S3100 series, the downloaded les are stored at /f10/flash/pkg/ss-
scripts.
3 Remove a script from a switch.
EXEC
script remove {file_name file-name | all}
Setting a Search Path for Scripts
Create a path to the location where you stored the scripts. The Dell Networking OS uses this path when searching for the scripts. This way
you do not have to specify a specic path when executing a script.
Set a search path for a script in the Dell Networking OS.
CONFIGURATION mode
script path path-name
Smart Scripting
77