Chapter 6 Interface Configuration Commands
DES-7200 CLI Reference Guide
6-14
Usage
guidelines
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.
Examples
DES-7210(config-if)#
switchport mode trunk
Related
commands
Command
Description
switchport access
Use this command to configure an interface as
a statics access port and assign it to a VLAN.
switchport trunk
Use this command to specify a native VLAN
and the allowed-VLAN list for the trunk port.
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
Parameter
Description
vlan-id
The VLAN ID at which the port to be added.
Default
configuration
By default, the switch port is an access port and the VLAN is VLAN 1.
Command
mode
Interface configuration mode.
Usage
guidelines
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.
Summary of Contents for DES-7200
Page 1: ...DES 7200 CLI Reference Guide Version 10 3 5 ...
Page 40: ......
Page 70: ......
Page 76: ......
Page 80: ......
Page 114: ......
Page 128: ...Chapter 11 Protocol VLAN Configuration Commands DES 7200 CLI Reference Guide 11 4 ...
Page 142: ......
Page 166: ......
Page 180: ......
Page 216: ......
Page 244: ......
Page 306: ......
Page 312: ......
Page 332: ......
Page 352: ......
Page 360: ......
Page 400: ......
Page 474: ......
Page 710: ......
Page 738: ......
Page 776: ......
Page 854: ......
Page 864: ...Chapter 43 Port based Flow Control Configuration Commands DES 7200 CLI Reference Guide 43 10 ...
Page 936: ......
Page 960: ......
Page 970: ......
Page 976: ......
Page 986: ......
Page 990: ......
Page 1100: ......
Page 1108: ......
Page 1118: ......
Page 1126: ......
Page 1134: ......
Page 1172: ......