NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
EDV01
Oct 14, 2024Aspirant
M4300 how to delete VLAN from inluce list
Hello,
how can i delete a vlan from the include list in general mode with cli?
There ist no "no"-form or "add" od "remove" command like :
"switchport trunk allowed vlan remove 234"
I try to use general mode on some M4350-48G4XF.
I it easy to add vlans to the allowed list with "vlan participation include 123".
But if i have to change the vlan on this port, the next vlan include-command adds this vlan to the list, like for a trunk.
The manual shows no "remove" or "no" form of the vlan participation include command.
How do i just change the vlan for an access-Port with cli?
regards
Jörg
2 Replies
- BrianLNETGEAR Moderator
Hi EDV01,
Can you try #vlan participation exclure234
or
Navigate to the VLAN settings: Use the command vlan database to enter VLAN configuration mode.
Delete the VLAN: Use the command no vlan <VLAN_ID> to delete the VLAN from the include list.
NOITE: Replace <VLAN_ID> with the ID of the VLAN you want to delete.
Kind regards,
BrianL
- EDV01Aspirant
Hello,
ok, i can use "vlan participation exclude <vlan-id>"
This removes the VLAN from the include-list and put it to the exclude-list.
Over time this fills then the exclude-list....
(I dont want to delete the VLAN, only change the config of this trunk interface.)
interface 1/0/30
ip dhcp snooping log-invalid
vlan pvid 1010
vlan ingressfilter
vlan participation exclude 1
vlan participation include 1010,1020
exit(Access-A07)(Config)#interface 1/0/30
(Access-A07)(Interface 1/0/30)#vlan participation exclude 1020
(Access-A07)(Interface 1/0/30)#exit
(Access-A07)(Config)#do show running-config interface 1/0/30
interface 1/0/30
ip dhcp snooping log-invalid
vlan pvid 1010
vlan ingressfilter
vlan participation exclude 1,1020
vlan participation include 1010
exitIt seems to me that using cisco-like commands like "switchport mode trunk" and "switchport trunk allowed vlan x,y,z" are prefered now over general mode.
If configure an interface as a trunk in general mode with
"vlan participation 10,20,30,40"
"vlan pvid 10"
"vlan tagging 20,30,40"
it is not shown as a trunk in the Web-GUI.
When trunk is selected in the Web-GUI "switchport mode"- and "switchport trunk allowed vlan"-commands are inserted in the config.
Are these commands preferd now?
regards
Jörg
M4350-48G4XF with FW 14.0.2.26 (and older... 14.0.18...)
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!