D-Link DGS-510 Reference Manual page 675

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
75-4
switchport access vlan
This command is used to specify the access VLAN for an interface. Use the no form of this command
to revert to the default setting.
switchport access vlan VLAN-ID
no switchport access vlan
Parameters
access vlan VLAN-ID
Default
By default, this access VLAN is VLAN 1.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The command takes effect when the interface is set to access mode. The VLAN specified as the
access VLAN does not need to exist to configure the command.
Only one access VLAN can be specified. The succeeding command overwrites the previous
command.
Example
This example shows how to configure the interface 1/0/1 to access mode with access VLAN 1000.
Switch# configure terminal
Switch(config)# interface eth1/0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 1000
Switch(config-if)#
75-5
switchport hybrid allowed vlan
This command is used to specify the tagged or untagged VLANs for a hybrid port. Use the no form of
this command to revert to the default setting.
switchport hybrid allowed vlan {[add] {tagged | untagged} | remove} VLAN-ID [, | -]
no switchport hybrid allowed vlan
Parameters
add
remove
tagged
untagged
VLAN-ID
Specifies the access VLAN of the interface.
Specifies the port will be added into the specified VLAN(s).
Specifies the port will be removed from the specified VLAN(s).
Specifies the port as a tagged member of the specified VLAN(s).
Specifies the port as an untagged member of the specified VLAN(s).
Specified the allowed VLAN list or the VLAN list to be added to or
removed from the allow VLAN list. If no option is specified, the
specified VLAN list will overwrite the allowed VLAN list.
672

Advertisement

Table of Contents
loading

Table of Contents