Assigning Static-Access Ports To A Vlan - Cisco Catalyst 2950 Software Manual

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

Advertisement

Chapter 8
Configuring VLANs
Beginning in privileged EXEC mode, follow these steps to delete a VLAN on the switch:
Command
Step 1
vlan database
Step 2
no vlan vlan-id
Step 3
exit
Step 4
show vlan brief

Assigning Static-Access Ports to a VLAN

By default, all ports are in trunk-desirable mode and assigned to VLAN 1, which is the default
management VLAN. If you are assigning a port on a cluster member switch to a VLAN, first use the
privileged EXEC rcommand command to log in to the member switch. For more information on how to
use this command, refer to the Catalyst 2950 Desktop Switch Command Reference.
Beginning in privileged EXEC mode, follow these steps to assign a port to a VLAN in the VTP database:
Command
Step 1
configure terminal
Step 2
interface interface
Step 3
switchport mode access
Step 4
switchport access vlan 3
Step 5
exit
Step 6
show interface interface-id
switchport
78-11380-03
Purpose
Enter VLAN configuration mode.
Remove the VLAN by using the VLAN ID.
Update the VLAN database, propagate it throughout the administrative domain,
and return to privileged EXEC mode.
Verify the VLAN removal.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and define the interface to be added to the
VLAN.
Define the VLAN membership mode for this port.
Assign the port to the VLAN.
Return to privileged EXEC mode.
Verify the VLAN configuration.
In the display, check the Operation Mode, Access Mode VLAN, and the Priority
for Untagged Frames fields.
Catalyst 2950 Desktop Switch Software Configuration Guide
VLANs in the VTP Database
8-19

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents