Adding A Vlan; Modifying A Vlan; Deleting A Vlan From The Database - Cisco Catalyst 2950 Software Manual

Desktop switch software configuration guide
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

VLANs in the VTP Database

Adding a VLAN

Each VLAN has a unique, 4-digit ID that can be a number from 1 to 1001. To add a VLAN to the VLAN
database, assign a number and name to the VLAN. For the list of default parameters that are assigned
when you add a VLAN, see the
If you do not specify the VLAN media type, the VLAN is an Ethernet VLAN.
Beginning in privileged EXEC mode, follow these steps to add an Ethernet VLAN:
Command
Step 1
vlan database
Step 2
vlan vlan-id name vlan-name
Step 3
exit
Step 4
show vlan name vlan-name

Modifying a VLAN

Beginning in privileged EXEC mode, follow these steps to modify an Ethernet VLAN:
Command
Step 1
vlan database
Step 2
vlan vlan-id mtu mtu-size
Step 3
exit
Step 4
show vlan vlan-id

Deleting a VLAN from the Database

When you delete a VLAN from a switch that is in VTP server mode, the VLAN is removed from all
switches in the VTP domain. When you delete a VLAN from a switch that is in VTP transparent mode,
the VLAN is deleted only on that specific switch.
You cannot delete the default VLANs for the different media types: Ethernet VLAN 1 and FDDI or
Token Ring VLANs 1002 to 1005.
Caution
When you delete a VLAN, any ports assigned to that VLAN become inactive. They remain associated
with the VLAN (and thus inactive) until you assign them to a new VLAN.
Catalyst 2950 Desktop Switch Software Configuration Guide
8-18
"Default VLAN Configuration" section on page
Purpose
Enter VLAN database mode.
Add an Ethernet VLAN by assigning a number to it. If no name is entered for the
VLAN, the default is to append the vlan-id to the word VLAN. For example,
VLAN0004 could be a default VLAN name.
If you do not specify the VLAN media type, the VLAN is an Ethernet VLAN.
Update the VLAN database, propagate it throughout the administrative domain,
and return to privileged EXEC mode.
Verify the VLAN configuration.
Purpose
Enter VLAN configuration mode.
Identify the VLAN, and change the MTU size.
Update the VLAN database, propagate it throughout the administrative domain,
and return to privileged EXEC mode.
Verify the VLAN configuration.
Chapter 8
Configuring VLANs
8-16.
78-11380-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents