第1章_HP_Procurve交换机基本配置.ppt_第1页
第1章_HP_Procurve交换机基本配置.ppt_第2页
第1章_HP_Procurve交换机基本配置.ppt_第3页
第1章_HP_Procurve交换机基本配置.ppt_第4页
第1章_HP_Procurve交换机基本配置.ppt_第5页
已阅读5页,还剩39页未读, 继续免费阅读

下载本文档

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

文档简介

1、HP 交换机的基本配置,第1章:,Rev. 6.11,2,本章目标,After completing this module, you will be able to: 描述ProCurve Adaptive EDGE 架构 描述ProCurve 产品 启用远程管理 在ProCurve switch 描述特权级别的特征 在 CLI 中如何定位 在 ProCurve switch执行初始化配置 在 ProCurve switch上更新软件,1,Rev. 6.11,3,启用远程管理,Enabling remote management ProCurve Adaptive EDGE 回顾 个案研究

2、管理接口 CLI 命令, 特权级别与口令 IP地址与验证 Initial configuration and monitoring Adaptive EDGE Architecture,2,Rev. 6.11,4,ProCurve 自适应边缘架构,A ProCurve Adaptive EDGE Network: 适应每一个用户的独特行为 在企业网络中启用变换到安全、移动、融合的网络模式 Adaptive EDGE Architecture 的关键原则: 中心命令, 在中心位置启用配置网络 配置依照用户标示应用设备类型 基于商业需求 改变网络管理的基础 边缘控制, 集成智能 立即执行来自中心的

3、命令,3,Rev. 6.11,5,ProCurve 软件支持 Adaptive EDGE,ProCurve Manager and ProCurve Manager Plus 输送 Command from the Center: 基于WINDOS平台的高级网络控制 ProCurve Manager: Auto-discovery Topology mapping ProCurve Manager Plus : Traffic monitoring and analysis VLAN configuration across all devices Enhanced network secur

4、ity Identity-Driven Manager 输送 Control to the Edge: 基于用户、地点、时间动态应用安全与访问设置 QoS Prioritization Rate limits Access groups VLAN membership,5,Rev. 6.11,6,ProCurve Secure Router 7102dl (J8752A),ProCurve Secure Router 7203dl (J8753A),ProCurve Routing Switch 9315m (J4874A),ProCurve Routing Switch 9308m (J41

5、38A),ProCurve Routing Switch 9304m (J4139A),ProCurve Routing Switch 9408sl (J8680A),电信级核心交换机,ProCurve Routing Switch 8108fl (J8727A),ProCurve Routing Switch 8116fl (J8728A),Traditional Core Switches,Interconnect Fabric Switches,ProCurve Switch 6108 (J4902A),ProCurve Switch 6400cl (J8433A),ProCurve S

6、witch 6410cl (J8474A),Aggregators,ProCurve Switch 6200yl-24G-mGBIC (J8992A),广域网路由器,ProCurve 产品家族,ProCurve Routing Switch 8212zl (J8715A),Rev. 6.11,7,企业级核心交换机,Intelligent Edge Switches,ProCurve Switch 5304xl-32G (J8166A),ProCurve Switch 5308xl-48G (J8167A),ProCurve Switch 5308xl (J4819A),ProCurve Swi

7、tch 5304xl (J4850A),Edge SwitchesManaged,ProCurve Switch 4140gl (J8151A),ProCurve Switch 4160gl (J8152A),ProCurve Switch 4108gl Bundle (J4861A),ProCurve Switch 2848 (J4904A),ProCurve Switch 2824 (J4903A),ProCurve Switch 2650 (J4899B),ProCurve Switch 2626 (J4900B),ProCurve Switch 2650-PWR* (J8165A),P

8、roCurve Switch 2626-PWR* (J8164A),ProCurve Switch 4148gl (J4888A),ProCurve Switch 4108gl (J4865A),ProCurve Switch 4104gl (J4887A),Edge SwitchesUnmanaged,ProCurve Switch 2524 (J4813A),ProCurve Switch 2512 (J4812A),ProCurve Switch 408 (J4097B),ProCurve Switch 2724 (J4897A),ProCurve Switch 2324 (J4818A

9、),ProCurve Switch 2124 (J4868A),ProCurve Switch 2708 (J4898A),ProCurve Switch 2312 (J4817A),ProCurve Switch 5372xl (J4848B),ProCurve Switch 5348xl (J4849B),ProCurve Switch 3400cl-48G (J4906A),ProCurve Switch 3400cl-24G (J4905A),ProCurve Switch 2600-8-PWR* (J8762A),ProCurve Switch 5406zl-48G (J8699A)

10、,ProCurve Switch 3500yl-48G-PWR* (J8693A),ProCurve Switch 4202vl-48G (J8771A),ProCurve Switch 5406zl (J8697A),ProCurve Switch 5412zl (J8698A),ProCurve Switch 5412zl-96G (J8700A),ProCurve Switch 4202vl-72 (J8772A),ProCurve Switch 4208vl (J8773A),ProCurve Switch 4208vl-64G (J8774A),ProCurve Switch 420

11、8vl-96 (J8775A),*Power over Ethernet,ProCurve Switch 3500yl-24G-PWR* (J8692A),ProCurve Switch 4204vl (J8770A),*Power over Ethernet,ProCurve 产品家族,企业级接入交换机,Rev. 6.11,8,无线网络产品,网络管理软件,客户端软件,ProCurve Manager 2.2,ProCurve Manager Plus 2.2,ProCurve Identity Driven Manager 2.1,ProCurve Access Control Client

12、 Software (J8449A, J8469A, J8470A, J8468A),ProCurve VPN Client Software (J8758A/J8750A),ProCurve Mobility Manager 1.0 (J8990A),ProCurve Wireless EdgeServices xl Module (J9001A),ProCurve Redundant Wireless Services xl Module (J9003A),ProCurve Radio Port 210 (J9004A),ProCurve Radio Port 220 (J9005A),P

13、roCurve Radio Port 230 (J9006A),ProCurve Access Controller 720wl (J8153A),ProCurve Access Control Server 740wl (J8154A),ProCurve Integrated Access Manager 760wl (J8155A),ProCurve Wireless Access Point 420 (J8130A/J8131A),ProCurve Wireless Access Point 530 (J8986A/J8987A),ProCurve Switch xl Access Co

14、ntroller Module (J8162A),ProCurve Wireless Services Module RP License (J9002A),ProCurve 产品家族,Rev. 6.11,9,启用设备管理,设备管理使用IP服务远程管理例如: Telnet 启用终端访问到线行接口 HTTP 提供WEB图形接口访问 SNMP 使用网络来之不易应用提供图形界面 远程访问需要一个有效的IP地址可以使用以下几种方式分配: Dynamic Host Configuration Protocol (DHCP) 通过直连串口手动指定 网络设备可以保护未经授权的访问,11,Rev. 6.11,

15、10,串口连接,初始化配置通过直连串口. The console 端口 (DB-9 针) 在多数交换机的前置面板 虚拟拨号MODEM电缆提供在每一台交换机 超级终端设置: 9600 bps 8 data bits, no parity, 1 stop bit No flow control,12,Rev. 6.11,11,管理接口,ProCurve switches支持以下几种配置与监视界面 : Command Line Interface (CLI) 基于字符界面允许配置与监视所有特征 通过串口或TELNET会话 Menu interfaces (setup and menu command

16、s) 通过 CLI Web interface (http:/) 图形配置监视界面 启用WEB浏览器访问交换机的带内WEB服务器 ProCurve Manager / ProCurve Manager Plus (Start Programs ),13,Rev. 6.11,12,分配管理员与操作员口令,系统默认交换机没有口令保护,定义管理口令与操作口令,14,提供管理员与操作口令,HP ProCurve Switch 5304XL# HP ProCurve Switch 5304XL# configure HP ProCurve Switch 5304XL(config)# password

17、manager New password for Manager: * Please retype new password for Manager: * HP ProCurve Switch 5304XL(config)# password operator New password for Operator: * Please retype new password for Operator: * HP ProCurve Switch 5304XL(config)# logout Do you want to log out y/n? y,Password: * HP ProCurve S

18、witch 5304XL# config,.,.,Rev. 6.11,13,Switch(config)# no password ,清除配置口令,如果忘记了管理员口令: 可以按以下两个按钮来清除: Reset Clear 按下 Clear 按钮可除管理员与操作口令 如果知道管理口令: 在全局模式下,Console port,Reset,Clear,16,Rev. 6.11,14,管理和操作级别,进入管理员级别,Switch enable Switch#,Manager level prompt:,Switch#,Operator level prompt:,Switch,show: disp

19、lay system information ping, link-test: test connectivity menu: access the menu interface enable: advance to manager level,show: display system information ping, link-test: test connectivity menu, setup: access one of the menu interfaces clear: reset system statistics counters erase, write, copy: ma

20、nipulate image and configuration files config: advances to the global configuration level exit: returns to operator level,离开管理员级别,Switch# exit Switch,17,Rev. 6.11,15,命令行简化操作CLI,几个快速输入命令的方法: or 键可显示上下CLI 命令列表,19,Rev. 6.11,16,CLI navigation,config,hostname Edge_1,global configuration level,Edge_1(conf

21、ig)#,int a1,port context configuration level,Edge_1(eth-a1)#,speed-duplex auto-10,exit,manager level,HP ProCurve Switch 5304XL#,global configuration level,HP ProCurve Switch 5304XL(config)#,port context configuration level,Edge_1(eth-a1)#,end,operator level,HP ProCurve Switch 5304XL,20,end,exit,exit

22、,config,enable,Rev. 6.11,17,保存配置信息,配置指令发布到CLI 动态执行 和 写入running configuration 到易失性内存,重启配置信息会丢失 配置信息进入 CLI 保存startup configuration 到非易失性FLASH内存 保存配置信息从 running configuration 到 startup configuration, 执行: write memory,22,Rev. 6.11,18,交换机设置菜单可提供一个IP地址信息与口令: 交换机需要一个IP地址来进行带内管理 默认网关, 如果工作站在不同的网络,利用交换机菜单设置,

23、“Save” 保存 startup configuration,Default gateway 应用在 VLAN 1,口令能定义在菜单上,23,Console 或 Telnet 访问 Manager 或Operator,Switch# setup,IP 信息 VLAN 1,Rev. 6.11,19,HP ProCurve Switch 5304XL# show running-config . vlan 1 untagged a1-a24,c1-c4 ip address bootp-dhcp . HP ProCurve Switch 5304XL# config HP ProCurve Sw

24、itch 5304XL(config)# hostname Edge_1 Edge_1(config)# vlan 1 Edge_1(vlan-1)# ip address /24 Edge_1(vlan-1)# exit Edge_1(config)# ip default-gateway Edge_1(config)# show running-config . hostname “Edge_1” . ip default-gateway vlan 1 untagged a1-a24,c1-c4 ip address 2

25、,所有端口是untagged 成员 VLAN 1,默认IP地址源 BOOTP/DHCP,进入全局配置模式,分配主机名,进入Enter VLAN 模式定义IP地址与子网,CLI的初始化设置,在全局配置下定义默认网关,25,Rev. 6.11,20,Layer 1: Visual inspection Verifies physical connectivity Verifies that the Link LED is illuminated for the port,Layer 2: Link test Verifies Ethernet connectivity be

26、tween switches,检测连接性,Layer 3: Ping Verifies reachability between the switch and another IP host:,26,Edge_1# link-test 0004ea-5e5000,Edge_1# ping ,Rev. 6.11,21,限制管理IP地址,User VLANs: VLAN 21: /24 VLAN 22: /24 VLAN 23: /24 VLAN 24: /24,Network administrato

27、rs:VLAN 10: /24 Help desk: VLAN 20: /24,Core(config)# ip authorized-managers Core(config)# ip auth access operator,默认设置,任何IP地址可以管理交换机 限制管理用户指定IP地址范围定义授权管理,28,Rev. 6.11,22,Using the Menu interface,29,Switch# menu,Rev. 6.11,23,使用WEB

28、管理,30,http:/,访问保护通过相同的用户名与口令 能配置SSL 访问,Rev. 6.11,24,总结: 启用远程管理,带内设备管理可以执行: Telnet HTTP The CLI 提供管理员 与操作员的访问安全级别 IP地址参数可以 通过: DHCP Static addressing,32,Rev. 6.11,25,初始化配置与监视,Enabling remote management Initial configuration and monitoring Link layer discovery protocol链路发现协议 Time synchronization proto

29、cols时间同步协议 System event log and syslog servers系统事件日志服务器 配置文件与管理软件镜像 端口配置与监视 Adaptive EDGE Architecture,35,Rev. 6.11,26,Link Layer Discovery Protocol链路层发现协议,ProCurve switches implement LLDP to collect information about neighboring switches 每台交换机将描述自己的LLDP包发送到每个端口 每一个输出LLDP包只到达它直连的邻居 交换机建立一个LLDP邻居表其中包

30、括每一个到达直连邻居的条目 Information in the LLDP neighbors table can be: 在SNMP中容易管理和图形化描述网络,36,Rev. 6.11,27,To display global and interface-level LLDP status:,LLDP 信息与参数,37,Edge_1# show lldp config,LLDP parameters may be changed:,Edge_1(config)# lldp ? admin-status Set the port in one of the operational mode t

31、ransmit | receive | transmit the default is 4. refresh-interval Set refresh interval/transmit-interval in seconds. run Start or Stop LLDP on device. top-change-notify Set the port for which LLDP MED topology notification should be enabled,Edge_1# show lldp info remote-device LLDP Remote Devices Info

32、rmation LocalPort | ChassisId PortId PortDescr SysName - + - - - - C1 | 00 04 ea 5d bd 00 53 C1 Edge_2,To display a high-level view of the entries in the LLDP neighbors table:,Rev. 6.11,28,Time同步协议,ProCurve switches support two time synchronization protocols: IP Time Protocol (TimeP), the default, a

33、llows you to: 手动指定TimeP server by its IP address, or 动态获取 IP address of a TimeP server through DHCP Simple Network Time Protocol (SNTP) allows you to: 手动指定SNTP服务器, 为 “Unicast” 模式 动态获取IP地址首次为, “Broadcast” 模式,38,Edge_1(config)# time 12/12/2005 08:28:00,Edge_1(config)# time timezone -480 Edge_1(config)

34、# time daylight-time-rule continental-us-and-canada,To display time:,Timezone and DST settings are configurable:,Time can be set manually:,Edge_1(config)# show time Mon Dec 12 08:28:18 2005,Rev. 6.11,29,SNTP 参数,SNTP server ,Edge_1(config)# timesync sntp Edge_1(config)# sntp server

35、Edge_1(config)# sntp server Edge_1(config)# sntp unicast Edge_1(config)# sntp 60,SNTP server ,Edge_1 ,交换机明确指定来自第一台服务配置的请求时间更新 如果第一台服务器在3次轮询没有响应。交换机发送请求到第二台服务器 Up to 3 SNTP servers may be specified,40,Rev. 6.11,30,在系统日志中显示事件,交换机记录具体事件日志值 显示条目:,Edge_1# show logging Keys: W=

36、Warning I=Information M=Major D=Debug -Event Log listing: Events Since Boot - M 01/01/90 00:00:00 sys: System reboot due to Power Failure I 01/01/90 00:00:02 lacp: Passive Dynamic LACP enabled on all ports I 01/01/90 00:00:06 chassis: Slot A inserted I 01/01/90 00:00:07 dhcpr: DHCP relay agent featu

37、re enabled I 01/01/90 00:00:07 chassis: Slot B inserted I 01/01/90 00:00:07 chassis: Slot C inserted I 01/01/90 00:00:08 chassis: Slot D inserted I 01/01/90 00:00:08 chassis: Slot A downloading . I 01/01/90 12:57:23 mgr: changing time I 04/14/06 14:40:01 mgr: new time set Edge_1#,41,Rev. 6.11,31,定义系

38、统日志服务器,Syslog 消息将动态考贝到日志到服务器 可以定义6台SYSLOG服务器,Switch_A1(config)# logging 0,Syslog Server 0/24,42,Rev. 6.11,32,访问配置信息,易失性存储器 (RAM),非易失性存储器 (Flash),xxx xxx xxx xx xx xx xx xxx xxx xxx xx xx xx xx,Running configuration,Startup configuration,保存配置信息 write memory 命令将拷贝 全部 running configur

39、ation 到 startup configuration 在菜单下选择 “Save” 选项 利用WEB界面可单击 “Apply Changes”,xxx xxx xxx xx xx xx xx xxx xxx xxx xx xx xx xx,43,Rev. 6.11,33,CLI 配置命令流程,Console,config config term,show runwrite term,show config,write mem,reload,erase startup-config,显示startup configuration, 使用: show config,显示 running con

40、figuration使用: show run,更改running configuration, 进入 configuration 级别,恢复到出厂设置: erase startup-config,44,xxx xxx xxx xx xx xx xx xxx xxx xxx xx xx xx xx,xxx xxx xxx xx xx xx xx xxx xxx xxx xx xx xx xx,Volatile memory (RAM),Non-volatile memory (Flash),Rev. 6.11,34,清楚 startup configuration文件,Console port,

41、Reset,Clear,If manager password is unknown: 按下 Clear 按钮 跟着按下 Reset 按钮 当 Self Test LED 开始 flash,释放 Clear 按钮,Self-test LED,45,Edge_1# erase startup-config,Rev. 6.11,35,管理配置文件,TFTP server 0,Running configuration,Startup configuration,copy run tftp 0 edge_1_041406.cfg,Edge_1,46,xxx xxx x

42、xx xx xx xx xx xxx xxx xxx xx xx xx xx,xxx xxx xxx xx xx xx xx xxx xxx xxx xx xx xx xx,copy tftp star 0 edgee_1_041406.cfg,back up,restore, followed by reboot,startup or running config can be specified,Rev. 6.11,36,访问软件镜象,软件image 在交换机上运行系统 Images 存储在 flash 存储器中 Flash 存储器中包含主,辅区域 CLI and SNMP

43、 方法 允许更新IMAGE 在主与辅FLASH区域 菜单仅界面允许更新 在主区域 两种重新启动交换机的方法, reload and boot,主FLASH存储,辅助Flash 存储,xxx xxx xxx xx xx xx xx xxx xxx xxx xx xx xx xx,xxx xxx xxx xx xx xx xx xxx xxx xxx xx xx xx xx,Software image,48,Software image,Rev. 6.11,37,查看软件版本,察看存储区域 show flash command 察看当前运行 的 software version, 使用 show

44、 version 命令,Edge_1# show flash Image Size(Bytes) Date Version - - - - Primary Image : 3637500 01/23/06 E.10.30 Secondary Image : 3637500 01/23/06 E.10.30 Boot Rom Version: E.05.04 Current Boot : Primary,Edge_1# show version Image stamp: /sw/code/build/alpmo(lor) Jan 23 2006 15:41:58 E.10.30 255 Boot

45、 Image: Primary,50,Rev. 6.11,38,更新 flash image,1. 下载新的软件,51,Rev. 6.11,39,端口命名约定,Ports 1-48,Ports 49 and 50 (10/100/1000 or mini-GBIC),A,G,D,C,E,H,F,B,53,Stackable switches 端口标示号 上行端口有更高的标示号,Modular switches 模块化标示A to H,slots,Ports 1 (top) and 2 (bottom),Ports B1 and B2 (top),Rev. 6.11,40,端口速率与模式,所有端口默认为 “Auto” “Auto” 端口为协商速度与模式: 10/100 UTP ports 协商 10 Mbps half-duplex (HDx), 10

温馨提示

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

评论

0/150

提交评论