Assigning Static-Access Ports To A Vlan - Cisco WS-C2950-24 Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C2950-24:
Table of Contents

Advertisement

Chapter 8
Configuring VLANs
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

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-6511-05
Beginning in privileged EXEC mode, follow these steps to delete a VLAN on the
switch:
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.
By default, all ports are static-access ports 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 log in to the member switch by using the privileged EXEC
rcommand command. For more information on how to use this command, refer
to the Catalyst 2900 Series XL and Catalyst 3500 Series XL Command Reference.
Beginning in privileged EXEC mode, follow these steps to assign a port to a
VLAN in the VTP database:
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 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
VLANs in the VTP Database
8-35

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960g-8tc-l

Table of Contents