HP UX 11i v2 Networking Software manual Dir, Related Commands card

Models: UX 11i v2 Networking Software

1 236
Download 236 pages 18.16 Kb
Page 195
Image 195

Usage Guidelines: Active images cannot be deleted. Refer to “Deleting Configuration, Image, and Log Files” (page 94) for directions about how to make a system-image inactive in order to delete it.

To delete a system-image from an individual gateway or switch cluster connection, use the card action command (some gateway functions are not supported by HP InfiniBand).

Examples:

HP-IB# delete config:ip-back.cfg******HP-IB#

Defaults: This command has no defaults.

Related Commands: “card” (page 192)

“copy” (page 193) “dir” (page 195)

dir

Synopsis: The dir command lists the system-image, configuration, and log files on the system chassis.

Syntax: dir config image syslog

This command requires one of three arguments: config, image, or syslog. The files are stored on the system chassis in separate file-systems. The CLI automatically tracks these file-systems so you do not need to include file-path information to administer these files.

Table B-63

dir Command Argument Descriptions

Argument

Description

config

Lists the configuration files.

image

Lists the current system image. The file-name entries ending in .img are image files. The

 

file-name entries that look like relative path-names are installed system-images. No more

 

than two system-images may be installed on the system. Image files must be unpacked and

 

installed before they may be used to boot the system.

syslog

Lists the log files.

Command Modes: Privileged-execute mode.

Privilege Level: General read-only user.

Usage Guidelines: The file-name entries ending in .img are image files. The file-name entries that look like relative path-names are installed system-images. No more than two system-images may be installed on the system. Image files must be unpacked and installed before they may be used to boot the system.

Examples: To display configuration files:

HP-IB# dir config

============================================================================

Existing Configurations on System

============================================================================

slot date-createdsize file-name

----------------------------------------------------------------------------

1

Thu Oct 24 11:21:06 2002

58

check.cfg

1

Thu Dec

5

14:50:09 2002

39216

check2.cfg

1

Wed Dec 11 09:09:54 2002

1712

config_bc.cfg

1

Thu Dec

5

11:18:21 2002

1712

running_config.cfg

1

Wed Dec

4

07:10:23 2002

4407

running_config.cfg.backup

1

Thu Dec

5

12:04:53 2002

1712

running_config2.cfg

1

Thu Oct 24 11:19:53 2002

58

test.cfg

HP-IB#

 

 

 

 

 

To display installed system-images and image files

HP-IB# dir image

Administrative Commands 195

Page 195
Image 195
HP UX 11i v2 Networking Software manual Related Commands card, Table B-63 Dir Command Argument Descriptions