
C
HAPTER
37
| VLAN Commands
Editing VLAN Groups
– 1156 –
vlan
This command configures a VLAN. Use the
no
form to restore the default
settings or delete a VLAN.
S
YNTAX
vlan
vlan-id
[
name
vlan-name
]
media ethernet
[
state
{
active
|
suspend
}] [
rspan
]
no vlan
vlan-id
[
name
|
state
]
vlan-id
- VLAN ID, specified as a single number, a range of
consecutive numbers separated by a hyphen, or multiple numbers
separated by commas. (Range: 1-4094)
name
- Keyword to be followed by the VLAN name.
vlan-name
- ASCII string from 1 to 32 characters.
media ethernet
- Ethernet media type.
state
- Keyword to be followed by the VLAN state.
active
- VLAN is operational.
suspend
- VLAN is suspended. Suspended VLANs do not pass
packets.
rspan
- Keyword to create a VLAN used for mirroring traffic
from remote switches. The VLAN used for RSPAN cannot include
VLAN 1 (the switch’s default VLAN). Nor should it include VLAN
4093 (which is used for switch clustering). Configuring VLAN
4093 for other purposes may cause problems in the Clustering
operation. For more information on configuring RSPAN through
"RSPAN Mirroring Commands" on page 1048
.
D
EFAULT
S
ETTING
By default only VLAN 1 exists and is active.
C
OMMAND
M
ODE
VLAN Database Configuration
C
OMMAND
U
SAGE
◆
no vlan
vlan-id
deletes the VLAN.
◆
no vlan
vlan-id
name
removes the VLAN name.
◆
no vlan
vlan-id
state
returns the VLAN to the default state
(i.e., active).
◆
You can configure up to 4094 VLANs on the switch.
E
XAMPLE
The following example adds a VLAN, using VLAN ID 105 and name RD5.
The VLAN is activated by default.
Console(config)#vlan database
Console(config-vlan)#vlan 105 name RD5 media ethernet
Console(config-vlan)#
Содержание ECS4110-28T
Страница 1: ...Management Guide www edge core com ECS4110 28T 28P 52T 52P 28 52 Port Gigabit Ethernet Layer 2 Switch...
Страница 2: ......
Страница 4: ......
Страница 63: ...FIGURES 63 Figure 428 Configuring VLAN Translation 1177...
Страница 64: ...FIGURES 64...
Страница 72: ...TABLES 72...
Страница 74: ...SECTION I Getting Started 74...
Страница 102: ...SECTION II Web Configuration 102 General IP Routing on page 679...
Страница 154: ...CHAPTER 4 Basic Management Tasks Resetting the System 154...
Страница 198: ...CHAPTER 5 Interface Configuration VLAN Trunking 198 Figure 65 Configuring VLAN Trunking...
Страница 272: ...CHAPTER 9 Congestion Control Automatic Traffic Control 272...
Страница 286: ...CHAPTER 10 Class of Service Layer 3 4 Priority Settings 286...
Страница 420: ...CHAPTER 13 Security Measures DHCP Snooping 420...
Страница 566: ...CHAPTER 14 Basic Administration Protocols OAM Configuration 566...
Страница 638: ...CHAPTER 15 Multicast Filtering Multicast VLAN Registration for IPv6 638...
Страница 662: ...CHAPTER 16 IP Configuration Setting the Switch s IP Address IP Version 6 662...
Страница 678: ...CHAPTER 17 IP Services Configuring the PPPoE Intermediate Agent 678...
Страница 792: ...CHAPTER 21 System Management Commands Switch Clustering 792...
Страница 822: ...CHAPTER 23 Remote Monitoring Commands 822...
Страница 888: ...CHAPTER 24 Authentication Commands PPPoE Intermediate Agent 888...
Страница 968: ...CHAPTER 25 General Security Measures Port based Traffic Segmentation 968...
Страница 994: ...CHAPTER 26 Access Control Lists ACL Information 994...
Страница 1034: ...CHAPTER 28 Link Aggregation Commands Trunk Status Display Commands 1034...
Страница 1044: ...CHAPTER 29 Power over Ethernet Commands 1044...
Страница 1084: ...CHAPTER 33 UniDirectional Link Detection Commands 1084...
Страница 1090: ...CHAPTER 34 Address Table Commands 1090...
Страница 1194: ...CHAPTER 37 VLAN Commands Configuring Voice VLANs 1194...
Страница 1388: ...CHAPTER 42 CFM Commands Delay Measure Operations 1388...
Страница 1410: ...CHAPTER 44 Domain Name Service Commands 1410...
Страница 1420: ...CHAPTER 45 DHCP Commands DHCP Relay 1420...
Страница 1472: ...CHAPTER 46 IP Routing Commands IPv4 Commands 1472...
Страница 1474: ...SECTION IV Appendices 1474...
Страница 1502: ...COMMAND LIST 1502...
Страница 1513: ......
Страница 1514: ...ECS4110 28T ECS4110 28P ECS4110 52T ECS4110 52P E072014 ST R02 150200000929A...