Version 2/52本章目标本章目标?基于安全和管理的需要,能够正确的为交换机配置各种密码,和管理IP、网关等?能够根据实际的需求,在Cisco交换机上正确划分基于端口的静态VLAN?理解VLAN的含义?了解划分VLAN的作用?理解VLAN的工作原理Page 3/51本章结构本章结构配置交换机IP地址与网关主机名密码静态VLAN的配置和查看VLAN的种类划分VLAN的作用命令缓存?的使用Tab键的使用命令简写交换机基本配置与查看IOS使用技巧VLAN使能密码(明文和密文)Console口令Page 4/51配置交换机配置交换机Page 5/51配置主机名配置主机名?Switch>en?Switch#conf t?Switch(config)# hostname -sw1?-sw1(config)#Page 6/51查看交换机的配置查看交换机的配置?-sw1(config)# show running-configversion service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname -sw1当前运行的配置文件,存储于RAM中,配置后立即生效Page 7/51配置enable明文口令配置enable明文口令?-sw1(config)#enable password cisco ?-sw1(config)#exit?-sw1#show running-configversion service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname -sw1!enable password cisco!ip -zero!密码以明文保存Page 8/51检验enable口令的作用检验enable口令的作用?-sw1# exitPress RETURN to get started.?-sw1>enablePassword:cisco?-sw1#Page 9/51配置enable加密口令配置enable加密口令?-sw1(config)# enable secretciscolab?-sw1#show running-configversion service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname -sw1!enable secret 5 $1$e1k3$tmDh/6EG9c5enGXDjjj7j/enablepassword cisco!口令加密保存Page 10/51检验enable加密口令的作用检验enable加密口令的作用?-sw1# exitPress RETURN to get started.?-sw1>enablePassword:ciscolab?-sw1#同时配置使能口令和加密使能口令时,加密使能口令生效
5-虚拟局域网VLAN 来自淘豆网www.taodocs.com转载请标明出处.