Unsolved
This post is more than 5 years old
5 Posts
0
35168
November 12th, 2014 11:00
How do I remove this code?
Hello all -
Stupid question time...sorry if this seems elementary or has been asked before.
I have m6220 switches in one enclosure, and a few of the ports have code applied that I believe was set up a couple years back for a VDI project that came and went.
switchport general allowed vlan add 10,14 tagged
I want to remove this and replace with: switchport access vlan 10
However, I can't seem to find the correct syntax to accomplish this. A channel group was set up as well on interfaces 17-20:
interface Gi1/0/17 (this is the same for interfaces 18-20)
channel-group 1 mode auto
interface port-channel 1
switchport mode general
switchport general allowed vlan add 10,14 tagged
Can anyone assist? Thank you in advance for all replies.
0 events found


SSU-Admin
5 Posts
0
November 12th, 2014 11:00
Please excuse me, I edited the post and it changed the formatting. I get the following when attempting to put NO in front of the command:
console(config-if-Gi1/0/1)#no switchport general allowed vlan add 10,14 tagged
^
% Invalid input detected at '^' marker.
(hash mark is below the first L in allowed)
SSU-Admin
5 Posts
0
November 12th, 2014 11:00
Well, that was the first thing I tried. Unfortunately it does not work.
console(config-if-Gi1/0/1)#no switchport general allowed vlan add 10,14 tagged ^
% Invalid input detected at '^' marker.
(the hash mark is below the first letter "L" in allowed)
So I attemtped some variations, I tried:
console(config-if-Gi1/0/1)#no switchport general
Command not found / Incomplete command. Use ? to list commands.
SSU-Admin
5 Posts
0
November 12th, 2014 12:00
I tried that one as well, received another error:
console(config-if-Gi1/0/1)#no switchport mode general
^
% Invalid input detected at '^' marker
(hash mark is below G in general)
I thought perhaps I could change the mode from general to access, so I tried
#switchport mode access
This appears to go through with no errors, but Show Run displays no change. I ran SHUT and NO SHUT to recycle the port, but still no change. Typing in
#switchport allowed vlan 10
results in this:
switchport general allowed vlan add 10,14 tagged
switchport access vlan 10
SSU-Admin
5 Posts
0
November 13th, 2014 13:00
Is there a command that will reset the port to its default configuration?
DELL-Josh Cr
Moderator
•
9.6K Posts
•
42.2K Points
0
November 14th, 2014 11:00
no switchport mode
resets to the default config for the port.
Page 829 ftp.dell.com/.../powerconnect-m6220_Reference%20Guide_en-us.pdf
Reikidude89
1 Rookie
•
23 Posts
0
July 3rd, 2020 15:00
Not work