2

I need to reset or default an interface on an Aruba switch. This may be the same for HP procurve switches, but I am not sure. On Cisco, the command would be default interface in global config mode. Is there an equivalent command for Aruba OS?

3
  • While in the interface configuration, is there a default command? Ex.: interface GigabitEthernet1/0/1 - [HP-GigabitEthernet1/0/1]default - This command will restore the default settings. Continue? [Y/N]:y There's also an undo command, where you can put undo in front of almost any command, just like no.
    – user36472
    Jan 24, 2018 at 19:41
  • There's no default command in interface config or global config that I can see.
    – Yanzzee
    Jan 24, 2018 at 20:11
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.
    – Ron Maupin
    Apr 1, 2018 at 20:01

2 Answers 2

2

There doesn't seem to be a simple command to reset an interface to default.

If it's any help you can quickly display the current config by running show config interface n - saves you from searching for the somewhat scattered relevant lines in the config file.

4

ArubaOS version 7.4

When working with Aruba Mobility Switches, there would be few instances where a port has to be bought to its default config state, so the new profiles can be applied again. Removing each associated profile would take time and gives a chance of configuration error. This one command suggested below would help us greatly:

Reset to default config with a single command:

(config) #no interface gigabitethernet 0/0/10
2
  • This does not appear to be working the same way for AOS 16.04.0009. "no interface ethernet [port number]" lists about 30 commands, but by itself is incomplete.
    – Yanzzee
    Jan 24, 2018 at 19:05
  • @Yanzzee i see i'm on version 7.4 so that might be a problem.
    – user36472
    Jan 24, 2018 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.