第6章 虚拟局域网.PPT
《第6章 虚拟局域网.PPT》由会员分享,可在线阅读,更多相关《第6章 虚拟局域网.PPT(52页珍藏版)》请在三一办公上搜索。
1、Page 1/52,第5章内容回顾,数据链路层数据链路层的功能是什么?以太网与CSMA/CD以太网地址以太网帧格式交换机Cisco Catalyst 2950系列交换机的产品有哪些?如何访问交换机?交换机启动信息中主要包含什么信息?Cisco交换机的配置模式有哪些?有什么区别?,虚拟局域网(VLAN),第6章,Page 3/52,本章目标,基于安全和管理的需要,能够正确的为交换机配置各种密码,和管理IP、网关等能够根据实际的需求,在Cisco交换机上正确划分基于端口的静态VLAN理解VLAN的含义了解划分VLAN的作用理解VLAN的工作原理,Page 4/52,本章结构,配置交换机,IP地址与
2、网关,主机名,密码,静态VLAN的配置和查看,VLAN的种类,划分VLAN的作用,命令缓存,?的使用,Tab键的使用,命令简写,交换机基本配置与查看,IOS使用技巧,VLAN,使能密码(明文和密文),Console口令,Page 5/52,配置交换机,Page 6/52,配置主机名,SwitchenSwitch#conf tSwitch(config)#hostname Benet-sw1Benet-sw1(config)#,Page 7/52,查看交换机的配置,Benet-sw1(config)#show running-configversion 12.1no service padser
3、vice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname Benet-sw1,当前运行的配置文件,存储于RAM中,配置后立即生效,Page 8/52,配置enable明文口令,Benet-sw1(config)#enable password cisco Benet-sw1(config)#exitBenet-sw1#show running-config,version 12.1no service padservice timestamps debug u
4、ptimeservice timestamps log uptimeno service password-encryption!hostname Benet-sw1!enable password cisco!ip subnet-zero!,密码以明文保存,Page 9/52,检验enable口令的作用,Benet-sw1#exit Press RETURN to get started.Benet-sw1enable Password:ciscoBenet-sw1#,Page 10/52,配置enable加密口令,Benet-sw1(config)#enable secret ciscol
5、abBenet-sw1#show running-configversion 12.1no service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname Benet-sw1!enable secret 5$1$e1k3$tmDh/6EG9c5enGXDjjj7j/enable password cisco!,口令加密保存,Page 11/52,检验enable加密口令的作用,Benet-sw1#exit Press RETURN to
6、get started.Benet-sw1enable Password:ciscolabBenet-sw1#,同时配置使能口令和加密使能口令时,加密使能口令生效,Page 12/52,配置Console口令,Benet-sw1(config)#line console 0Benet-sw1(config-line)#password 123Benet-sw1(config-line)#loginBenet-sw1#show runinterface Vlan1 no ip address no ip route-cache shutdown!ip http server!line con 0
7、 password 123 login,Page 13/52,登录口令的输入,Switch con0 is now availablePress RETURN to get started.User Access VerificationPassword:123SwitchenPassword:ciscolabSwitch#,输入Console口令,输入加密的enable口令,Page 14/52,配置管理用IP地址与网关,Console不是唯一的管理手段,有时需要通过网络对设备进行远程管理,Page 15/52,配置管理用IP地址与网关21,Benet-sw1(config)#interfa
8、ce vlan 1Benet-sw1(config-if)#ip address 192.168.1.1 255.255.255.0Benet-sw1(config-if)#no shutdownBenet-sw1#show running-config!interface FastEthernet0/24 no ip address!interface Vlan1 ip address 192.168.1.1 255.255.255.0 no ip route-cache!ip http server,交换机的管理IP地址是配置给VLAN 1的,激活交换机的VLAN 1,Page 16/52
9、,配置管理用IP地址与网关22,Benet-sw1(config)#ip default-gateway 192.168.1.100,Page 17/52,查看MAC地址表,Benet-sw1#show mac-address-table Mac Address Table-Vlan Mac Address Type Ports-All 000d.28be.b640 STATIC CPU All 0100.0ccc.cccc STATIC CPU All 0100.0ccc.cccd STATIC CPU All 0100.0cdd.dddd STATIC CPU 1 0013.8044.ff
10、40 DYNAMIC Fa0/2 1 0013.8044.ff41 DYNAMIC Fa0/8Total Mac Addresses for this criterion:6,Page 18/52,使用CDP协议31,Benet-sw1#show cdp?entry Information for specific neighbor entry interface CDP interface status and configuration neighbors CDP neighbor entries traffic CDP statistics|Output modifiers,用来查看邻居
11、Cisco设备的信息,Page 19/52,使用CDP协议32,Benet-sw1#show cdp neighborCapability Codes:R-Router,T-Trans Bridge,B-Source Route Bridge S-Switch,H-Host,I-IGMP,r-Repeater,P-PhoneDevice ID Local Intrfce Holdtme Capability Platform Port IDR1 Fas 0/19 139 R 2621XM Fas 0/0,Page 20/52,使用CDP协议33,Benet-sw1#show cdp neigh
12、bors detail-Device ID:R1Entry address(es):IP address:192.168.1.1Platform:cisco 2621XM,Capabilities:RouterInterface:FastEthernet0/19,Port ID(outgoing port):FastEthernet0/0Holdtime:143 secVersion:Cisco Internetwork Operating System SoftwareIOS(tm)C2600 Software(C2600-IS-M),Version 12.2(21),RELEASE SOF
13、TWARE(fc3)Copyright(c)1986-2003 by cisco Systems,Inc.Compiled Tue 02-Dec-03 16:06 by kellmilladvertisement version:2Duplex:full,显示更详细的信息,邻居的接口IP地址,平台:2621XM,本地接口,对方接口,版本信息,Page 21/52,保存交换机的配置,Benet-sw1#copy running-config startup-config或Benet-sw1#writeBuilding configuration.OK,交换机启动时调用的配置文件,存储在NVRAM
14、中,Page 22/52,恢复设备出厂默认值,Benet-sw1#erase startup-configErasing the nvram filesystem will remove all configuration files!Continue?confirmOKErase of nvram:completeBenet-sw1#reloadProceed with reload?confirm,删除配置文件,重新启动交换机,交换机在启动时,加载出厂配置,Page 23/52,阶段总结,配置交换机的主机名 配置交换机的密码配置交换机的IP地址和网关查看交换机的配置查看交换机的MAC地址表
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 第6章 虚拟局域网 虚拟 局域网

链接地址:https://www.31ppt.com/p-4522828.html