Dell 3548 Switch User Manual


 
Configuring Switch Information 355
Defining VLAN Membership Groups Using CLI Commands
The following table summarizes the equivalent CLI commands for defining VLAN membership groups
as displayed in the VLAN Membership page.
The following is an example of the CLI commands:
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. VLAN Membership Group CLI Commands
CLI Command Description
vlan database Enters the VLAN configuration mode.
vlan {vlan-range} Creates a VLAN.
name string Adds a name to a VLAN.
console(config)# vlan database
console(config-vlan)# vlan 1972
console(config-vlan)# end
console(config)# interface vlan 1972
console(config-if)# name Marketing
console(config-if)# end
Table 7-27. 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.