|
Static VLANs are ports on a switch that
are manually assigned to a VLAN by using a VLAN management
application or by working directly within the switch. These ports
maintain their assigned VLAN configuration until you change them.
Although static VLANs require manual entry changes, they are secure,
easy to configure, and straightforward to monitor. This type of VLAN
works well in networks where moves are controlled and managed; where
there is robust VLAN management software to configure the ports; and
where it is not desirable to assume the additional overhead required
when maintaining end-station MAC addresses and custom filtering
tables.
The creation of a VLAN on a switch is
a very straightforward and simple task. If using a Cisco IOS
command-based switch, simply go to the interface you wish to
configure and issue the command
Switch(config-if)# switchport
mode access
Switch(config-if)# switchport access vlan number
In Figure ,
interface FastEthernet 0/3 is being assigned to vlan 2. As you can
see in Figure ,
this configuration has been verified by using the show
running-config command.
If using a set-based switch, simply
enter the set vlan command to create a VLAN, as shown below and in
Figure .
switch> (enable) set vlan
vlan_num mod_num/port_list
 |
 |
Lab
Activity |
| |
In
this lab activity, you will learn how to
configure your Distribution Layer Catalyst 4000
Ethernet Switch to support three
VLANs - Marketing, Accounting, and
Engineering. |
|
|
|
 |
 |
Lab
Activity |
| |
In
this lab activity, you will learn how to
configure your Access Layer Catalyst 2900
Ethernet Switch to support three
VLANs - Marketing, Accounting, and
Engineering. |
|
|
|
|