D-Link DGS-3630-28SC WEB Reference Guide - Page 174
DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide, VLAN-ID
![]() |
View all D-Link DGS-3630-28SC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 174 highlights
DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide switchport trunk native vlan {VLAN-ID | tag} no switchport trunk native vlan [tag] Parameters VLAN-ID tag Specifies the native VLAN for a trunk port. Specifies to enable the tagging mode of the native VLAN. Default By default, the native VLAN is 1, untagged mode. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command only takes effect when the interface is set to trunk mode. When a trunk port native VLAN is set to tagged mode, normally the acceptable frame type of the port should be set to "tagged-only" to only accept tagged frames. When a trunk port works in the untagged mode for a native VLAN, transmitting untagged packet for a native VLAN and tagged packets for all other VLANs and the acceptable frame types of the port has to be set to "admit-all" in order to function correctly. The specified VLAN does not need to exist to apply the command. Example This example shows how to configure port 1 as a trunk interface and configures the native VLAN to 20. Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# switchport mode trunk Switch(config-if)# switchport trunk native vlan 20 Switch(config-if)# 22-8 vlan This command is used to add VLANs and enter the VLAN configuration mode. Use the no form of this command to remove VLANs. vlan VLAN-ID [, | -] no vlan VLAN-ID [, | -] Parameters VLAN-ID , Specifies the ID of the VLAN to be added, removed or configured. The valid VLAN ID range is from 1 to 4094. VLAN ID 1 cannot be removed. (Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. No space is allowed before and after the comma. 172
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
-
80
-
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
132
-
133
-
134
-
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
-
150
-
151
-
152
-
153
-
154
-
155
-
156
-
157
-
158
-
159
-
160
-
161
-
162
-
163
-
164
-
165
-
166
-
167
-
168
-
169
-
170
-
171
-
172
-
173
-
174
-
175
-
176
-
177
-
178
-
179
-
180
-
181
-
182
-
183
-
184
-
185
-
186
-
187
![]() |
![]() |
![](/manual_guide/products/dlink-dgs363028sc-web-reference-guide-ee5be37/174.png)