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

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

Advertisement

DES-7200 CLI Reference Guide
Default
configuration
Command
mode
Usage
guidelines
Examples
Related
commands
9.1.4

switchport access

Use this command to configure an interface as a statics access port and assign 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
By default, the switch port is an access port.
Interface configuration mode.
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
Description
switchport
Use this command to configure an interface as a
access
statics access port and assign it to a VLAN.
Use this command to specify a native VLAN and
switchport trunk
the allowed-VLAN list for the trunkport.
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.
Chapter 9 VLAN Configuration Commands
9-3

Advertisement

Table of Contents
loading

Table of Contents