
48
BigIron RX Series Configuration Guide
53-1002253-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 42.
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.
Содержание BigIron RX Series
Страница 100: ...24 BigIron RX Series Configuration Guide 53 1002253 01 Logging on through the Web Management Interface 2 ...
Страница 192: ...116 BigIron RX Series Configuration Guide 53 1002253 01 Configuring authentication method lists 4 ...
Страница 228: ...152 BigIron RX Series Configuration Guide 53 1002253 01 Enabling WAN PHY mode support 6 ...
Страница 312: ...236 BigIron RX Series Configuration Guide 53 1002253 01 Displaying IP information 7 ...
Страница 356: ...280 BigIron RX Series Configuration Guide 53 1002253 01 Resetting LLDP statistics 9 ...
Страница 402: ...326 BigIron RX Series Configuration Guide 53 1002253 01 Transparent firewall mode 11 ...
Страница 432: ...356 BigIron RX Series Configuration Guide 53 1002253 01 SuperSpan 12 ...
Страница 500: ...424 BigIron RX Series Configuration Guide 53 1002253 01 MRP CLI example 14 ...
Страница 580: ...504 BigIron RX Series Configuration Guide 53 1002253 01 Configuring multicast traffic engineering 18 ...
Страница 591: ...BigIron RX Series Configuration Guide 515 53 1002253 01 Displaying traffic reduction 19 ...
Страница 592: ...516 BigIron RX Series Configuration Guide 53 1002253 01 Displaying traffic reduction 19 ...
Страница 598: ...522 BigIron RX Series Configuration Guide 53 1002253 01 Viewing Layer 2 ACLs 20 ...
Страница 656: ...580 BigIron RX Series Configuration Guide 53 1002253 01 Trunk formation 22 ...
Страница 754: ...678 BigIron RX Series Configuration Guide 53 1002253 01 Displaying RIP filters 24 ...
Страница 814: ...738 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPF information 25 ...
Страница 932: ...856 BigIron RX Series Configuration Guide 53 1002253 01 Generalized TTL security mechanism support 26 ...
Страница 980: ...904 BigIron RX Series Configuration Guide 53 1002253 01 Clearing IS IS information 28 ...
Страница 1000: ...924 BigIron RX Series Configuration Guide 53 1002253 01 Using secure copy 30 ...
Страница 1088: ...1012 BigIron RX Series Configuration Guide 53 1002253 01 IP source guard 35 ...
Страница 1108: ...1032 BigIron RX Series Configuration Guide 53 1002253 01 Reading CDP packets 37 ...
Страница 1126: ...1050 BigIron RX Series Configuration Guide 53 1002253 01 Clearing sFlow statistics 39 ...
Страница 1140: ...1064 BigIron RX Series Configuration Guide 53 1002253 01 802 1s Multiple Spanning Tree Protocol 40 ...
Страница 1324: ...1248 BigIron RX Series Configuration Guide 53 1002253 01 Displaying OSPFv3 information 48 ...
Страница 1363: ...BigIron RX Series Configuration Guide 1287 53 1002253 01 Continuous System Monitor 51 ...
Страница 1364: ...1288 BigIron RX Series Configuration Guide 53 1002253 01 Continuous System Monitor 51 ...
Страница 1404: ...1328 BigIron RX Series Configuration Guide 53 1002253 01 Commands That Require a Reload D ...
Страница 1458: ...1382 BigIron RX Series Configuration Guide 53 1002253 01 VSRP E ...