fdezmichael

updated

6 years ago

0

26452

April 24th, 2018 16:00

Delete all configuration from a port | N4000/N2000

Hi,

I have pair of N4000 and N2000 series.. and some ports with specifics configurations.. and I cannot remove them. I mean, I need to reset the port to the original status (Without any config applied to it).

 

Two Examples:

*N4000

interface Te1/0/14
description "Port_FW_1"
spanning-tree portfast
switchport mode general
switchport access vlan 220
switchport trunk native vlan 220
switchport trunk allowed vlan remove 1-4093
no lldp tlv-select dcbxp ets-config
no lldp tlv-select dcbxp ets-recommend
no lldp tlv-select dcbxp pfc
no lldp tlv-select dcbxp application-priority
exit

* N2000

interface Gi1/0/40
switchport trunk native vlan 300
switchport trunk allowed vlan remove 1-4093
exit

Notes:

I removed some with:

no switchport mode

But when I try to remove the native vlan i got:

console(config-if-Gi1/0/40)#no switchport trunk native vlan

Could not configure pvid.

console(config-if-Gi1/0/40)#
<187> Apr 25 07:30:12 0.0.0.0-1 DOT1Q[emWeb]: dot1q_api.c(6438) 538 %% ERR Port is forbidden member in Vlan(1)

Please, can someone let me know how to reset the port to the original status (without settings)?.

Thank you.

Michael.

 

 

  • damogill

    17 Posts

    23126

    0

    Posted April 30th, 2018 04:00

    DELL should introduce the default interface command that is present in the Cisco world. It's much easier than using loads of no statements. If you can put in a feature request to the product manager that would be great!

  • JoshG678

    4 Posts

    15956

    1

    Posted February 26th, 2020 10:00

    They have this command on version 6.5.3.4:

     

    default gi1/0/29

    This operation may take a few minutes.
    The console prompt will return when the operation is complete.
    Are you sure you want to factory default the interface configuration? (y/n) y

  • AdamB-

    1 Message

    14030

    0

    Posted July 10th, 2020 01:00

    Thanks !!