Start a Conversation

Solved!

Go to Solution

1 Rookie

 • 

11 Posts

90

March 21st, 2025 15:33

N2048 setting deletion command

I have a question about the N2048 setting deletion command.

1. I would like to delete some settings that are set on the interface.

Is the following command correct?

no channel-group
no description
no switchport access vlan
no spanning-tree portfast
no switcnport protected


Is it necessary to specify the logical port number or vlan number?

2. If I want to change the description, can I overwrite it by setting a new description without deleting it?

3. Are the following commands used to delete vlans and logical ports?

no vlan [vlan number]

no interface port-channel [channel number]

4. What does the 0 in switcnport protected 0 mean?

Moderator

 • 

3.9K Posts

March 24th, 2025 01:21

Hi,

 

Referring to the CLI user guide for N2048: https://dl.dell.com/manuals/all-products/esuprt_ser_stor_net/esuprt_networking/networking-n1100-series_users-guide_en-us.pdf

 

Page 428: switchport protected
Page 390: description
Page 628: channel-group

 

For switchport protected 0, where 0 denotes the groupID ranged from 0-2

 

For description, you only issue a 'no description'. 

 

For channel-grooup, you only issue a 'no channel-group'. 

Moderator

 • 

4.5K Posts

March 21st, 2025 20:07

Hello,

I hope this formatting comes through. I have answered each line below:

 

1. I would like to delete some settings that are set on the interface.

Is the following command, correct?

no channel-group

no description

no switchport access vlan

no spanning-tree portfast

no switchport protected

 

yes, these are correct. Here is from the lab:

OS6#conf

OS6(config)#interface Gi1/0/1

OS6(config-if-Gi1/0/1)#no channel-group

OS6(config-if-Gi1/0/1)#no switchport access vlan

OS6(config-if-Gi1/0/1)#switchport protected 0

OS6(config-if-Gi1/0/1)#no switchport protected

OS6(config-if-Gi1/0/1)#no spanning-tree  portfast

 

Is it necessary to specify the logical port number or vlan number?

           
The “no switchport access vlan” does not require the vlan number in the end

 

2. If I want to change the description, can I overwrite it by setting a new description without deleting it?
 

          You can set a new description without deleting the old one. It will keep the new one.

          OS6(config-if-Gi1/0/1)#description "TEST"

          OS6(config-if-Gi1/0/1)#description "PORT CONNECTED TO SWITCH2"

        OS6#show running-config interface gi1/0/1

         channel-group 1 mode active

         description "PORT CONNECTED TO SWITCH2"

                       …..

 

3. Are the following commands used to delete vlans and logical ports?

no vlan [vlan number]

 

             This one is done in global configuration mode:

              OS6#conf

              OS6(config)#no vlan 200

              OS6(config)#

 

no interface port-channel [channel number]

 

Port channel numbers (in global configuration mode) range from 1 to 128 by default, and you do not delete those (the above command will not work)

You only delete using “no channel-group” in interface configuration mode, like we showed above. The channel-group command in Interface (Ethernet) Configuration  mode is used to associate a port with a port channel.

 

4. What does the 0 in switchport protected 0 mean?


Syntax

switchport protected groupid

no switchport protected 

         groupid--Identifies which group this port will be protected in. (Range: 0-2)

No traffic forwarding is possible between two protected ports. Ports in a protected group will not forward traffic to other ports in the group.

 

 

1 Rookie

 • 

11 Posts

March 21st, 2025 23:55

@DELL-Charles R​ 

Thank you for your answer.

If I want to delete "switcnport protected 0",
do I need to specify up to 0?

no switcnport protected 0

Is 0 unnecessary?

no switcnport protected

1 Rookie

 • 

11 Posts

March 22nd, 2025 00:10

@DELL-Charles R​ 

Is the following command sufficient to remove the description in N2048?

no description

Is a separate description necessary as shown below?

no description "---coreswitch ---"

1 Rookie

 • 

11 Posts

March 22nd, 2025 00:16

@DELL-Charles R​ 

On N2048, if I execute the "no channel-group" command in interface configuration mode, will the interface port-channel also disappear from show running-config?

No Events found!

Top