Hi @Raveena
Can you please let me know how you tried to reset factory default setting ? I hope you press and hold the clear buttion on front panel of the switch . Sometime you may need to hold the switch for few more seconds ( apprxo 25 for this model )
To reset a Switch to factory default settings:
Using a small, pointed implement such as a straightened paper clip, simultaneously press the Reset and Clear buttons located on the face of the switch
Release the Reset button and continue to hold the Clear button until the Self Test LED begins to flash
Release the Clear button.
I suggest you to refer following links for more information
https://support.hpe.com/hpesc/public/docDisplay?docId=mmr_kc-0127335
https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=emr_na-c02597269