最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

惠普Procurve以太网交换机配置指南-Version-1.0

IT圈 admin 53浏览 0评论

2024年2月20日发(作者:怀以晴)

惠普Procurve以太网交换机配置指南-Version-1.0

中国惠普有限公司

2011年5月5日普

ProCurve以

Administrator

太网交换机安装配置指

南惠Version1.0

产品介绍

ProCurve 6120系列交换机分为两种型号:

 6120G/XG

 6120XG

产品名称的规则:

以6120产品的G/XG为例,G和XG都指端口速率,其中G表示1Gb per

second,XG表示10Gb per second;

”/”以前的部分特指内部端口速率,”/”以后的部分特指外部端口速率。

前面板及端口介绍:

端口

6120 G/XG

端口类型

16x 1GbE Server NIC ports

端口名称 端口类型

D1-D16 16x 10GbE Server NIC po

1x 10GbE CX4

2x 10GbE XFP ports

2x 1GbE SFP ports

4x 10/100/1000 RJ-45 ports

S2S link

Management Port

C1 1x 10GbE CX4 or 1x 10GbX1;X2 5x 10GbE SFP+ ports

S1;S2 2x 10GbE SFP+ ports or

1;2;3;4

I1

OOBM

Management Port

• 10GbE CX4—The CX4 interface requires the use of copper

cabling, similar to the variety used in InfiniBand

technology, and is designed to work up to a distance of

15 m. CX4 technology is an attractive solution because it

has the lowest cost per port of all 10Gb interconnects, at

the expense of range. CX4 has a bigger form factor than

either SFP or SFP+.

• 10GbE XFP ports—These 10GbE ports support SR (multi-mode

fiber, 300 m) and LR (single-mode fiber, 10 km) optic

transceivers based on the XFP version of the small form

factor pluggable specification. XFP transceivers have a

smaller form factor compared to several standards (XENPAK,

X2, XPAK) that preceded it. The XFP ports support Industry

Standard Servers (ISS) optics only.

• 1GbE SFP ports—These 1GbE ports support SX (multi-mode

fiber, 550 m) and LX (single-mode fiber, 10 km) optic

transceivers based on the SFP version of the small form

factor pluggable specification using an LC physical

connector. These ports also support 1000BASE-T copper

connections using an RJ-45 connector. The SFP ports support

ISS and ProCurve optics.

• 10/100/1000 RJ-45 ports—These ports support standard

RJ-45 Ethernet cables and each port can operate at one of

three autosensing speeds.

• 5x 10GbE SFP+ ports—These five ports are dedicated10GbE

SFP+ ports that support SR (multi-mode fiber, 300 m), LR

(single-mode fiber, 10 km), and LRM (multi-mode fiber, 220

m) optic SFP+ transceivers.

• 2x 10GbE SFP+ ports—Individually, the two ports labeled

23 and 24 can be used as either external 10GbE SFP+ ports

or internal 10GbE switch-to-switch (cross-link) ports. For

SFP+ connectivity, these ports support the same fiber optic

transceivers as the other SFP+ ports.

• Internal Network Ports—The 6120G/XG also has “internal”

Ethernet ports that function as downlinks to devices in the

enclosure. The internals ports are essentially communication

interfaces used to transfer data to and from server blades,

storage blades, and even another 6120G/XG (if it is installed in

an adjacent bay of the enclosure). The internal ports use the

enclosure’s midplane circuitry to communicate with the other

c-Class enclosure components.

• Management Port—The IP address within the OA subnet that

you assign to the blade switch is used by a switch component known

as Out-Of-Band Management (OOBM).

交换机系统指示灯:

Module status LED:绿色表示交换机工作正常;橙色表示有故障

Module locator LED:用户可以通过命令chassislocate 来控制其状态,方便用户找到此交换机

端口指示灯介绍:

Link status LED:绿色表示已连接;橙色表示有故障

Link activity LED

绿色闪烁表示正在通讯

RJ-45指示灯

绿色闪烁表示端口正在10/100Mb per second速率通讯

橙色闪烁表示端口正在1000Mb per second速率通讯

管理口介绍:

Mini USB接口,交换机产品包装里都有对应的线缆;使用其管理交换机时,需要先安装相应的驱动程序,并通过终端模拟器软件访问。驱动程序如下

USB Console Driver for HP ProCurve 6120 Series Ethernet Blade

Switches for Windows

CLEAR AND

RESET

CONTROL

BUTTONS:

Clear用来清除用户密码;Reset使交换机重启;当Clear和Reset同时按,将使交换机恢复出厂配置

配置细则:

管理接口

ProCurve 6120系列交换机管理接口有三个:Mini USB模拟串口,与OA直连的内部串口,与OA直连的Out-Of-Band Management (OOBM)以太网接口

MINI

USB访问

Mini USB分别连接交换机和PC的USB接口,安装驱动后,在终端模拟器软件中选择连接端口’COM4’,串口属性9600/n/8/1

OA内部串口访问

telnet

connect interconnect

通过以上两种串口访问方式可以配置OOBM以太网接口的IP地址

OOBM以太网接口可以用telnet 访问,或者用IE 访问。建议在做配置时使用telnet 方式。这样的好处是:

1.命令行方式便于把事先制订好的配置脚本粘贴到终端上执行

2.避免了IE 方式可能遇到的Java 版本问题,Java 响应速度慢的问题

常用交换机参数配置

OOBM端口管理方法:

端口启用/禁用(默认情况下是启用状态)

ProCurve# configure

ProCurve(config)# oobm

ProCurve(oobm)# enable ##启用

ProCurve(oobm)# disable ##禁用

DHCP获取IP

ProCurve# configure

ProCurve(config)# oobm

ProCurve(oobm)# ip address dhcp-bootp

手工指定IP

ProCurve# configure

ProCurve(config)# oobm

ProCurve(oobm)# ip address

32位IP地址的十进制表示;

## IP-ADDR指

配置网关

ProCurve# configure

ProCurve(config)# oobm

ProCurve(oobm)# ip default-gateway

用户管理

交换机默认有manager和operator两个用户,默认密码为空。

修改密码

ProCurve# configure

ProCurve(config)# password manager

New password for manager:

Please retype new password for manager:

ProCurve(config)#password operator

New password for operator:

Please retype new password for operator:

修改系统名称

ProCurve# configure

ProCurve(config)# hostname TTE

TTE(config)#

前面板恢复出厂按钮的启用/禁用

ProCurve(config)# front-panel-security

factory-reset Enable/Disable factory-reset ability

password-clear Enable/Disable password clear

password-recovery Enable/Disable password recovery.

清空配置文件

ProCurve# erase startup-config

保持配置到交换机

ProCurve# write memory

保持配置到TFTP服务器

ProCurve# copy running-config tftp

常用交换机状态查看

查看固件版本

ProCurve# show flash

ProCurve# show version

查看当前配置文件

ProCurve# show running-config

查看端口状态

ProCurve# show interfaces

查看OOBM状态

ProCurve# show oobm

查看VLAN状态

ProCurve# show vlans

查看交换机系统

ProCurve# show system

查看交换机日志

ProCurve# show tech all

ProCurve# show logging

常用交换机应用配置

配置VLAN及VLAN TAGGING

ProCurve# configure

ProCurve(config)# vlan 10 ##建立Vlan 10

ProCurve (vlan-10)# name train_the_engineer ##为Vlan 10命名

ProCurve# show vlans 10 ##显示所有vlan信息,可以发现Vlan 10名称已经成功更改

Tagged

ProCurve (vlan-10)# tagged ethernet D1-D4 ##将端口D1到D4加入到新的vlan

ProCurve# show vlans 10 ##显示vlan 10状态,可以发现D1到D4端口已经成功加入vlan 10

ProCurve# show running-config ##显示当前配置,可以发现D1到D4端口不但属于vlan 10,同时属于DEFAULT_VLAN(Vlan 1)

Untagged

ProCurve (vlan-10)# untagged ethernet D1-D4 ##将端口D1到D4加入到新的vlan

ProCurve# show vlans 10 ##显示vlan 10状态,可以发现D1到D4端口已经成功加入vlan 10

ProCurve# show running-config ##显示当前配置,可以发现D1到D4端口只属于vlan 10

VLAN及Trunk配置实例

注意以下配置要按顺序执行

1. ProCurve# configure

2. ProCurve(config)# interfaces ethernet 1-4 ##进入端口1-4配置模式

3. ProCurve (eth-1-4)# lacp active ##选择LACP协议模式为”active”

4. ProCurve(eth-1-4)# end

5. ProCurve# configure

6. ProCurve(config)#trunk ethernet 1-4 trk8 lacp ##将端口1到4加入到Trunk Group 8中,同时启用LACP协议协商;同一Trunk

Group中所有端口的LACP mode必须一致

7. ProCurve(config)# vlan 2

8. ProCurve (vlan-2)# tagged ethernet 1-4 ##将端口

1到4加入到vlan 2,这里不能用”untagged”

9. ProCurve (vlan-2)# vlan 3

10. ProCurve (vlan-3)# tagged ethernet 1-4 ##将端口1到4加入到vlan 3

11. ProCurve(eth-1-4)# end

配置UFD

ProCurve(config)# uplink-failure-detection

ProCurve(config)# uplink-failure-detection-track 1

links-to-monitor 20 links-to-disable 3,12

ProCurve(config)# uplink-failure-detection-track 5

links-to-monitor 17-18 links-to-disable 7,14

Switch# sh ufd

Uplink Failure Detection Information

UFD Enabled : Yes

Track ID | Monitored Links Links to Disable

LtM State LtD State

------------ + ------------------ ------------------

------------- ------------

1 | 20 3,12

Down Auto-Disabled

5 | 17-18 7,14

Up Up

固件版本升级

通过管理端口升级

升级前的准备建立TFTP服务器,保证TFTP服务器能够与OOBM通讯,并将固件文件存入TFTP服务器root目录

执行升级步骤

ProCurve# copy tftp flash <固件文件名> oobm ##由于是经由OA及OOBM端口升级,故关键字”oobm”必须加上,否则无法升级

ProCurve# show flash

##查看固件版本

2024年2月20日发(作者:怀以晴)

惠普Procurve以太网交换机配置指南-Version-1.0

中国惠普有限公司

2011年5月5日普

ProCurve以

Administrator

太网交换机安装配置指

南惠Version1.0

产品介绍

ProCurve 6120系列交换机分为两种型号:

 6120G/XG

 6120XG

产品名称的规则:

以6120产品的G/XG为例,G和XG都指端口速率,其中G表示1Gb per

second,XG表示10Gb per second;

”/”以前的部分特指内部端口速率,”/”以后的部分特指外部端口速率。

前面板及端口介绍:

端口

6120 G/XG

端口类型

16x 1GbE Server NIC ports

端口名称 端口类型

D1-D16 16x 10GbE Server NIC po

1x 10GbE CX4

2x 10GbE XFP ports

2x 1GbE SFP ports

4x 10/100/1000 RJ-45 ports

S2S link

Management Port

C1 1x 10GbE CX4 or 1x 10GbX1;X2 5x 10GbE SFP+ ports

S1;S2 2x 10GbE SFP+ ports or

1;2;3;4

I1

OOBM

Management Port

• 10GbE CX4—The CX4 interface requires the use of copper

cabling, similar to the variety used in InfiniBand

technology, and is designed to work up to a distance of

15 m. CX4 technology is an attractive solution because it

has the lowest cost per port of all 10Gb interconnects, at

the expense of range. CX4 has a bigger form factor than

either SFP or SFP+.

• 10GbE XFP ports—These 10GbE ports support SR (multi-mode

fiber, 300 m) and LR (single-mode fiber, 10 km) optic

transceivers based on the XFP version of the small form

factor pluggable specification. XFP transceivers have a

smaller form factor compared to several standards (XENPAK,

X2, XPAK) that preceded it. The XFP ports support Industry

Standard Servers (ISS) optics only.

• 1GbE SFP ports—These 1GbE ports support SX (multi-mode

fiber, 550 m) and LX (single-mode fiber, 10 km) optic

transceivers based on the SFP version of the small form

factor pluggable specification using an LC physical

connector. These ports also support 1000BASE-T copper

connections using an RJ-45 connector. The SFP ports support

ISS and ProCurve optics.

• 10/100/1000 RJ-45 ports—These ports support standard

RJ-45 Ethernet cables and each port can operate at one of

three autosensing speeds.

• 5x 10GbE SFP+ ports—These five ports are dedicated10GbE

SFP+ ports that support SR (multi-mode fiber, 300 m), LR

(single-mode fiber, 10 km), and LRM (multi-mode fiber, 220

m) optic SFP+ transceivers.

• 2x 10GbE SFP+ ports—Individually, the two ports labeled

23 and 24 can be used as either external 10GbE SFP+ ports

or internal 10GbE switch-to-switch (cross-link) ports. For

SFP+ connectivity, these ports support the same fiber optic

transceivers as the other SFP+ ports.

• Internal Network Ports—The 6120G/XG also has “internal”

Ethernet ports that function as downlinks to devices in the

enclosure. The internals ports are essentially communication

interfaces used to transfer data to and from server blades,

storage blades, and even another 6120G/XG (if it is installed in

an adjacent bay of the enclosure). The internal ports use the

enclosure’s midplane circuitry to communicate with the other

c-Class enclosure components.

• Management Port—The IP address within the OA subnet that

you assign to the blade switch is used by a switch component known

as Out-Of-Band Management (OOBM).

交换机系统指示灯:

Module status LED:绿色表示交换机工作正常;橙色表示有故障

Module locator LED:用户可以通过命令chassislocate 来控制其状态,方便用户找到此交换机

端口指示灯介绍:

Link status LED:绿色表示已连接;橙色表示有故障

Link activity LED

绿色闪烁表示正在通讯

RJ-45指示灯

绿色闪烁表示端口正在10/100Mb per second速率通讯

橙色闪烁表示端口正在1000Mb per second速率通讯

管理口介绍:

Mini USB接口,交换机产品包装里都有对应的线缆;使用其管理交换机时,需要先安装相应的驱动程序,并通过终端模拟器软件访问。驱动程序如下

USB Console Driver for HP ProCurve 6120 Series Ethernet Blade

Switches for Windows

CLEAR AND

RESET

CONTROL

BUTTONS:

Clear用来清除用户密码;Reset使交换机重启;当Clear和Reset同时按,将使交换机恢复出厂配置

配置细则:

管理接口

ProCurve 6120系列交换机管理接口有三个:Mini USB模拟串口,与OA直连的内部串口,与OA直连的Out-Of-Band Management (OOBM)以太网接口

MINI

USB访问

Mini USB分别连接交换机和PC的USB接口,安装驱动后,在终端模拟器软件中选择连接端口’COM4’,串口属性9600/n/8/1

OA内部串口访问

telnet

connect interconnect

通过以上两种串口访问方式可以配置OOBM以太网接口的IP地址

OOBM以太网接口可以用telnet 访问,或者用IE 访问。建议在做配置时使用telnet 方式。这样的好处是:

1.命令行方式便于把事先制订好的配置脚本粘贴到终端上执行

2.避免了IE 方式可能遇到的Java 版本问题,Java 响应速度慢的问题

常用交换机参数配置

OOBM端口管理方法:

端口启用/禁用(默认情况下是启用状态)

ProCurve# configure

ProCurve(config)# oobm

ProCurve(oobm)# enable ##启用

ProCurve(oobm)# disable ##禁用

DHCP获取IP

ProCurve# configure

ProCurve(config)# oobm

ProCurve(oobm)# ip address dhcp-bootp

手工指定IP

ProCurve# configure

ProCurve(config)# oobm

ProCurve(oobm)# ip address

32位IP地址的十进制表示;

## IP-ADDR指

配置网关

ProCurve# configure

ProCurve(config)# oobm

ProCurve(oobm)# ip default-gateway

用户管理

交换机默认有manager和operator两个用户,默认密码为空。

修改密码

ProCurve# configure

ProCurve(config)# password manager

New password for manager:

Please retype new password for manager:

ProCurve(config)#password operator

New password for operator:

Please retype new password for operator:

修改系统名称

ProCurve# configure

ProCurve(config)# hostname TTE

TTE(config)#

前面板恢复出厂按钮的启用/禁用

ProCurve(config)# front-panel-security

factory-reset Enable/Disable factory-reset ability

password-clear Enable/Disable password clear

password-recovery Enable/Disable password recovery.

清空配置文件

ProCurve# erase startup-config

保持配置到交换机

ProCurve# write memory

保持配置到TFTP服务器

ProCurve# copy running-config tftp

常用交换机状态查看

查看固件版本

ProCurve# show flash

ProCurve# show version

查看当前配置文件

ProCurve# show running-config

查看端口状态

ProCurve# show interfaces

查看OOBM状态

ProCurve# show oobm

查看VLAN状态

ProCurve# show vlans

查看交换机系统

ProCurve# show system

查看交换机日志

ProCurve# show tech all

ProCurve# show logging

常用交换机应用配置

配置VLAN及VLAN TAGGING

ProCurve# configure

ProCurve(config)# vlan 10 ##建立Vlan 10

ProCurve (vlan-10)# name train_the_engineer ##为Vlan 10命名

ProCurve# show vlans 10 ##显示所有vlan信息,可以发现Vlan 10名称已经成功更改

Tagged

ProCurve (vlan-10)# tagged ethernet D1-D4 ##将端口D1到D4加入到新的vlan

ProCurve# show vlans 10 ##显示vlan 10状态,可以发现D1到D4端口已经成功加入vlan 10

ProCurve# show running-config ##显示当前配置,可以发现D1到D4端口不但属于vlan 10,同时属于DEFAULT_VLAN(Vlan 1)

Untagged

ProCurve (vlan-10)# untagged ethernet D1-D4 ##将端口D1到D4加入到新的vlan

ProCurve# show vlans 10 ##显示vlan 10状态,可以发现D1到D4端口已经成功加入vlan 10

ProCurve# show running-config ##显示当前配置,可以发现D1到D4端口只属于vlan 10

VLAN及Trunk配置实例

注意以下配置要按顺序执行

1. ProCurve# configure

2. ProCurve(config)# interfaces ethernet 1-4 ##进入端口1-4配置模式

3. ProCurve (eth-1-4)# lacp active ##选择LACP协议模式为”active”

4. ProCurve(eth-1-4)# end

5. ProCurve# configure

6. ProCurve(config)#trunk ethernet 1-4 trk8 lacp ##将端口1到4加入到Trunk Group 8中,同时启用LACP协议协商;同一Trunk

Group中所有端口的LACP mode必须一致

7. ProCurve(config)# vlan 2

8. ProCurve (vlan-2)# tagged ethernet 1-4 ##将端口

1到4加入到vlan 2,这里不能用”untagged”

9. ProCurve (vlan-2)# vlan 3

10. ProCurve (vlan-3)# tagged ethernet 1-4 ##将端口1到4加入到vlan 3

11. ProCurve(eth-1-4)# end

配置UFD

ProCurve(config)# uplink-failure-detection

ProCurve(config)# uplink-failure-detection-track 1

links-to-monitor 20 links-to-disable 3,12

ProCurve(config)# uplink-failure-detection-track 5

links-to-monitor 17-18 links-to-disable 7,14

Switch# sh ufd

Uplink Failure Detection Information

UFD Enabled : Yes

Track ID | Monitored Links Links to Disable

LtM State LtD State

------------ + ------------------ ------------------

------------- ------------

1 | 20 3,12

Down Auto-Disabled

5 | 17-18 7,14

Up Up

固件版本升级

通过管理端口升级

升级前的准备建立TFTP服务器,保证TFTP服务器能够与OOBM通讯,并将固件文件存入TFTP服务器root目录

执行升级步骤

ProCurve# copy tftp flash <固件文件名> oobm ##由于是经由OA及OOBM端口升级,故关键字”oobm”必须加上,否则无法升级

ProCurve# show flash

##查看固件版本

发布评论

评论列表 (0)

  1. 暂无评论