C o n f i g u r i n g S w i t c h I n f o r m a t i o n
261
The following is an example of the CLI commands:
Console # vlan database
Console (config-vlan)# vlan 1972
Console (config-vlan)# exit
Console (config)# interface vlan 1972
Console (config-if)# name Marketing
Console (config-if)# exit
Console (config)# interface range ethernet 1/e18 - e20
Defining VLAN Ports Settings
The
VLAN Port Settings
page provides parameters for managing ports that are part of a
VLAN.
The
Port Default VLAN ID
(PVID) is configured on the
VLAN Port Settings
page. All
untagged packets arriving to the device are tagged by the ports PVID. To open the
VLAN
Port Settings
page:
•
Click
Switch > VLAN > Port Settings
in the Tree View. The
VLAN Port Settings
page opens.
interface vlan
vlan-id
Enters the interface configuration
(VLAN) mode to configure an existing
VLAN.
name
string
Adds a name to a VLAN.
interface range ethernet
{
port-range
|
all}
Enables command execution on multiple
ports at the same time.
switchport forbidden vlan
{add vlan-list | remove
vlan-list}
Forbids adding specific VLANs to the port
CLI Command
Description