switch>enable
switch#configure terminal
switch(conf)#hostname aptch-2950
aptech2950(conf)#
 04  配置使能口令enable password cisco以cisco为例
switch>enable
switch # c onfigure terminal
switch(conf)#hostname aptch2950
aptech2950(conf)# enable password cisco
 05  配置使能密码enable secret ciscolab以cicsolab为例
switch>enable
switch # c onfigure terminal
switch(conf)#hostname aptch2950
aptech2950(conf)# enble secret ciscolab
 06  创建多个VLAN
switch>enable                      (进入特权模式)
switch#vlan data                  (进入VLAN配置模式)
switch(vlan)#vlan 10 name IT      (划分VLAN 10,名称为IT)
switch(vlan)#vlan 20 name HR    (划分VLAN20,名称为HR)
switch(vlan)#vlan 30 name FIN    (划分VLAN30,名称为FIN)
switch(vlan)#vlan 40 name LOG   (划分VLAN40,名称为LOG)
switch(vlan)#exit
 07  设置VLAN 1
switch>enable
switch # configure terminal