Switchport Access - D-Link DES-7200 Cli Reference Manual

Hide thumbs Also See for DES-7200:
Table of Contents

Advertisement

Chapter 6 Interface Configuration Commands
Usage
guidelines
Examples
Related
commands
6.1.18

switchport access

Use this command to configure an interface as a statics access port and add it to a VLAN.
Use the no form of the command to assign the port to the default VLAN.
switchport access vlan vlan-id
no switchport access vlan
Parameter
description
Default
configuration
Command
mode
Usage
guidelines
6-14
If a switch port mode is access port, it can be the member port of only
one VLAN. Use switchport access vlan to specify the member of
the VLAN.
A trunk port can be the member port of various VLANs defined by the
allowed-VLAN list. The allowed VLAN list of the interface determines
the VLANs to which the interface may belong. The trunk port is the
member of all the VLANs in the allowed VLAN list. Use switchport
trunk to define the allowed-VLANs list.
DES-7210(config-if)# switchport mode trunk
Command
switchport access
switchport trunk
Parameter
Description
vlan-id
The VLAN ID at which the port to be added.
By default, the switch port is an access port and the VLAN is VLAN 1.
Interface configuration mode.
Enter one VLAN ID. The system will create a new one and add the
interface to the VLAN if you enter a new VLAN ID. If the VLAN ID
already exists, the command adds the interface to the VLAN.
If the port is a trunk port, the operation does not take effect.
DES-7200 CLI Reference Guide
Description
Use this command to configure an interface as
a statics access port and assign it to a VLAN.
Use this command to specify a native VLAN
and the allowed-VLAN list for the trunk port.

Advertisement

Table of Contents
loading

Table of Contents