cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4923
Views
5
Helpful
5
Replies

Resetting MARS device back to factory defaults

kerry.kielty
Level 1
Level 1

Hi,

I would like to set my MARS device back to the factory defaults so I can clear out all of my drop rules and start again from scratch. Is there an easy way to do this? Also, what would I need to backup before resetting the device? I would like to just delete all of my drop rules and start over again, but I know you can't do that. Any help/guidance would be appreciated!

Thanks,
Kerry

3 Accepted Solutions

Accepted Solutions

Siddharth Chandrachud
Cisco Employee
Cisco Employee

Yes you can. From CLI of Mars:

----------------------------------------------

[pnadmin]$ pnreset -h
Usage:  pnreset or pnreset option.

        Default. With no options pnreset restores the appliance to factory
        defaults and purges all configuration and event data (certificate and
        fingerprints stored to validate reporting devices, topology settings,
        archived logs, and the license key information).

    -h  Displays this usage information.
    -g  Removes the Global Controller data from a Local Controller, leaving
        the Local Controller-specific data and the Global Controller
        communication information untouched.  Use this option only after
        a Global Controller crash or recovery.  In this case, "pnreset -g"
        must be executed on every Local Controller that was monitored by
        the failed Global Controller.
    -s  Removes the Global Controller communication information and resets
        a Local Controller to standalone mode.  It removes the Global Controller
        data and connectivity data from the Local Controller as well as the
        default Controller zone information.  Use this option only after
        a failed Delete of the Local Controller entry from the Global Controller
        "Local Controller Management" web page.
    -o  Resets the tnsnames.ora file to factory default. The tnsnames.ora file
        is required for the Oracle client to connect to the Oracle server.
    -j  Resets the web server scheduler depending on Local Controller's
        running mode. A restart of web server is enforced.

[pnadmin]$ pnreset
Reset command will erase all data in database and reboot the machine.
Please type YES if you want to proceed:

------------------------

Hope this helps.

- Sid

View solution in original post

Hi Kerry,

Yes please note down the license key.

From MARS GUI:

ADMIN> SYSTEM MAINTENANCE > SET LICENSE

Note down the license key.

- Sid

View solution in original post

No problem. Please close this thread if your issue has been resolved.  Thanks, Sid

View solution in original post

5 Replies 5

Siddharth Chandrachud
Cisco Employee
Cisco Employee

Yes you can. From CLI of Mars:

----------------------------------------------

[pnadmin]$ pnreset -h
Usage:  pnreset or pnreset option.

        Default. With no options pnreset restores the appliance to factory
        defaults and purges all configuration and event data (certificate and
        fingerprints stored to validate reporting devices, topology settings,
        archived logs, and the license key information).

    -h  Displays this usage information.
    -g  Removes the Global Controller data from a Local Controller, leaving
        the Local Controller-specific data and the Global Controller
        communication information untouched.  Use this option only after
        a Global Controller crash or recovery.  In this case, "pnreset -g"
        must be executed on every Local Controller that was monitored by
        the failed Global Controller.
    -s  Removes the Global Controller communication information and resets
        a Local Controller to standalone mode.  It removes the Global Controller
        data and connectivity data from the Local Controller as well as the
        default Controller zone information.  Use this option only after
        a failed Delete of the Local Controller entry from the Global Controller
        "Local Controller Management" web page.
    -o  Resets the tnsnames.ora file to factory default. The tnsnames.ora file
        is required for the Oracle client to connect to the Oracle server.
    -j  Resets the web server scheduler depending on Local Controller's
        running mode. A restart of web server is enforced.

[pnadmin]$ pnreset
Reset command will erase all data in database and reboot the machine.
Please type YES if you want to proceed:

------------------------

Hope this helps.

- Sid

Hi Sid,

Thanks for the response. Should I be worried about the license? Should I back it up somewhere before I reset the device or is it something I just type in afterward?

Thanks,
Kerry

Hi Kerry,

Yes please note down the license key.

From MARS GUI:

ADMIN> SYSTEM MAINTENANCE > SET LICENSE

Note down the license key.

- Sid

Hi Sid,

I guess I'm ready to reset it!

Thanks,
Kerry

No problem. Please close this thread if your issue has been resolved.  Thanks, Sid