Using the ExtremeXOS File System

The file system in ExtremeXOS is the structure by which files are organized, stored, and named.

The switch can store multiple user-defined configuration and policy files, each with its own name. Using a series of commands, you can manage the files on your system. For example, you can rename or copy a configuration file on the switch, display a comprehensive list of the configuration and policy files on the switch, or delete a policy file from the switch.
Note

Note

Filenames are case-sensitive. For information on filename restrictions, refer to the specific command in the ExtremeXOS 22.6 Command Reference Guide.

You can also download configuration and policy files from the switch to a network Trivial File Transfer Protocol (TFTP) server using TFTP. For detailed information about downloading switch configurations, see Software Upgrade and Boot Options. For detailed information about downloading policies and ACLs, see ACLs.

With guidance from Extreme Networks Technical Support personnel, you can configure the switch to capture core dump files, which contain debugging information that is useful in troubleshooting situations. For more information about configuring core dump files and managing the core dump files stored on your switch, see Understanding Core Dump Messages.

The location where files are stored:
  • Memory card/USB: /usr/local/ext
  • Internal memory: /usr/local/tmp
  • Home directory: /usr/local/cfg

The command ls without specifying the path returns results for just the Home directory.

By default, core dumps are stored in the internal memory space (/usr/local/tmp), so to see them, issue ls /usr/local/tmp.

List Files

# ls /usr/local/tmp
-rw-r--r-- 1 root root 7429 Sep 22 16:19 core.nvram.1
-rw-r--r-- 1 root root 7100 Sep 28 08:40 core.nvram.2
drwxrwxrwx 2 root root 1024 Sep 28 08:43 dhcp
-rw-rw-rw- 1 root root 1072 Sep 28 08:43 trigger_log_slot1.txt

TFTP Files

# tftp put 10.6.48.39 /usr/local/tmp/core.nvram.1 mmitchell/core.nvram.1
Uploading core.nvram.1 to 10.6.48.39 ... done! 

Copy Files

# cp /usr/local/tmp/core.nvram.1 core.copy
Copy 'core.nvram.1' from '/usr/local/tmp' to '/usr/local/cfg/core.copy'? (y/N) 

Move Files

# mv /usr/local/tmp/core.nvram.1 core.moveToHome
Move 'core.nvram.1' from '/usr/local/tmp' to '/usr/local/cfg/core.moveToHome'? (y/N)