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?
2 Answers
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.
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
-
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.– YanzzeeJan 24, 2018 at 19:05
-
@Yanzzee i see i'm on version 7.4 so that might be a problem.– user36472Jan 24, 2018 at 19:21
interface GigabitEthernet1/0/1
-[HP-GigabitEthernet1/0/1]default
-This command will restore the default settings. Continue? [Y/N]:y
There's also anundo
command, where you can put undo in front of almost any command, just likeno
.