D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 296
md5
Calculates the MD5 checksum for a file in the switch’s nonvolatile storage.
Syntax: md5 [boot0: | boot1:]filename
boot0: | boot1: Boot partition into which you copied the file.
filename: Name of the file.
Defaults: None.
Access: Enabled.
Usage: You must include the boot partition name in front of the filename. If you specify only the
filename, the CLI displays a message stating that the file does not exist.
Examples: The following command calculates the checksum for image file MX040003.020 in
boot partition 0:
DWS-1008# md5 boot0:MX040003.020
MD5 (boot0:MX040003.020) = b9cf7f527f74608e50c70e8fb896392a
See Also:
• copy
• dir
mkdir
Creates a new subdirectory in nonvolatile storage.
Syntax: mkdir [subdirname]
subdirname: Subdirectory name. Specify between 1 and 32 alphanumeric
characters, with no spaces.
Defaults: None.
Access: Enabled.
Examples: The following commands create a subdirectory called corp2 and display the root
directory to verify the result:
DWS-1008# mkdir corp2
success: change accepted.