Creating Or Modifying An Ethernet Vlan; Assigning Switch Ports To A Vlan - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Configuring VLANs

Creating or Modifying an Ethernet VLAN

To create a new Ethernet VLAN, perform this task in privileged mode:
Task
Step 1
Create a new Ethernet VLAN.
Step 2
Verify the VLAN configuration.
The default VLAN type is Ethernet; if you do not specify the VLAN type, the VLAN is an Ethernet
Note
VLAN.
This example shows how to create an Ethernet VLAN and verify the configuration:
Console> (enable) set vlan 500 name Engineering
Vlan 500 configuration successful
Console> (enable) show vlan 500
VLAN Name
---- -------------------------------- --------- ------- ------------------------
500
VLAN Type
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
500
VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
Console> (enable)
To modify the VLAN parameters on an existing Ethernet VLAN, perform this task in privileged mode:
Task
Step 1
Modify an existing Ethernet VLAN.
Step 2
Verify the VLAN configuration.

Assigning Switch Ports to a VLAN

A VLAN created in a management domain remains unused until you assign one or more switch ports to
the VLAN. If you specify a VLAN that does not exist, the VLAN is created and the specified ports are
assigned to it.
To assign one or more switch ports to a VLAN, perform this task in privileged mode:
Task
Step 1
Assign one or more switch ports to a VLAN.
Step 2
Verify the port VLAN membership.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
10-4
Engineering
SAID
MTU
enet
100500
1500
Command
set vlan vlan_num [name name] [said said] [mtu
mtu] [translation vlan_num]
show vlan [vlan_num]
Status
IfIndex Mod/Ports, Vlans
active
344
Parent RingNo BrdgNo Stp
-
-
-
-
Command
set vlan vlan_num [name name] [state {active |
suspend}] [said said] [mtu mtu] [translation
vlan_num]
show vlan [vlan_num]
Command
set vlan vlan_num mod_num/port_num
show vlan [vlan_num]
show port [mod_num[/port_num]]
Chapter 10
Configuring VLANs
BrdgMode Trans1 Trans2
-
0
0
78-12647-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents