DGS-6604
m
access vlan
CLI Reference Guide
36
access vlan
Use the
access vlan
interface configuration command to specify the access
VLAN for the interface. Use
default interface vlan
command to reset to default
setting.
access vlan
VLAN-ID
default access vlan
Default
VLAN 1
Command Mode
Interface configuration
Usage Guideline
The command is valid for physical ports or port-channel interfaces. If the VLAN
does not exist, the VLAN will be automatically created and a message prompt will
appear. By default, the port has access VLAN 1.
The following applies to access VLANs:
• An interface can be specified with only one access VLAN. The succeed-
ing command overwrites the previous command.
• When this command is applied, the port will change to Access mode. If
the port has been configured for other modes, Access mode will overwrite
the previous mode. The port's PVID is changed to the specified VLAN.
Examples
This example shows how to set an interface eth3.1 to an untagged member of
VLAN 1000.
Verify the settings by entering the
show vlan interface
command.
Syntax Description
access
vlan
VLAN-ID
Specifies the access VLAN for the interface.
Switch(config)# interface eth3.1
Switch(config-if)# access vlan 1000
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...