
78
C
HAPTER
5: VLAN C
ONFIGURATION
Basic VLAN Interface
Configuration
Configuration prerequisites
Before configuring a VLAN interface, create the corresponding VLAN.
Configuration procedure
n
■
The operation of enabling/disabling a VLAN’s VLAN interface does not
influence the physical status of the Ethernet ports belonging to this VLAN.
■
A Switch 4210 can be configured with a single VLAN interface only, and the
VLAN must be the management VLAN. For details about the management
VLAN, refer to “Managing the VLAN” on page 83.
Displaying VLAN
Configuration
After the configuration above, you can execute the
display
command in any view
to display the running status after the configuration, so as to verify the
configuration.
Table 43
Basic VLAN interface configuration
Operation
Command
Description
Enter system view
system-view
-
Create a VLAN
interface and enter
VLAN interface view
interface Vlan-interface
vlan-id
Required
By default, there is no VLAN
interface on a switch.
Specify the
description string for
the current VLAN
interface
description
text
Optional
By default, the description string
of a VLAN interface is the name of
this VLAN interface.
"Vlan-interface1 Interface" for
example.
Disable the VLAN
interface
shutdown
Optional
By default, the VLAN interface is
enabled. In this case, the VLAN
interface’s status is determined by
the status of the ports in the
VLAN, that is, if all ports of the
VLAN are down, the VLAN
interface is down (disabled); if one
or more ports of the VLAN are up,
the VLAN interface is up (enabled).
If you disable the VLAN interface,
the VLAN interface will always be
down, regardless of the status of
the ports in the VLAN.
Enable the VLAN
Interface
undo shutdown
Table 44
Display VLAN configuration
Operation
Command
Description
Display the VLAN interface
information
display interface Vlan-interface
[
vlan-id
]
You can execute the
display
command in any
view.
Display the VLAN
information
display vlan
[
vlan-id
[
to
vlan-id
] |
all
|
dynamic
|
static
]
Summary of Contents for 4210 PWR
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION...
Page 340: ...338 CHAPTER 30 CLUSTER...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT...