Configuring Device Information
305
Assigning Ports to VLAN Groups Using CLI Commands
The following table summarizes the equivalent CLI commands for assigning ports to VLAN groups.
The following is an example of the CLI commands:
Table 7-28. VLAN Port CLI Commands
CLI Command
Description
switchport mode {customer
|access | trunk | general}
Configures a port VLAN membership mode.
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 pvid
vlan-id
Configure the Port VLAN ID (PVID) when the
interface is in general mode.
switchport general allowed vlan
add
vlan-list
[
tagged
|
untagged
]
Adds or removes VLANs from a general port.
switchport general acceptable-
frame-types tagged-only
Discards untagged packets at ingress.
switchport general ingress-
filtering disable
Disables port ingress filtering.
shutdown
Disables interfaces.
set interface active
{
ethernet
interface
|
port-channel
port-
channel-number
}
Reactivates an interface that is shutdown due to
security reasons.
Console (config)#
interface range ethernet
g18-20
Console (config-if)#
switchport mode
access
Console (config-if)#
switchport general pvid
234
Console (config-if)#
switchport general allowed vlan add
1,2,5,6
tagged
Console (config-if)#
switchport general ingress-filtering
disable
Summary of Contents for PowerConnect 54 Series
Page 1: ...w w w d e l l c o m s u p p o r t d e l l c o m Dell PowerConnect 54xx Systems User Guide ...
Page 22: ...22 Introduction ...
Page 64: ...64 Using Dell OpenManage Switch Administrator ...
Page 214: ...214 Configuring System Information ...
Page 343: ...Configuring Device Information 343 ...
Page 344: ...344 Configuring Device Information ...
Page 381: ...Viewing Statistics 381 ...
Page 382: ...382 Viewing Statistics ...