BigIron RX Series Configuration Guide
49
53-1001810-01
Flash memory and PCMCIA flash card file management commands
3
Renaming a file
You can rename a file in the management module’s flash memory or on a flash card inserted in the
management module’s slot 1 or slot 2 using the rename or mv command.
The software attempts to rename the file in the file system that has the current management
focus. By default, flash memory has the management focus. However, you do not need to change
the focus to rename the file in a file system that does not currently have management focus. In this
case, you can specify the /<directory>/<old-file-name> /<directory>/<new-file-name> parameter
with the rename or mv command to rename the file in the desired file system.
For example, to rename a file in flash memory, if flash memory has the current management focus,
enter a command such as the following.
BigIron RX# rename oldname newname
If the command is successful, the CLI displays a new command prompt.
Syntax: rename | mv [/<directory>/]<old-file-name> [/<directory>/]<new-file-name>
You can enter either rename or mv for the command name.
The /<directory>/ parameter specifies a directory in a file system that does not have current
management focus.
The <old-file-name> parameter specifies the original filename that you want to change.
The <new-file-name> parameter specifies the new filename that you want to assign to the original
file.
For example, to rename a file on the flash card inserted in slot 2, if flash memory has the current
management focus, enter a command such as the following.
BigIron RX# rename /slot2/oldname /slot2/newname
Changing the read-write attribute of a file
You can specify the read-write attribute of a file on a flash card as follows:
•
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.
NOTE
The read-write attribute of all files in flash memory is set to read-write. You cannot change this
attribute for the files in flash memory. Therefore, the attrib command does not apply to the flash
memory file system.
To determine the current setting of the read-write attribute for 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.
For information about the dir command, refer to
“Displaying a directory of the files”
on page 43.
The software attempts to change the read-write attribute of the file in the file system that has the
current management focus. By default, flash memory has the management focus. However, you do
not need to change the focus to change this attribute of the file in a file system that does not
currently have management focus. In this case, you can specify the slot1 or slot2 keyword with the
attrib command to change the attribute of the file in the desired file system.
Содержание Brocade DCX
Страница 40: ...xl BigIron RX Series Configuration Guide 53 1001810 01 ...
Страница 72: ...lxxii BigIron RX Series Configuration Guide 53 1001810 01 ...
Страница 88: ...16 BigIron RX Series Configuration Guide 53 1001810 01 Searching and filtering output 1 ...
Страница 300: ...228 BigIron RX Series Configuration Guide 53 1001810 01 Displaying IP information 7 ...
Страница 318: ...246 BigIron RX Series Configuration Guide 53 1001810 01 Deploying a LAG 8 ...
Страница 418: ...346 BigIron RX Series Configuration Guide 53 1001810 01 SuperSpan 12 ...
Страница 482: ...410 BigIron RX Series Configuration Guide 53 1001810 01 MRP CLI example 14 ...
Страница 506: ...434 BigIron RX Series Configuration Guide 53 1001810 01 Displaying VSRP information 15 ...
Страница 566: ...494 BigIron RX Series Configuration Guide 53 1001810 01 QoS for the oversubscribed 16 x 10GE modules 18 ...
Страница 582: ...510 BigIron RX Series Configuration Guide 53 1001810 01 Viewing Layer 2 ACLs 20 ...
Страница 634: ...562 BigIron RX Series Configuration Guide 53 1001810 01 Troubleshooting ACLs 21 ...
Страница 642: ...570 BigIron RX Series Configuration Guide 53 1001810 01 Trunk formation 22 ...
Страница 746: ...674 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIP filters 24 ...
Страница 808: ...736 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPF information 25 ...
Страница 926: ...854 BigIron RX Series Configuration Guide 53 1001810 01 Generalized TTL security mechanism support 26 ...
Страница 938: ...866 BigIron RX Series Configuration Guide 53 1001810 01 Displaying MBGP information 27 ...
Страница 950: ...878 BigIron RX Series Configuration Guide 53 1001810 01 Using secure copy 28 ...
Страница 988: ...916 BigIron RX Series Configuration Guide 53 1001810 01 Clearing IS IS information 29 ...
Страница 998: ...926 BigIron RX Series Configuration Guide 53 1001810 01 Configuring BFD for the specified protocol 30 ...
Страница 1014: ...942 BigIron RX Series Configuration Guide 53 1001810 01 Displaying multi device port authentication information 31 ...
Страница 1054: ...982 BigIron RX Series Configuration Guide 53 1001810 01 Sample 802 1x configurations 33 ...
Страница 1072: ...1000 BigIron RX Series Configuration Guide 53 1001810 01 IP source guard 35 Syntax show ip source guard ethernet port num ...
Страница 1108: ...1036 BigIron RX Series Configuration Guide 53 1001810 01 sFlow 39 ...
Страница 1190: ...1118 BigIron RX Series Configuration Guide 53 1001810 01 Displaying RIPng information 44 ...
Страница 1270: ...1198 BigIron RX Series Configuration Guide 53 1001810 01 Displaying ACLs 47 ...
Страница 1310: ...1238 BigIron RX Series Configuration Guide 53 1001810 01 Displaying OSPFv3 information 48 ...
Страница 1382: ...1310 BigIron RX Series Configuration Guide 53 1001810 01 Commands That Require a Reload D ...
Страница 1435: ...BigIron RX Series Configuration Guide 1363 53 1001810 01 VSRP E ...
Страница 1436: ...1364 BigIron RX Series Configuration Guide 53 1001810 01 VSRP E ...