Wired Intelligent Edge (Campus Switching and Routing)

Reply
New Contributor

How to put in default mode an interface

Hi All,

 

I would like to know how to put in default mode an interface, like cisco got the "default" command, which command in AOS put an interface in default mode, it exist this command?

 

Regards,

 

MVP Expert

Re: How to put in default mode an interface


@enlusa wrote:

Hi All,

 

I would like to know how to put in default mode an interface, like cisco got the "default" command, which command in AOS put an interface in default mode, it exist this command?

 

Regards,

 


on the ArubaCX or Aruba (2930F, 3810...)




PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info


PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info


PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)


PowerArubaIAP: Powershell Module to use Aruba Instant AP




ACMP 6.4 / ACMX #107 / ACCP 6.5
New Contributor

Re: How to put in default mode an interface

Hi @alagoutte


@alagoutte wrote:

on the ArubaCX or Aruba (2930F, 3810...)

 

 

MVP Expert

Re: How to put in default mode an interface


@enlusa wrote:

Hi @alagoutte


@alagoutte wrote:

on the ArubaCX or Aruba (2930F, 3810...)

 

 


Hi,

 

It is not possible




PowerArubaSW: Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP... More info


PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...) More info


PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)


PowerArubaIAP: Powershell Module to use Aruba Instant AP




ACMP 6.4 / ACMX #107 / ACCP 6.5
Guest Blogger

Re: How to put in default mode an interface

Like @alagoutte mentions, this is not possible.

 

You have to "no" all commands. If a command isn't deleted via the "no" version of the command, it means you have to enter the default value to remove the command from the configuration.

 

Example:

To remove the command "aaa port-access authenticator 1/1 tx-period 10" you have to configure the default value of the command, which is 30

 

aaa port-access authenticator 1/1 tx-period 30

 

@rene_booches | AMFX #26, ACMX #438, ACCX #725, ACDX #760, CCNP R&S, CEH | Co-owner/Solution Specialist@4IP / blog owner@booches.nl
Occasional Contributor I

Re: How to put in default mode an interface

Hi,

Yeah, you have to undo most of the config.

If it was comware, there is an default command since most interface config is done at the interface.

For Aruba OS switch, some interface config is done at vlan level, hence why this don't seem possible.

However, when I need to undo commands, getting the right show commands is always a problem. I normally use 'show config int n', but there are others you can explore. Please see the link below for some other suggestions.

https://h22208.www2.hpe.com/eginfolib/networking/docs/switches/common/15-18/5998-8158_bog/content/ch04s09.html

(Sorry, document is quite old, but it's saved as my shortcut ;-) )
MVP Expert

Re: How to put in default mode an interface

Greetings!

 

Here is the current version of that section. 



Matt Fern
Technical Marketing Engineer, Wired Intelligent Edge

Aruba, a Hewlett Packard Enterprise company

8000 FOOTHILLS BLVD  |  ROSEVILLE, CA 95747
T: 916.540.1759  |  E: mfern@hpe.com   |   Matt @ Twitter
Highlighted
New Contributor

Re: How to put in default mode an interface

Hello enlusa,

 

First of all there is no single command like to make the interface to its default settings.

 

You need to go to the interface configuration mode and then

1. Undo the configuration by putting "no"  in front of present command

2. There are some POE Configuration which will not be removed by no "command" and you need to set the default value to make it removed.

 

If you share the configuration, I can help you to configure the interface as default.

 

In case if you satisfied with answer - press kudos

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: