Configuring Switch Information 303
Deleting a VLAN
1
Open the
VLAN Membership
page.
2
Click the
VLAN ID
or
VLAN Name
option button and select a VLAN from the drop-down
menu.
3
Select the
Remove VLAN
check box.
4
Click
Apply Changes
.
The selected VLAN is deleted, and the device is updated.
Assigning Ports to VLAN Groups Using CLI Commands
The following table summarizes the equivalent CLI commands for assigning ports to
VLAN groups.
Table 7-82. Port-to-VLAN Group Assignments CLI Commands
CLI Command Description
switchport general acceptable-frame-
types tagged-only
Discards untagged frames at ingress.
switchport forbidden vlan
{
add
vlan-
list
|
remove
vlan-list
}
Forbids adding specific VLANs to the
port.
switchport mode
{
access
|
trunk
|
general
}
Configures the VLAN membership mode
of a port.
switchport access vlan
vlan-id
Configures the VLAN ID when the
interface is in access mode.
switchport trunk allowed vlan
{
add
vlan-list
|
remove
vlan-list
}
Adds or removes VLANs from a trunk
port.
switchport trunk native vlan
vlan-id
Defines the port as a member of the
specified VLAN, and the VLAN ID as the
port default VLAN ID (PVID).
switchport general allowed vlan add
vlan-list
[
tagged
|
untagged
]
Adds or removes VLANs for a port in
general mode.
switchport general pvid
vlan-id Configures the PVID when the interface
is in general mode.