VLAN Configuration
59
Create a VLAN first before creating an interface for it.
For this configuration task,
vlan_id
takes the VLAN ID.
Shutting Down/Enabling the VLAN Interface
Use the following command to shut down/enable a VLAN interface.
Perform the following configuration in VLAN Interface View.
The operation of shutting down or enabling the VLAN interface has no effect on
the UP/DOWN status of the Ethernet ports on the local VLAN.
By default, when all the Ethernet ports belonging to a VLAN are in DOWN status,
this VLAN interface is also DOWN, that it, this VLAN interface is shut down. When
there is one or more Ethernet ports in UP status, this VLAN interface is also UP, that
is, this VLAN interface is enabled.
Displaying and
Debugging VLAN
After the above configuration, enter the
display
command in any view to display
the running of the VLAN configuration, and to verify the effect of the
configuration.
VLAN Configuration
Example One
Networking Requirements
Create VLAN2 and VLAN3. Add Ethernet1/0/1 and Ethernet1/0/2 to VLAN2 and
add Ethernet1/0/3 and Ethernet1/0/4 to VLAN3.
Remove the specified VLAN interface
undo interface
vlan-interface
vlan_id
Table 55
Shutting Down/Enabling the VLAN Interface
Operation
Command
Shut down the VLAN interface
shutdown
Enabling the VLAN interface
undo shutdown
Table 54
Specifying/Removing the VLAN Interface
Operation
Command
Table 56
Displaying and Debugging a VLAN
Operation
Command
Display information about the VLAN interface
display interface
vlan-interface
[
vlan_id
]
Display information about the VLAN
display vlan
[
vlan_id
|
all
|
static
|
dynamic
]
Summary of Contents for Switch 4500 26-Port
Page 16: ...14 ABOUT THIS GUIDE...
Page 58: ...56 CHAPTER 2 PORT OPERATION...
Page 104: ...102 CHAPTER 5 NETWORK PROTOCOL OPERATION...
Page 130: ...128 CHAPTER 6 IP ROUTING PROTOCOL OPERATION...
Page 154: ...152 CHAPTER 7 ACL CONFIGURATION...
Page 228: ...226 CHAPTER 11 802 1X CONFIGURATION...
Page 250: ...248 CHAPTER 14 DEVICE MANAGEMENT...
Page 280: ...278 CHAPTER 15 SYSTEM MAINTENANCE AND DEBUGGING...
Page 312: ...310 CHAPTER 18 NTP CONFIGURATION...
Page 340: ...338 CHAPTER 19 SSH TERMINAL SERVICES...
Page 350: ...348 CHAPTER 20 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Page 388: ...386 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP...