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.
DELL-Charles R
Social Media and Communities Professional Dell Technologies | Enterprise Support Services #IWork4Dell
Did I answer your query? Please click on ‘Accept as Solution’. ‘Thumbs up’ the posts you like!
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?
DELL-Joey C
Moderator
•
4170 Posts
•
20965 Points
0
0
Posted 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'.
DELL-Joey C
Social Media and Communities Professional
Dell Technologies | Enterprise Support Services
#IWork4Dell
Did I answer your query? Please click on ‘Mark as Accepted Answer’ if I did.