Catalyst3560培训.ppt_第1页
Catalyst3560培训.ppt_第2页
Catalyst3560培训.ppt_第3页
Catalyst3560培训.ppt_第4页
Catalyst3560培训.ppt_第5页
已阅读5页,还剩50页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Catalyst3560培训 叶明 内容安排 Catalyst3560介绍基本配置介绍二层配置介绍三层配置介绍安全功能介绍QoS功能介绍 CiscoCatalystSwitches Industry sMostComprehensivePortfolio Catalyst6500 Catalyst4500 Catalyst3550 3560 3750 Catalyst2950 2970 DeploymentFocus CoreDistributionDatacenteraccess core servicesHighperformancewiringclosets MediumwiringclosetsSmall mediumdistribution coreMediumdatacenteraccess coreLarge mediumbranchoffices SmallwiringclosetsMediumbranchofficeSmalldatacenteraccessSmallnetworkaggregation SmallwiringclosetsSmallbranchofficesIndustrialenvironmentsClassroomdeployments Mid RangeModularChassis IndustryLeadingModularChassis AdvancedFixedConfiguration EntryLevelFixedConfiguration MultipledeploymentandperformanceoptionsHighestavailabilityand10 100 1000 GbEdensitiesIntegratedWANandadvancedIPservicesmodulesWire speed10GbEaggregation ResilientLayer3switchingwithintelligentLayer3and4servicesHighdensity10 100 1000PoweroverEthernetmodulesMediaconfigurationflexibilitywithWANconnectivityoptions Layer3switchingwithintelligentLayer3and4servicesResilientstackingoptionsMediumdensity10 100 1000PoweroverEthernetversions Layer2switchingwithintelligentLayer3and4servicesAdvancedclustermanagementFixed configuration10 100 1000Redundantpoweroption Density Functions Services Performance Catalyst3560 48PS Catalyst3560 24PS CiscoCatalyst 3560ModelOverview 2410 100PoEports2SFPports 4810 100PoEports4SFPports 24个100兆端口2个千兆端口 48个100兆端口4个千兆端口 SupervisorSubsystem 硬件转发 IP路由 Ethernet交换CPU进行协议处理 IP路由协议 STP协议 关键点 具备3层功能的交换机维护3张表 IP路由表 处于路由器中 CAM表 处于交换机中 维护端口间交换形式 ARP表 处于路由器中 1 2 3 4 5 6 7 8 9 10 11 12 AccessPort1 AccessPort2 AccessPort3 TrunkPort1 AccessPort4 AccessPort5 AccessPort6 RoutedPort1 AccessPort7 AccessPort8 AccessPort9 RoutedPort2 VLAN1 VLAN2 VLAN3 SVI1 SVI2 RP1 RP2 RoutingFunction 丰富的功能 IntelligentSwitchingisacommonfoundationofcapabilitiesacrossCisco Catalyst switches Performance Availability Wire speedforwardingNoperformanceeffectwithallservicesenabled QoS Layer2 3 4classificationPolicingandshapingMultiplequeuesGranularcontrol Security Layer2 3 4accesscontrolIdentity basedauthenticationManagementsecurity Manageability End to endmanageabilityforcentralizedadministrationWeb basedorcommand lineinterface CLI Analysisandplanningtools 内容安排 Catalyst3560介绍基本配置介绍二层配置介绍三层配置介绍安全功能介绍QoS功能介绍 配置准备 Console线9600bit速率 密码设置 config enablesecretxxxxx特权密码加密 config enablepasswordxxxxxx特权密码不加密 config line loginpasswordxxxx config line loginlocal config usernamexxxpasswordxxx config AAAauthenticationxxxxxx集中式认证 3A认证 日志设置 config loggingbuffered开启log config loggingx x x x发送log至主机x x x x config timestamp记录log发生时间 showlog 软件升级和配置文件保存 Tftpserver建立 copytftpflash 从主机down文件到flash showflash config bootsystemflash xxxxxxx升级flash文件为xxxxxx copystartup configflash 文件保存至flash copystartup configtftp 文件保存至tftpserver 配置技巧 Copyandpaste上下键CtrlA 管理端口建立 config intvlan1 config if ipaddressxxx xxx xxx xxx配置管理端口地址 config ipdefaultgateway配置缺省网关 物理端口配置 速率双工 内容安排 Catalyst3560介绍基本配置介绍二层配置介绍三层配置介绍安全功能介绍QoS功能介绍 建立VLAN 缺省所有端口都属于vlan1 用作管理 config vlanx config vlan namexxx showvlan VLAN分配 用户端口 config intf0 x config if switchportmodeaccess将端口配置为属于一个vlan的端口 config if switchportaccessvlanx showvlan上联端口 config intf0 x config if switchportmodetrunk将端口配置为属于多个vlan的端口 config if switchporttrunkencapsulationdot1q showintf0 xswitchporttrunk 内容安排 Catalyst3560介绍基本配置介绍二层配置介绍三层配置介绍安全功能介绍QoS功能介绍 建立三层端口 config if nosw config intvlanx Showipintbrief查看三层端口是否启动 运行3层路由协议 config iproutingOSPFRIP IGRP EIGRP静态路由 路由协议配置 Routerospfxxx配置路由进程Networkx x x xarea0Showiproute 静态路由配置 Iproutex x x x255 255 x x gateway 双向意思是静态路由为起始路由器都应配置 内容安排 Catalyst3560介绍基本配置介绍二层配置介绍三层配置介绍安全功能介绍QoS功能介绍 Agenda安全防范 MACsecurity用户恶意发CAM表 解决办法是限制用户端口接入过多MAC地址VLANsecurityVlan1自身安全隐患 vlan1可以访问所有其它vlan的电脑 一般不用做业务DHCPsecurity同一vlan的黑客 冒充DHCPServer 解决办法是指定端口只允许一个DHCP通过ARPsecurityIP MACspoofsecurity地址映射隐患 解决办法IP地址和MAC地址绑定SPTsecurity生成树spanning treeOtherlayer2security MACAttacks CAMOverflow3 3 MACA MACB MACC Port1 Port2 Port3 BUnknown FloodtheFrame ISeeTraffictoB A B MACPortX3Y3C3 MACFloodingAttackMitigation PortsecurityCapabilitiesaredependentontheplatformAllowsyoutospecifyMACaddressesforeachport ortolearnacertainnumberofMACaddressesperportUpondetectionofaninvalidMACtheswitchcanbeconfiguredtoblockonlytheoffendingMACorjustshutdowntheportPortsecuritypreventsmacoffromfloodingtheCAMtable CountermeasuresforMACAttacks 00 0e 00 aa aa aa00 0e 00 bb bb bb 132 000BogusMACs Only3MACAddressesAllowedonthePort Shutdown Solution PortsecuritylimitsMACfloodingattackandlocksdownportandsendsanSNMPtrap PortSecurityLimitstheAmountofMAC sonanInterface PortSecurity ExampleConfig 3MACaddressesencompassthephone theswitchinthephone andthePC Restrict ratherthen errordisable toallowonly3 andlogmorethen3 CatOSsetportsecurity5 1enablesetportsecurity5 1portmax3setportsecurity5 1violationrestrictsetportsecurity5 1age2setportsecurity5 1timer typeinactivityIOSswitchportport securityswitchportport securitymaximum3switchportport securityviolationrestrictswitchportport securityagingtime2switchportport securityagingtypeinactivity VLAN Hopping Attacks TrunkPortRefresher TrunkportshaveaccesstoallVLANsbydefaultUsedtoroutetrafficformultipleVLANsacrossthesamephysicallink generallyusedbetweenswitches Encapsulationcanbe802 1QorISL TrunkPort DisablingAuto Trunking Defaultschangedependingonswitch alwayscheck FromtheCiscodocs Thedefaultmodeisdependentontheplatform TocheckfromtheCLI CatOS enable settrunkofforCatOS enable setporthostIOS config if switchportmodeaccess CatOS enable showtrunk mod mod port IOS showinterfacetypenumberswitchport ATTACKSANDCOUNTERMEASURES DHCPATTACKS 34 34 34 DHCPFunction HighLevel ServerdynamicallyassignsIPaddressondemandAdministratorcreatespoolsofaddressesavailableforassignmentAddressisassignedwithleasetimeDHCPdeliversotherconfigurationinformationinoptions DHCPServer Client DHCPAttackTypesDHCPStarvationAttack Client GobblerlooksattheentireDHCPscopeandtriestoleasealloftheDHCPaddressesavailableintheDHCPscopeThisisaDenialofServiceDoSattackusingDHCPleases DHCPServer CountermeasuresforDHCPAttacksDHCPStarvationAttack PortSecurity GobblerusesanewMACaddresstorequestanewDHCPleaseRestrictthenumberofMACaddressesonanportWillnotbeabletoleasemoreIPaddressthenMACaddressesallowedontheportIntheexampletheattackerwouldget1IPaddressfromtheDHCPserver Client DHCPServer CatOSsetportsecurity5 1enablesetportsecurity5 1portmax1setportsecurity5 1violationrestrictsetportsecurity5 1age2setportsecurity5 1timer typeinactivityIOSswitchportport securityswitchportport securitymaximum1switchportport securityviolationrestrictswitchportport securityagingtime2switchportport securityagingtypeinactivity CountermeasuresforDHCPAttacksRogueDHCPServer DHCPSnooping Bydefaultallportsinthevlanareuntrusted Client DHCPServer RogueServer Trusted Untrusted Untrusted DHCPSnoopingEnabled DHCPSnoopingUntrustedClient InterfaceCommandsnoipdhcpsnoopingtrust Default ipdhcpsnoopinglimitrate10 pps IOSGlobalCommandsipdhcpsnoopingvlan4 104noipdhcpsnoopinginformationoptionipdhcpsnooping DHCPSnoopingTrustedServeroruplink BADDHCPResponses offer ack nak OKDHCPResponses offer ack nak InterfaceCommandsipdhcpsnoopingtrust ARPAttacks GratuitousARP GratuitousARPisusedbyHAnetworkdevicestoinformclientswhenafailoverhasoccurred somenetworkdevicescachegARPinfoevenifthedevicedoesn thaveanimmediateneedtocommunicatewiththesystemGratuitousARPisabroadcastpacket likeanARPrequest HOSTW HeyeveryoneI mhostWandmyIPaddressis1 2 3 4andmyMACaddressis12 34 56 78 9A BC V X Z W Y MisuseofGratuitousARP ARPhasnosecurityorownershipofIPorMACaddressesWhatifwedidthefollowing HostWbroadcastsI m1 2 3 1withMAC12 34 56 78 9A BC Wait5seconds HostWbroadcastsI m1 2 3 1withMAC12 34 56 78 9A BC 1 2 3 0 24 HostW 4 1 HostY 2 HostX 3 CountermeasurestoARPAttacks DynamicARPInspection UsestheDHCPSnoopingBindingTableInformationDynamicARPInspectionAllARPpacketsmustmatchtheIP MACBindingtableentriesIftheentriesdonotmatch throwtheminthebitbucket 10 1 1 1MACA 10 1 1 2MACB 10 1 1 3MACC ARP10 1 1 1Saying10 1 1 2isMACC ARP10 1 1 2Saying10 1 1 1isMACC NoneMatchingARP sintheBitBucket DHCPSnoopingEnabledDynamicARPinspectionEnabled CountermeasurestoARPAttacks DynamicARPInspection UsestheinformationfromtheDHCPSnoopingBindingtableLooksattheMacAddressandIpAddressfieldstoseeiftheARPfromtheInterfaceisinthebinding itnot trafficisblocked shipdhcpsnoopingbindingMacAddressIpAddressLease sec TypeVLANInterface 00 03 47 B5 9F AD10 120 4 10193185dhcp snooping4FastEthernet3 1800 03 47 c4 6f 8310 120 4 11213454dhcp snooping4FastEthermet3 21 CountermeasurestoARPAttacks DynamicARPInspection DynamicARPInspectionCommands IOSGlobalCommandsipdhcpsnoopingvlan4 104noipdhcpsnoopinginformationoptionipdhcpsnoopingiparpinspectionvlan4 104iparpinspectionlog bufferentries1024iparpinspectionlog bufferlogs1024interval10InterfaceCommandsipdhcpsnoopingtrustiparpinspectiontrust IOSInterfaceCommandsnoiparpinspectiontrust default iparpinspectionlimitrate15 pps PromiscuousPort PromiscuousPort Community A Community B IsolatedPorts PrimaryVLANCommunityVLANCommunityVLANIsolatedVLAN OnlyOneSubnet x x x x ARPSpoofMitigation Cont PrivateVLANs PVLANsisolatetrafficinspecificcommunitiestocreatedistinct networks withinanormalVLANNote Mostinter hostcommunicationisdisabledwithPVLANsturnedon ATTACKSANDCOUNTERMEASURES SPOOFINGATTACKS 46 46 46 CountermeasurestoSnoopingAttacks IPSourceGuard UsestheDHCPSnoopingBindingTableInformationIPSourceGuardOperatesjustlikeDynamicARPInspection butlooksateverypacket notjustARPPacket 10 1 1 1MACA 10 1 1 2MACB 10 1 1 3MACC ReceivedTrafficSourceIP10 1 1 2MacB 10 1 1 3MACC TrafficSentwithIP10 1 1 3MacB TrafficSentwithIP10 1 1 2MacC NonMatchingTrafficDropped DHCPSnoopingEnabledDynamicARPinspectionEnabledIPSourceGuardEnabled SpanningTreeAttacks SpanningTreeBasics STPisverysimple MessagesaresentusingBridgeProtocolDataUnits BPDUs basicmessagesinclude configuration topologychangenotification acknowledgment TCN TCA mosthaveno payload Avoidingloopsensuresbroadcasttrafficdoesnotbecomestorms X ASwitchIsElectedasRootRootSelectionIsBasedontheLowestConfiguredPriorityofAnySwitch0 65535 F F F F B F F A Tree Like Loop FreeTopologyIsEstablishedfromthePerspectiveoftheRootBridge F Root STPPurpose ToMaintainLoop FreeTopologiesinaRedundantLayer2Infrastructure B F SpanningTreeAttackExample2 2 SendBPDUmessagestobecomerootbridge Attacker AccessSwitches Root F F F F F Root B X Theattackerthenseesframesheshouldn tMITM DoS etc allpossibleAnyattackisverysensitivetotheoriginaltopology trunking PVST etc AlthoughSTPtakeslinkspeedintoconsideration itisalwaysdonefromtheperspectiveoftherootbridge TakingaGbbackbonetohalf duplex10MbwasverifiedRequiresattackerisdualhomedtotwodifferentswitches withahub itcanbedonewithjustoneinterfaceontheattackinghost STPAttackMitigation Don tdisableSTP introducingaloopwouldbecomeanotherattackBPDUGuardDisablesportsusingportfastupondetectionofaBPDUmessageontheportGloballyenabledonallportsrunningportfastAvailableinCatOS5 4 1forCat2K 4K 5K and6K 12 0XEfornativeIOS6K 12 1 8a EWfor4KIOS 12 1 4 EA1for3550 12 1 6 EA2for2950 RootGuardDisablesportswhowouldbecometherootbridgeduetotheirBPDUadvertisementConfiguredonaperportbasis

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论