Using Redundant Management Modules
December 2000
5 - 25
You can use spaces in a file or subdirectory name if you enclose the name in double quotes. For example, to
specify a subdirectory name that contains spaces, enter a string such as the following: “a long subdirectory
name”.
A subdirectory or file name can be a maximum of 256 characters long. A complete subdirectory path name
cannot contain more than 260 characters.
The name is not case sensitive. You can enter upper- or lowercase letters. The CLI displays the name using
uppercase letters.
Removing a Subdirectory
To remove a subdirectory, enter a command such as the following:
BigIron# rmdir \TEST
Syntax:
rd | rmdir [slot1 | slot2] <dir-name>
You can enter either
rd
or
rmdir
for the command name.
The
slot1 | slot2
parameter specifies a PCMCIA slot.
The <dir-name> parameter specifies the subdirectory you want to delete. You can enter a path name if the
subdirectory is not in the current directory.
NOTE:
You can remove a subdirectory only if the subdirectory does not contain files or other subdirectories.
If you receive a message such as the following, enter the
pwd
command to verify that the management focus is at
the appropriate level of the directory tree.
BigIron# rmdir \TEST
File not found
Renaming a File
Use the following method to rename a file on a flash card.
USING THE CLI
To rename a file, enter a command such as the following:
BigIron# rename oldname newname
Syntax:
rename [slot1 | slot2] <old-name> <new-name>
If the command is successful, the CLI displays a new command prompt.
Changing the Read-Write Attribute of a File
The read-write attribute specifies whether a file on a flash card can be changed or deleted.
•
Read-only – You can display or copy the file but you cannot replace (copy over) or delete the file.
•
Read-write – You can replace (copy over) or delete the file. This is the default.
Use the following method to change the read-write attribute of a file.
USING THE CLI
To protect a file from accidental changes by changing the read-write attribute from read-write to read-only, enter a
command such as the following:
BigIron# attrib ro goodcfg.cfg
Syntax:
attrib [slot1 | slot2] ro | rw <file-name>
To determine the read-write attribute of a file, use the
dir
command to list the directory information for the file.
Files set to read-only are listed with “R” in front of the file name. See “Displaying a Directory of the Files on a
Flash Card” on page 5-21.
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...