VLAN configuration
The commands in this section configure VLAN attributes, change the status of the VLAN, delete the VLAN, and change the port membership of the VLAN.
By default, the VLANs are disabled except VLAN 1, which is always enabled. The switch supports a maximum of 1,000 VLANs. VLAN 4095 is reserved for switch management.
NOTE: See the
The following table describes the VLAN Configuration commands.
Table 89 VLAN Configuration commands
Command |
| Description | |
vlan |
| Enter VLAN configuration mode. | |
|
| Command mode: Global configuration | |
name | Assigns a name to the VLAN or changes the existing name. The default | ||
|
| VLAN name is the first one. | |
|
| Command mode: VLAN configuration | |
stg |
| Assigns a VLAN to a spanning tree group. | |
|
| Command mode: VLAN configuration | |
member {<port number>} | Adds ports to the VLAN membership. | ||
|
| Command mode: VLAN configuration | |
no member {<port number>} | Removes ports from the VLAN membership. | ||
|
| Command mode: VLAN configuration | |
enable |
| Enables this VLAN. | |
|
| Command mode: VLAN configuration | |
no enable |
| Disables this VLAN without removing it from the configuration. | |
|
| Command mode: VLAN configuration | |
no vlan | Deletes this VLAN. | ||
|
| Command mode: VLAN configuration | |
show vlan | Displays the current VLAN configuration. | ||
|
| Command mode: All | |
|
|
| |
IMPORTANT: | All ports must belong to at least one VLAN. Any port which is removed from a VLAN and |
which is not a member of any other VLAN is automatically added to default VLAN 1. You cannot remove a port from VLAN 1 if the port has no membership in any other VLAN. Also, you cannot add a port to more than one VLAN unless the port has VLAN tagging turned on.
Layer 3 configuration
The following table describes basic Layer 3 Configuration commands. The following sections provide more detailed information and commands. Layer 3 functionality is limited in this release.
Table 90 L3 Configuration commands
Command | Description |
interface ip | Enter IP Interface mode. |
| Command mode: Global configuration |
show layer3 | Displays the current IP configuration. |
| Command mode: All except User EXEC |
Configuration Commands 82