F Commands

This chapter describes the system management commands that begin with F.

factory reset

To remove all the identifiable customer information on Cisco NX-OS devices in conditions of product removal due to Return Merchandise Authorization (RMA), or upgrade or replacement, or system end-of- life you can use the factory-reset command to securely erase all information.

factory-reset {fex [fex-id |<all>}

note.gif

Noteblank.gif There is no form for this command, once deleted you cannot regain the deleted information.


 
Command History

Release
Modification

7.3(11)N1(1)

This command was introduced.

 
Usage Guidelines

You use this command to erase customer information.

This command does not require a license.

note.gif

Note If fex is attached to the switch, to erase the customer data on the connected fex perform below operation before performing a factory reset on the switch:

  • To erase customer data on a single fex - factory reset fex <fex-id>
  • To erase customer data on all fex - factory reset fex all

Examples

This example shows the factory-reset of a switch:

switch(config)# factory-reset

!!!! WARNING !!!! The factory reset operation will erase ALL persistent storage on the specified module. This includes configuration, all log data, and the full contents of flash and SSDs. Special steps are taken in an effort to render data non-recoverable. Please, proceed with caution and understanding that this operation cannot be undone and will leave the system in a fresh-from-factory state.

!!!! WARNING !!!!
 
Continue? (y/n) [n] y
 
A device reload is required for the reset operation to proceed. Please, wait...
 
WARNING: This command will reboot the system 2006 Apr 24 06:23:17 switch %$ VDC-1 %$ %PFMA-2-PFM_SYSTEM_RESET: Manual system restart from Command Line Interface [ 972.939186] Shutdown Ports.. [ 972.947864] writing reset reason 9, Secure erase requested! Please, do not power off module!

feature ptp

To enable the PTP feature, use the feature ptp command. To unconfigure the PTP feature, use the no form of this command.

feature ptp

no feature ptp

 
Syntax Description

There are no arguments or keywords for this command.

 
Command Default

None

 
Command Modes

Global configuration mode

 
Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.

Examples

This example shows how to enable PTP on the device:

switch# configure terminal
switch(config)# feature ptp

feature ptp

To enable the PTP feature, use the feature ptp command. To unconfigure the PTP feature, use the no form of this command.

feature ptp

no feature ptp

 
Syntax Description

There are no arguments or keywords for this command.

 
Command Default

None

 
Command Modes

Global configuration mode

 
Command History

Release
Modification

6.0(2)N1(1)

This command was introduced.

Examples

This example shows how to enable PTP on the device:

switch# configure terminal
switch(config)# feature ptp

 
Related Commands

Command
Description

feature ptp

Enables or disables PTP on the device.

ptp source

Configures the source IP address for all PTP packets.

ptp domain

Configures the domain number to use for this clock.

ptp priority1

Configures the priority 1 value to use when advertising this clock.

ptp priority2

Configures the priority 1 value to use when advertising this clock.

show ptp brief

Displays the PTP status.

show ptp clock

Displays the properties of the local clock.