Chapter 9 VLAN Configuration Commands
DES-7200 CLI Reference Guide
9-4
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 port to the VLAN.
If the port is a trunk port, the operation does not take effect.
Examples
DES-7210(config)#
interface gigabitethernet
1/1
DES-7210(config-if)#
switchport access vlan
2
Related
commands
Command
Description
switchport
mode
Specify the interface as Layer 2 mode (switch
port mode).
switchport trunk
Use this command to specify a native VLAN and
the allowed-VLAN list for the trunkport.
9.1.5
switchport trunk
Use this command to specify a native VLAN and the allowed-VLAN list for the trunk port.
Use the
no
form of the command to restore the default setting.
switchport trunk
{
allowed vlan
{
all
| [
add
|
remove
|
except
]
vlan-list
}|
native vlan
vlan-id
}
no switchport trunk
{
allowed vlan
|
native vlan
}
Parameter
description
Parameter
Description
allowed vlan
vlan-list
Configure the list of VLANs allowed on the trunk
port.
vlan-list
can be a VLAN or a range of
VLANs starting with the smaller VLAN ID and
ending with the larger VLAN ID and being
separated by hyphen, for example, 10 to 20. The
segments can be separated with a comma (,), for
example, 1 to 10, 20 to 25, 30, 33.
all
means that the allowed VLAN list contains all
the supported VLANs;
add
means to add the specified VLAN list to the
allowed VLAN list;
remove
means to remove the specified VLAN list
from the allowed VLAN list;
except
means to add all the VLANs other than
those in the specified VLAN list to the allowed
VLAN list;
native vlan
vlan-id
Specify the native VLAN.
Содержание DES-7200
Страница 1: ...DES 7200 CLI Reference Guide Version 10 3 5 ...
Страница 40: ......
Страница 70: ......
Страница 76: ......
Страница 80: ......
Страница 114: ......
Страница 128: ...Chapter 11 Protocol VLAN Configuration Commands DES 7200 CLI Reference Guide 11 4 ...
Страница 142: ......
Страница 166: ......
Страница 180: ......
Страница 216: ......
Страница 244: ......
Страница 306: ......
Страница 312: ......
Страница 320: ...Chapter 26 SNTP Configuration Commands DES 7200 CLI Reference Guide 26 4 show sntp Show the SNTP configuration ...
Страница 332: ......
Страница 352: ......
Страница 360: ......
Страница 400: ......
Страница 474: ......
Страница 710: ......
Страница 738: ......
Страница 776: ......
Страница 854: ......
Страница 864: ...Chapter 43 Port based Flow Control Configuration Commands DES 7200 CLI Reference Guide 43 10 ...
Страница 936: ......
Страница 960: ......
Страница 970: ......
Страница 976: ......
Страница 986: ......
Страница 990: ......
Страница 1099: ...DES 7200 CLI Reference Guide Chapter 58 RERP Configuration Commands 58 9 Command mode Privileged EXEC mode ...
Страница 1100: ......
Страница 1108: ......
Страница 1114: ...Chapter 60 RLDP Configuration Command DES 7200 CLI Reference Guide 60 6 Command mode Privileged EXEC mode ...
Страница 1118: ......
Страница 1126: ......
Страница 1134: ......
Страница 1172: ......