D-Link DGS-3630-52TC WEB Reference Guide - Page 175

DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide, VLAN-NAME

Page 175 highlights

DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide - (Optional) Specifies a range of VLANs. No space is allowed before and after the hyphen. Default The VLAN ID 1 exists in the system as the default VLAN. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use the vlan global configuration command to create VLANs. Entering the vlan command with a VLAN ID enters the VLAN configuration mode. Entering the VLAN ID of an existing VLAN does not create a new VLAN, but allows the user to modify the VLAN parameters for the specified VLAN. When the user enters the VLAN ID of a new VLAN, the VLAN will be automatically created. Use the no vlan command to remove a VLAN. The default VLAN cannot be removed. If the removed VLAN is a port's access VLAN, the port's access VLAN will be reset to VLAN 1. Example This example shows how to add new VLANs, assigning the new VLANs with the VLAN IDs 1000 to 1005. Switch# configure terminal Switch(config)# vlan 1000-1005 Switch(config-vlan)# 22-9 name This command is used to specify the name of a VLAN. Use the no form of this command to revert to the default setting. name VLAN-NAME no name Parameters VLAN-NAME Specifies the VLAN name, with a maximum of 32 characters. The VLAN name must be unique within the administrative domain. Default The default VLAN name is VLANx, where x represents four numeric digits (including the leading zeros) that are equal to the VLAN ID. Command Mode VLAN Configuration Mode. 173

  • 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

DGS-3630 Layer 3 Stackable Managed Switch CLI Reference Guide
173
-
(Optional) Specifies a range of VLANs. No space is allowed before and after the
hyphen.
Default
The VLAN ID 1 exists in the system as the default VLAN.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use the
vlan
global configuration command to create VLANs. Entering the
vlan
command with a VLAN ID enters
the VLAN configuration mode. Entering the VLAN ID of an existing VLAN does not create a new VLAN, but allows
the user to modify the VLAN parameters for the specified VLAN. When the user enters the VLAN ID of a new
VLAN, the VLAN will be automatically created.
Use the
no vlan
command to remove a VLAN. The default VLAN cannot be removed. If the removed VLAN is a
port’s access VLAN, the port’s access VLAN will be re
set to VLAN 1.
Example
This example shows how to add new VLANs, assigning the new VLANs with the VLAN IDs 1000 to 1005.
Switch# configure terminal
Switch(config)# vlan 1000-1005
Switch(config-vlan)#
22-9
name
This command is used to specify the name of a VLAN. Use the
no
form of this command to revert to the default
setting.
name
VLAN-NAME
no name
Parameters
VLAN-NAME
Specifies the VLAN name, with a maximum of 32 characters. The VLAN name
must be unique within the administrative domain.
Default
The default VLAN name is VLANx, where x represents four numeric digits (including the leading zeros) that are
equal to the VLAN ID.
Command Mode
VLAN Configuration Mode.