Error: please renew the default configrations [How to Solve]

Please revert to the default configuration

When you are prompted to revert to the default configuration when configuring the switch, you need to delete the original configuration step by step and reconfigure the switch.
Reconfigure the switch, if you configure it directly, it will report an error

Example

Original configuration

port link-type access
port default vlan 500

The configuration that needs to be changed

interface GigabitEthernet0/0/28
undo port link-type  
undo port default vlan 500 
port link-type trunk 
 port trunk allow-pass vlan 2 to 4094

Read More: