User guide

Configuring Device Information 327
The VLAN Port Membership Table displays the ports and the ports states, as well as LAGs. Ports which
are LAG members are not displayed in the VLAN Port Membership Table.
Assigning Ports to a VLAN Group
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 a port in the
Port Membership Table
, and assign the port a value.
4
Click
Apply Changes
.
The port is assigned to the VLAN group, and the device is updated.
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-26. 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 {customer | 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 from a general port.
switchport general pvid vlan-id Configures the PVID when the interface is in general
mode.