Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

406471

July 25th, 2012 05:00

Clear a port (or range of ports) of all settings (Cisco: default int)

I'm extremely new to Dell PowerConnect so bare with me. I work for a large education organisation and for the last 15 year we have only bought Cisco. 

I'm loving the PowerConnect 8024f and 5524p, very happy with both of them, I'm just lost on how to quickly clear a port of all config and make it stock/blank again. 

In Cisco IOS land I was very used to running (at config) default int gig 1/0/12, or even default int range gig 1/0/1-12, but I'm struggling to find the equal for the PowerConnects. 

I'm running firmware 4.2.2.3 on the 8024f and 4.1.0.1 5524p.

Thanks in advance.

If I've missed a previous post that goes over this my apologies, I'm new to the forum as well. 

5 Practitioner

 • 

274.2K Posts

July 25th, 2012 07:00

Sorry, but the PowerConnect line does not have a feature like this. You would need to look at each ports configuration and see what part of that you wanted to keep or delete, or change. And then make those changes.

You can reset the whole switch by running the following commands.

To reset a switch to factory defaults use the following commands:

• delete startup-config or simply del start.

• reload

But this may be further than you want to go.

Did you have a specific setting on the ports you were needing to change?

Thanks.

17 Posts

July 25th, 2012 16:00

'No switchport trunk native vlan' worked on the 5524 but no the 8024. When punched in 'switchport trunk native vlan 1' on the 8024 the line completely disappeared from that ports config.

Thanks for your help Daniel!

17 Posts

July 25th, 2012 07:00

Thanks for the reply Daniel,

I've worked out how to clear most things from ports on both the 5524 and the 8024, but on both I'm still left with a trunk native vlan setting.

I understand It wont come into play unless I'm configuring the port to be a trunk, but its still bugging me that I cant clear it.

5524

interface gigabitethernet1/0/12

switchport trunk native vlan none

!

8024

SW-A-L1-7

#show running-config interface tengigabitethernet 1/0/21

duplex full

switchport trunk native vlan 999

Thanks again for your help :)

17 Posts

July 25th, 2012 08:00

No effect on either switch sorry.

5 Practitioner

 • 

274.2K Posts

July 25th, 2012 08:00

To clear that trunk port you should be able to use the following command on the specific interface.

no switchport mode

Let us know if that does the trick.

Thanks.

5 Practitioner

 • 

274.2K Posts

July 25th, 2012 12:00

The default Native VLAN is  VLAN 1, to set it back to default you will run this command from the port interface.

Switchport trunk native vlan 1

When a port is set to trunk mode, it will use this VLAN to pass all untagged traffic. I am not seeing a command that would be used to clear or set the native VLAN to nothing.

You could try using the no version of the command, see if it has any affect.

No switchport trunk native vlan 999

Thanks

5 Practitioner

 • 

274.2K Posts

July 26th, 2012 07:00

Good to hear!

Thanks for keeping us up to date.

No Events found!

Top