Chapter 36: VLAN Commands
Editing VLAN Groups
– 1085 –
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
Global Configuration
C
OMMAND
U
SAGE
•
Use the VLAN database command mode to add, change, and delete
VLANs. After finishing configuration changes, you can display the VLAN
settings by entering the
command.
•
Use the
vlan
command mode to define the port membership
mode and add or remove ports from a VLAN. The results of these
commands are written to the running-configuration file, and you can
display this file by entering the
command.
E
XAMPLE
Console(config)#vlan database
Console(config-vlan)#
R
ELATED
C
OMMANDS
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
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...