• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 490
  • Last Modified:

get 3com configuration (.cfg)

Anybody know if there is a command to get All the configuration of a 3com router.

1 Solution
There isn't a way that I'm aware of to simply view the entire configuration from the telnet or web interface on the router.  However, the configuration is saved on the router as a set of files that you can download and view using a text editor.  Here is how to retrieve these files:

1.)  Telnet to the router and log in.
2.)  Issue the "sf" command.
3.)  Note the directory associated with the "Primary Boot Source" (e.g. A:\PRIMARY).
4.)  Hit enter to go back to the standard prompt.
5.)  Issue the "df" command and look to insure the directory mentioned in step 3 exists.
6.)  Hit enter to go back to the standard prompt.
7.)  Change to that directory using the "cd" command (e.g. cd PRIMARY).
8.)  Issue the "df" again.  You will see the files that comprise your routers configuration.
9.)  Hit enter to go back to the standard prompt.
10.) Issue the "copy * <ip_address>:*" command, inserting the proper IP address of a TFTP server on your network (e.g. copy **).

This will TFTP all your router's configuration files over to a TFTP server.  You can then access the files with your favorite text editor to see your router's exact configuration.

HTH!  Good luck!
Be careful to get the files that have extensions.
A  "copy * <ip_address>:*" will only get the files without extensions.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now