• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

H3C 中低端以太网交换机 网络管理和监控典型配置指导-6W100

01-NQA典型配置指导

本章节下载 01-NQA典型配置指导  (368.1 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/CE3000/CE3000-EI/Configure/Typical_Configuration_Example/H3C_WJ_CG-6W100/201111/733178_30005_0.htm

01-NQA典型配置指导

目 

1 NQA典型配置指导

1.1 NQA简介

1.2 产品、版本实现差异

1.3 ICMP-echo测试典型配置指导

1.3.1 组网图

1.3.2 应用要求

1.3.3 适用产品、版本

1.3.4 配置过程和解释

1.3.5 完整配置

1.3.6 配置注意事项

1.4 DHCP测试典型配置指导

1.4.1 组网图

1.4.2 应用要求

1.4.3 适用产品、版本

1.4.4 配置过程和解释

1.4.5 完整配置

1.4.6 配置注意事项

1.5 DNS测试典型配置指导

1.5.1 组网图

1.5.2 应用要求

1.5.3 适用产品、版本

1.5.4 配置过程和解释

1.5.5 完整配置

1.5.6 配置注意事项

1.6 FTP测试典型配置指导

1.6.1 组网图

1.6.2 应用要求

1.6.3 适用产品、版本

1.6.4 配置过程和解释

1.6.5 完整配置

1.6.6 配置注意事项

1.7 HTTP测试典型配置指导

1.7.1 组网图

1.7.2 应用要求

1.7.3 适用产品、版本

1.7.4 配置过程和解释

1.7.5 完整配置

1.7.6 配置注意事项

1.8 UDP-jitter测试典型配置指导

1.8.1 组网图

1.8.2 应用要求

1.8.3 适用产品、版本

1.8.4 配置过程和解释

1.8.5 完整配置

1.8.6 配置注意事项

1.9 SNMP测试典型配置指导

1.9.1 组网图

1.9.2 应用要求

1.9.3 适用产品、版本

1.9.4 配置过程和解释

1.9.5 完整配置

1.9.6 配置注意事项

1.10 TCP测试典型配置指导

1.10.1 组网图

1.10.2 应用要求

1.10.3 适用产品、版本

1.10.4 配置过程和解释

1.10.5 完整配置

1.10.6 配置注意事项

1.11 UDP-echo测试典型配置指导

1.11.1 组网图

1.11.2 应用要求

1.11.3 适用产品、版本

1.11.4 配置过程和解释

1.11.5 完整配置

1.11.6 配置注意事项

1.12 Voice测试典型配置指导

1.12.1 组网图

1.12.2 应用要求

1.12.3 适用产品、版本

1.12.4 配置过程和解释

1.12.5 完整配置

1.12.6 配置注意事项

1.13 DLSw测试典型配置指导

1.13.1 组网图

1.13.2 应用要求

1.13.3 适用产品、版本

1.13.4 配置过程和解释

1.13.5 完整配置

1.13.6 配置注意事项

 


1 NQA典型配置指导

1.1  NQA简介

NQA是Network Quality Analyzer(网络质量分析)的简称。NQA通过发送探测报文,对网络性能、网络提供的服务及服务质量进行分析,并为用户提供网络性能和服务质量的参数,如时延抖动、TCP连接建立时间、FTP连接建立时间和文件传输速率等。

利用NQA的测试结果,用户可以:

(1)        及时了解网络的性能状况,针对不同的网络性能进行相应处理。

(2)        对网络故障进行诊断和定位。

目前NQA支持11种测试类型:ICMP-echo、DHCP、DNS、FTP、HTTP、UDP-jitter、SNMP、TCP、UDP-echo、Voice和DLSw测试。客户端向对端发送不同类型的探测报文,统计对端是否回应报文以及报文的往返时间等参数,以便用户根据统计结果判断协议的可用性和网络的性能。

1.2  产品、版本实现差异

NQA测试历史记录功能在不同产品和版本上的配置方式不同,部分产品的NQA历史记录功能始终处于开启状态,可以通过history-record number命令配置最大历史记录个数(缺省值为50);另一部分产品的NQA历史记录功能缺省关闭,需要使用history-record enable命令开启该功能,然后可以通过history-record number number命令配置最大历史记录个数(缺省值为50)。各产品和版本的支持情况请参见表1-1

表1-1 产品、版本实现差异

实现说明

产品

软件版本

NQA测试历史记录功能始终处于开启状态

S5500-EI&S5500-SI系列以太网交换机

Release 2202

S5120-EI系列以太网交换机

Release 2202

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

NQA测试历史记录功能缺省关闭

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI&S5500-SI系列以太网交换机

Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5120-EI系列以太网交换机

Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.3  ICMP-echo测试典型配置指导

ICMP-echo测试利用ICMP协议,根据应答报文或超时信息判断目的主机的可达性。ICMP-echo测试的功能与Ping命令类似,但是可以指定测试时的下一跳设备,而且输出信息更为丰富。网络中出现连通性故障时,可以通过ICMP-echo测试对故障进行定位。

1.3.1  组网图

图1-1 ICMP-echo测试组网图

 

 

1.3.2  应用要求

使用NQA进行ICMP-echo测试,测试本端(Switch A)发送的报文经过指定的下一跳设备(Switch B)是否可以到达目的端(Switch C),以及报文的往返时间。

1.3.3  适用产品、版本

表1-2 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.3.4  配置过程和解释

进行下面的配置之前,需要确保各设备之间路由可达。

 

# 创建ICMP-echo类型的NQA测试组并配置测试操作的目的地址。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type icmp-echo

[SwitchA-nqa-admin-test-icmp-echo] destination ip 10.3.3.3

# 如果要测试经过指定的下一跳设备是否可以到达指定的目的端,还需要配置NQA测试报文的下一跳IP地址。

[SwitchA-nqa-admin-test-icmp-echo] next-hop 10.1.1.2

# 配置测试组连续两次测试开始时间的时间间隔为5000毫秒(可选,缺省情况下,测试组连续两次测试开始时间的时间间隔为0毫秒,即只进行一次测试。如果到达frequency指定的时间间隔时,上次测试尚未完成,则不启动新一轮测试)。

[SwitchA-nqa-admin-test-icmp-echo] frequency 5000

# 配置一次NQA测试中进行探测的次数为10次,一次探测发送一个探测报文(可选,缺省情况下,一次NQA测试中的探测次数为1次)。

[SwitchA-nqa-admin-test-icmp-echo] probe count 10

# 配置一个测试组中能够保存的最大历史记录个数为10。NQA测试历史记录功能在不同产品和版本上的配置方式不同,具体请参见表1-1

l              NQA测试历史记录功能缺省关闭

[SwitchA-nqa-admin-test-icmp-echo] history-record enable

[SwitchA-nqa-admin-test-icmp-echo] history-record number 10

l              NQA测试历史记录功能始终处于开启状态

[SwitchA-nqa-admin-test-icmp-echo] history-records 10

# 启动ICMP-echo测试操作。

[SwitchA-nqa-admin-test-icmp-echo] quit

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止ICMP-echo测试操作。

[SwitchA] undo nqa schedule admin test

# 显示ICMP-echo测试中最后一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry(admin admin, tag test) test results:

    Destination IP address: 10.3.3.3

      Send operation times: 10             Receive response times: 10

      Min/Max/Average round trip time: 0/16/1

      Square-Sum of round trip time: 256

      Last succeeded probe time: 2007-08-23 15:00:01.2

    Extend results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

      Packet(s) arrived late: 0

# 显示ICMP-echo测试的历史记录。

[SwitchA] display nqa history admin test

  NQA entry(admin admin, tag test) history record(s):

    Index      Response     Status           Time

    370        10           Succeeded        2007-08-23 15:00:01.2

    369        10           Succeeded        2007-08-23 15:00:01.2

    368        10           Succeeded        2007-08-23 15:00:01.2

    367        10           Succeeded        2007-08-23 15:00:01.2

    366        4            Succeeded        2007-08-23 15:00:01.2

    365        10           Succeeded        2007-08-23 15:00:01.2

    364        10           Succeeded        2007-08-23 15:00:01.1

    363        10           Succeeded        2007-08-23 15:00:01.1

    362        10           Succeeded        2007-08-23 15:00:01.1

    361        4            Succeeded        2007-08-23 15:00:01.1

1.3.5  完整配置

l              SwitchA(NQA历史记录功能缺省关闭)

#

nqa entry admin test

 type icmp-echo

  destination ip 10.3.3.3

  frequency 5000

  history-record enable

  history-record number 10

  next-hop 10.1.1.2

  probe count 10

#

 nqa schedule admin test start-time now lifetime forever

l              SwitchA(NQA历史记录功能始终处于开启状态)

#

nqa entry admin test

 type icmp-echo

  destination ip 10.3.3.3

  frequency 5000

  history-records 10

  next-hop 10.1.1.2

  probe count 10

#

 nqa schedule admin test start-time now lifetime forever

1.3.6  配置注意事项

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试。

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

l              ICMP-echo测试不支持在IPv6网络中使用,如果要测试IPv6网络中目的主机的可达性,可以使用ping ipv6命令。

l              ICMP-echo测试支持在VPN网络中使用,配置时除指定目的设备的IP地址外,还需要在NQA测试组视图下使用vpn instance命令指定目的设备所在的VPN实例号。

1.4  DHCP测试典型配置指导

DHCP测试主要用来测试网络上是否有DHCP服务器,以及DHCP服务器响应客户端请求、为客户端分配IP地址所需的时间。

1.4.1  组网图

图1-2 DHCP测试组网图

 

1.4.2  应用要求

使用NQA的DHCP测试功能,测试Switch A从DHCP服务器Switch B申请到IP地址所需的时间。

1.4.3  适用产品、版本

表1-3 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.4.4  配置过程和解释

# 创建DHCP类型的NQA测试组并指定进行DHCP测试的接口。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type dhcp

[SwitchA-nqa-admin-test-dhcp] operation interface vlan-interface 2

# 开启NQA测试组的历史记录保存功能(部分产品及软件版本的NQA测试历史记录功能始终处于开启状态,不支持history-record enable命令,各产品和版本的具体支持情况请参见表1-1)。

[SwitchA-nqa-admin-test-dhcp] history-record enable

# 启动DHCP测试操作。

[SwitchA-nqa-admin-test-dhcp] quit

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止DHCP测试操作。

[SwitchA] undo nqa schedule admin test

# 显示DHCP测试中最后一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry(admin admin, tag test) test results:

      Send operation times: 1              Receive response times: 1

      Min/Max/Average round trip time: 624/624/624

      Square-Sum of round trip time: 389376

      Last succeeded probe time: 2007-11-22 09:56:03.2

    Extend results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

# 显示DHCP测试的历史记录。

[SwitchA] display nqa history admin test

  NQA entry(admin admin, tag test) history record(s):

    Index      Response     Status           Time

    1          624          Succeeded        2007-11-22 09:56:03.2

1.4.5  完整配置

l              SwitchA(NQA历史记录功能缺省关闭)

#

nqa entry admin test

 type dhcp

  history-record enable

  operation interface Vlan-interface2

#

 nqa schedule admin test start-time now lifetime forever

l              SwitchA(NQA历史记录功能始终处于开启状态)

#

nqa entry admin test

 type dhcp

  operation interface Vlan-interface2

#

 nqa schedule admin test start-time now lifetime forever

1.4.6  配置注意事项

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试。

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

1.5  DNS测试典型配置指导

DNS测试主要用来测试NQA客户端是否可以通过指定的DNS服务器将域名解析为IP地址,以及域名解析过程需要的时间。

1.5.1  组网图

图1-3 DNS测试组网图

 

1.5.2  应用要求

使用NQA的DNS测试功能,测试Switch A是否可以通过指定的DNS服务器将域名host.com解析为IP地址,并测试域名解析所需的时间。

1.5.3  适用产品、版本

表1-4 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2208

S5120-EI系列以太网交换机

Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.5.4  配置过程和解释

进行下面的配置之前,需要确保各设备之间路由可达。

 

# 创建DNS类型的NQA测试组,指定测试操作的目的地址为DNS服务器的IP地址,并指定要解析的域名。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type dns

[SwitchA-nqa-admin-test-dns] destination ip 10.2.2.2

[SwitchA-nqa-admin-test-dns] resolve-target host.com

# 开启NQA测试组的历史记录保存功能。

[SwitchA-nqa-admin-test-dns] history-record enable

# 启动DNS测试操作。

[SwitchA-nqa-admin-test-dns] quit

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止DNS测试操作。

[SwitchA] undo nqa schedule admin test

# 显示DNS测试中最后一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry(admin admin, tag test) test results:

    Destination IP address: 10.2.2.2

      Send operation times: 1              Receive response times: 1

      Min/Max/Average round trip time: 62/62/62

      Square-Sum of round trip time: 3844

      Last succeeded probe time: 2008-11-10 10:49:37.3

    Extended results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

      Packet(s) arrived late: 0

# 显示DNS测试的历史记录。

[SwitchA] display nqa history admin test

  NQA entry(admin admin, tag test) history record(s):

    Index      Response     Status           Time

    1          62           Succeeded        2008-11-10 10:49:37.3

1.5.5  完整配置

l              SwitchA

#

nqa entry admin test

 type dns

  destination ip 10.2.2.2

  history-record enable

  resolve-target host.com

#

 nqa schedule admin test start-time now lifetime forever

1.5.6  配置注意事项

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试。

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

1.6  FTP测试典型配置指导

FTP测试主要用来测试NQA客户端是否可以与指定的FTP服务器建立连接,以及与FTP服务器之间传送文件的时间。

1.6.1  组网图

图1-4 FTP测试组网图

 

1.6.2  应用要求

使用NQA的FTP测试功能,测试Switch A是否可以和指定的FTP服务器Switch B建立连接,以及往FTP服务器上传一个文件的时间。登录FTP服务器的用户名为admin,密码为systemtest,要传送到服务器的文件名为config.txt。

1.6.3  适用产品、版本

表1-5 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.6.4  配置过程和解释

进行下面的配置之前,需要确保各设备之间路由可达。

 

# 创建FTP类型的NQA测试组。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type ftp

# 配置测试操作的目的地址为为FTP服务器的IP地址,并配置探测请求报文的源IP地址。

[SwitchA-nqa-admin-test-ftp] destination ip 10.2.2.2

[SwitchA-nqa-admin-test-ftp] source ip 10.1.1.1

# 配置FTP操作类型(可选,缺省的FTP操作方式为get操作,即从FTP服务器获取文件)。

[SwitchA-nqa-admin-test-ftp] operation put

# 配置客户端传送文件的文件名。

[SwitchA-nqa-admin-test-ftp] filename config.txt

l          FTP操作类型配置为put操作时,服务器上会创建以filename命令指定的文件名为名字、大小为0的文件;配置为get操作时,设备上不会保存从服务器获取的文件。

l          FTP操作类型配置为get操作时,如果FTP服务器上没有以filename命令指定的文件名为名字的文件,则测试不会成功;同时,请选用较小的文件进行测试,如果文件较大,可能会因为超时而导致测试失败,或由于占用较多的网络带宽而影响其它业务。

 

# 配置登录FTP服务器的用户名和密码。

[SwitchA-nqa-admin-test-ftp] username admin

[SwitchA-nqa-admin-test-ftp] password systemtest

# 开启NQA测试组的历史记录保存功能(部分产品及软件版本的NQA测试历史记录功能始终处于开启状态,不支持history-record enable命令,各产品和版本的具体支持情况请参见表1-1)。

[SwitchA-nqa-admin-test-ftp] history-record enable

# 启动FTP测试操作。

[SwitchA-nqa-admin-test-ftp] quit

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止FTP测试操作。

[SwitchA] undo nqa schedule admin test

# 显示FTP测试中最后一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry(admin admin, tag test) test results:

    Destination IP address: 10.2.2.2

      Send operation times: 1              Receive response times: 1

      Min/Max/Average round trip time: 173/173/173

      Square-Sum of round trip time: 29929

      Last succeeded probe time: 2007-11-22 10:07:28.6

    Extend results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

# 显示FTP测试的历史记录。

[SwitchA] display nqa history admin test

  NQA entry(admin admin, tag test) history record(s):

    Index      Response     Status           Time

    1           173          Succeeded        2007-11-22 10:07:28.6

1.6.5  完整配置

l              SwitchA(NQA历史记录功能缺省关闭)

#

nqa entry admin test

 type ftp

  destination ip 10.2.2.2

  filename config.txt

  history-record enable

  operation put

  password systemtest

  source ip 10.1.1.1

  username admin

#

 nqa schedule admin test start-time now lifetime forever

l              SwitchA(NQA历史记录功能始终处于开启状态)

#

nqa entry admin test

 type ftp

  destination ip 10.2.2.2

  filename config.txt

  operation put

  password systemtest

  source ip 10.1.1.1

  username admin

#

 nqa schedule admin test start-time now lifetime forever

1.6.6  配置注意事项

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试。

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

1.7  HTTP测试典型配置指导

使用HTTP功能,测试是否可以和指定的HTTP服务器之间建立连接,以及从HTTP服务器获取数据的时间。

1.7.1  组网图

图1-5 HTTP测试组网图

 

1.7.2  应用要求

使用NQA的HTTP测试功能,测试是否可以和指定的HTTP服务器之间建立连接,以及从HTTP服务器获取数据的时间。

1.7.3  适用产品、版本

表1-6 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.7.4  配置过程和解释

进行下面的配置之前,需要确保各设备之间路由可达。

 

# 创建HTTP类型的NQA测试组。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type http

# 配置测试操作的目的地址为HTTP服务器的IP地址,并配置HTTP测试访问的网址。

[SwitchA-nqa-admin-test-http] destination ip 10.2.2.2

[SwitchA-nqa-admin-test-http] url /index.htm

# 开启NQA测试组的历史记录保存功能(部分产品及软件版本的NQA测试历史记录功能始终处于开启状态,不支持history-record enable命令,各产品和版本的具体支持情况请参见表1-1)。

[SwitchA-nqa-admin-test-http] history-record enable

# 启动HTTP测试操作。

[SwitchA-nqa-admin-test-http] quit

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止HTTP测试操作。

[SwitchA] undo nqa schedule admin test

# 显示HTTP测试中一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry(admin admin, tag test) test results:

    Destination IP address: 10.2.2.2

      Send operation times: 1              Receive response times: 1

      Min/Max/Average round trip time: 64/64/64

      Square-Sum of round trip time: 4096

      Last succeeded probe time: 2007-11-22 10:12:47.9

    Extend results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

# 显示HTTP测试的历史记录。

[SwitchA] display nqa history admin test

  NQA entry(admin admin, tag test) history record(s):

    Index      Response     Status           Time

    1          64           Succeeded        2007-11-22 10:12:47.9

1.7.5  完整配置

l              SwitchA(NQA历史记录功能缺省关闭)

#

nqa entry admin test

 type http

  destination ip 10.2.2.2

  history-record enable

  url /index.htm

#

 nqa schedule admin test start-time now lifetime forever

l              SwitchA(NQA历史记录功能始终处于开启状态)

#

nqa entry admin test

 type http

  destination ip 10.2.2.2

  url /index.htm

#

 nqa schedule admin test start-time now lifetime forever

1.7.6  配置注意事项

l              HTTP测试中,HTTP服务器的TCP端口号只能为80。如果HTTP服务器采用其他TCP端口,测试将会失败。

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试。

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

1.8  UDP-jitter测试典型配置指导

语音、视频等实时性业务对Delay jitter(时延抖动)的要求较高。通过UDP-jitter测试,可以获得网络的单向和双向时延抖动,从而判断网络是否可以承载实时性业务。

1.8.1  组网图

图1-6 UDP-jitter测试组网图

 

1.8.2  应用要求

使用NQA的UDP-jitter测试功能,测试本端(Switch A)和指定的目的端(Switch B)的端口9000之间传送报文的时延抖动。

1.8.3  适用产品、版本

表1-7 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.8.4  配置过程和解释

进行下面的配置之前,需要确保各设备之间路由可达。

 

(1)        配置Switch B

# 使能NQA服务器,配置监听的IP地址为10.2.2.2,UDP端口号为9000。

<SwitchB> system-view

[SwitchB] nqa server enable

[SwitchB] nqa server udp-echo 10.2.2.2 9000

(2)        配置Switch A

# 创建UDP-jitter类型的NQA测试组并配置测试操作的目的地址和目的端口号。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type udp-jitter

[SwitchA-nqa-admin-test-udp-jitter] destination ip 10.2.2.2

[SwitchA-nqa-admin-test-udp-jitter] destination port 9000

# 配置可选参数:测试组连续两次测试开始时间的时间间隔为1000毫秒。

[SwitchA-nqa-admin-test-udp-jitter] frequency 1000

[SwitchA-nqa-admin-test-udp-jitter] quit

# 启动UDP-jitter测试操作。

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止UDP-jitter测试操作。

[SwitchA] undo nqa schedule admin test

# 显示UDP-jitter测试中最后一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry (admin admin, tag test) test results:

    Destination IP address: 10.2.2.2

      Send operation times: 10             Receive response times: 10

      Min/Max/Average round trip time: 15/32/17

      Square-Sum of round trip time: 3235

      Last succeeded probe time: 2008-05-29 13:56:17.6

    Extended results:

      Packet loss in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

      Packet(s) arrived late: 0

    UDP-jitter results:

     RTT number: 10

      Min positive SD: 4                     Min positive DS: 1

      Max positive SD: 21                    Max positive DS: 28

      Positive SD number: 5                  Positive DS number: 4

      Positive SD sum: 52                    Positive DS sum: 38

      Positive SD average: 10                Positive DS average: 10

      Positive SD square sum: 754            Positive DS square sum: 460

      Min negative SD: 1                     Min negative DS: 6

      Max negative SD: 13                    Max negative DS: 22

      Negative SD number: 4                  Negative DS number: 5

      Negative SD sum: 38                    Negative DS sum: 52

      Negative SD average: 10                Negative DS average: 10

      Negative SD square sum: 460            Negative DS square sum: 754

    One way results:

      Max SD delay: 15                       Max DS delay: 16

      Min SD delay: 7                        Min DS delay: 7

      Number of SD delay: 10                 Number of DS delay: 10

      Sum of SD delay: 78                    Sum of DS delay: 85

      Square sum of SD delay: 666            Square sum of DS delay: 787

      SD lost packet(s): 0                   DS lost packet(s): 0

      Lost packet(s) for unknown reason: 0

# 显示UDP-jitter测试的统计结果。

[SwitchA] display nqa statistics admin test

  NQA entry (admin admin, tag test) test statistics:

    NO. : 1

    Destination IP address: 10.2.2.2

      Start time: 2008-05-29 13:56:14.0

      Life time: 47 seconds

      Send operation times: 410            Receive response times: 410

      Min/Max/Average round trip time: 1/93/19

      Square-Sum of round trip time: 206176

    Extended results:

      Packet loss in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

      Packet(s) arrived late: 0

    UDP-jitter results:

     RTT number: 410

      Min positive SD: 3                     Min positive DS: 1

      Max positive SD: 30                    Max positive DS: 79

      Positive SD number: 186                Positive DS number: 158

      Positive SD sum: 2602                  Positive DS sum: 1928

      Positive SD average: 13                Positive DS average: 12

      Positive SD square sum: 45304          Positive DS square sum: 31682

      Min negative SD: 1                     Min negative DS: 1

      Max negative SD: 30                    Max negative DS: 78

      Negative SD number: 181                Negative DS number: 209

      Negative SD sum: 181                   Negative DS sum: 209

      Negative SD average: 13                Negative DS average: 14

      Negative SD square sum: 46994          Negative DS square sum: 3030

    One way results:

      Max SD delay: 46                       Max DS delay: 46

      Min SD delay: 7                        Min DS delay: 7

      Number of SD delay: 410                Number of DS delay: 410

      Sum of SD delay: 3705                  Sum of DS delay: 3891

      Square sum of SD delay: 45987          Square sum of DS delay: 49393

      SD lost packet(s): 0                   DS lost packet(s): 0

      Lost packet(s) for unknown reason: 0

display nqa history命令的显示信息无法反映UDP-jitter测试的结果,如果想了解UDP-jitter测试的结果,建议通过display nqa result命令查看最近一次NQA测试的结果,或通过display nqa statistics命令查看NQA测试的统计信息。

 

1.8.5  完整配置

l              SwitchB

#

 nqa server enable

 nqa server udp-echo 10.2.2.2 9000

l              SwitchA

#

nqa entry admin test

 type udp-jitter

  destination ip 10.2.2.2

  destination port 9000

  frequency 1000

#

 nqa schedule admin test start-time now lifetime forever

1.8.6  配置注意事项

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

1.9  SNMP测试典型配置指导

SNMP查询测试主要用来测试从NQA客户端向SNMP agent设备发出一个SNMP协议查询报文到接收响应报文的时间。

1.9.1  组网图

图1-7 SNMP配置测试组网图

 

1.9.2  应用要求

使用NQA的SNMP查询功能,测试从Switch A发出一个SNMP协议查询报文到收到SNMP Agent(Switch B)响应报文所用的时间。

1.9.3  适用产品、版本

表1-8 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.9.4  配置过程和解释

进行下面的配置之前,需要确保各设备之间路由可达。

 

(1)        配置SNMP Agent(Switch B)

# 启动SNMP Agent服务,设置SNMP版本为all、只读团体名为public、读写团体名为private。

<SwitchB> system-view

[SwitchB] snmp-agent sys-info version all

[SwitchB] snmp-agent community read public

[SwitchB] snmp-agent community write private

(2)        配置Switch A

# 创建SNMP查询类型的测试组并配置测试操作的目的地址为SNMP agent的IP地址。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type snmp

[SwitchA-nqa-admin-test-snmp] destination ip 10.2.2.2

# 开启NQA测试组的历史记录保存功能(部分产品及软件版本的NQA测试历史记录功能始终处于开启状态,不支持history-record enable命令,各产品和版本的具体支持情况请参见表1-1)。

[SwitchA-nqa-admin-test-snmp] history-record enable

# 启动测试操作。

[SwitchA-nqa-admin-test-snmp] quit

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止SNMP测试操作。

[SwitchA] undo nqa schedule admin test

# 显示SNMP测试中最后一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry(admin admin, tag test) test results:

    Destination IP address: 10.2.2.2

      Send operation times: 1              Receive response times: 1

      Min/Max/Average round trip time: 50/50/50

      Square-Sum of round trip time: 2500

      Last succeeded probe time: 2007-11-22 10:24:41.1

    Extend results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

# 显示SNMP测试的历史记录。

[SwitchA] display nqa history admin test

  NQA entry(admin admin, tag test) history record(s):

    Index      Response     Status           Time

    1          50           Timeout          2007-11-22 10:24:41.1

1.9.5  完整配置

l              SwitchB

#

 snmp-agent

 snmp-agent local-engineid 800063A20300E0FC123456

 snmp-agent community read public

 snmp-agent community write private

 snmp-agent sys-info version all

l              SwitchA(NQA历史记录功能缺省关闭)

#

nqa entry admin test

 type snmp

  destination ip 10.2.2.2

  history-record enable

#

 nqa schedule admin test start-time now lifetime forever

l              SwitchA(NQA历史记录功能始终处于开启状态)

#

nqa entry admin test

 type snmp

  destination ip 10.2.2.2

#

 nqa schedule admin test start-time now lifetime forever

1.9.6  配置注意事项

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试。

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

1.10  TCP测试典型配置指导

TCP测试通过测试客户端和服务器指定端口之间是否能够建立TCP连接,以及建立TCP连接所需的时间,来判断服务器指定端口上提供的服务是否可用,及服务性能。

1.10.1  组网图

图1-8 TCP测试组网图

 

1.10.2  应用要求

使用NQA的TCP测试功能,测试本端(Switch A)和指定目的端(Switch B)的端口9000之间建立TCP连接所需的时间。

1.10.3  适用产品、版本

表1-9 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.10.4  配置过程和解释

进行下面的配置之前,需要确保各设备之间路由可达。

 

(1)        配置Switch B

# 使能NQA服务器,配置监听的IP地址为10.2.2.2,TCP端口号为9000。

<SwitchB> system-view

[SwitchB] nqa server enable

[SwitchB] nqa server tcp-connect 10.2.2.2 9000

(2)        配置Switch A

# 创建TCP类型的测试组并配置测试操作的目的地址和目的端口号。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type tcp

[SwitchA-nqa-admin-test-tcp] destination ip 10.2.2.2

[SwitchA-nqa-admin-test-tcp] destination port 9000

# 开启NQA测试组的历史记录保存功能(部分产品及软件版本的NQA测试历史记录功能始终处于开启状态,不支持history-record enable命令,各产品和版本的具体支持情况请参见表1-1)。

[SwitchA-nqa-admin-test-tcp] history-record enable

# 启动测试操作。

[SwitchA-nqa-admin-test-tcp] quit

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止TCP测试操作。

[SwitchA] undo nqa schedule admin test

# 显示TCP测试中最后一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry(admin admin, tag test) test results:

    Destination IP address: 10.2.2.2

      Send operation times: 1              Receive response times: 1

      Min/Max/Average round trip time: 13/13/13

      Square-Sum of round trip time: 169

      Last succeeded probe time: 2007-11-22 10:27:25.1

    Extend results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

# 显示TCP测试的历史记录。

[SwitchA] display nqa history admin test

  NQA entry(admin admin, tag test) history record(s):

    Index      Response     Status           Time

    1          13             Succeeded        2007-11-22 10:27:25.1

1.10.5  完整配置

l              SwitchB

#

 nqa server enable

 nqa server tcp-connect 10.2.2.2 9000

l              SwitchA(NQA历史记录功能缺省关闭)

#

nqa entry admin test

 type tcp

  destination ip 10.2.2.2

  destination port 9000

  history-record enable

#

 nqa schedule admin test start-time now lifetime forever

l              SwitchA(NQA历史记录功能始终处于开启状态)

#

nqa entry admin test

 type tcp

  destination ip 10.2.2.2

  destination port 9000

#

 nqa schedule admin test start-time now lifetime forever

1.10.6  配置注意事项

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试。

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

1.11  UDP-echo测试典型配置指导

UDP-echo测试可以用来测试客户端和服务器指定UDP端口之间的连通性以及UDP-echo协议报文的往返时间。

1.11.1  组网图

图1-9 UDP-echo测试组网图

 

1.11.2  应用要求

使用NQA的UDP-echo测试功能,测试本端(Switch A )和指定目的端(Switch B)的端口8000之间UDP协议报文的往返时间。

1.11.3  适用产品、版本

表1-10 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.11.4  配置过程和解释

进行下面的配置之前,需要确保各设备之间路由可达。

 

(1)        配置Switch B

# 使能NQA服务器,配置监听的IP地址为10.2.2.2,UDP端口号为8000。

<SwitchB> system-view

[SwitchB] nqa server enable

[SwitchB] nqa server udp-echo 10.2.2.2 8000

(2)        配置Switch A

# 创建UDP-echo类型的测试组并配置测试操作的目的地址和目的端口号。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type udp-echo

[SwitchA-nqa-admin-test-udp-echo] destination ip 10.2.2.2

[SwitchA-nqa-admin-test-udp-echo] destination port 8000

# 开启NQA测试组的历史记录保存功能(部分产品及软件版本的NQA测试历史记录功能始终处于开启状态,不支持history-record enable命令,各产品和版本的具体支持情况请参见表1-1)。

[SwitchA-nqa-admin-test-udp-echo] history-record enable

# 启动测试操作。

[SwitchA-nqa-admin-test-udp-echo] quit

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止UDP-echo测试操作。

[SwitchA] undo nqa schedule admin test

# 显示UDP-echo测试中一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry(admin admin, tag test) test results:

    Destination IP address: 10.2.2.2

      Send operation times: 1              Receive response times: 1

      Min/Max/Average round trip time: 25/25/25

      Square-Sum of round trip time: 625

      Last succeeded probe time: 2007-11-22 10:36:17.9

    Extend results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

# 显示UDP-echo测试的历史记录。

[SwitchA] display nqa history admin test

  NQA entry(admin admin, tag test) history record(s):

    Index      Response     Status           Time

    1           25            Succeeded        2007-11-22 10:36:17.9

1.11.5  完整配置

l              SwitchB

#

 nqa server enable

 nqa server udp-echo 10.2.2.2 8000

l              SwitchA(NQA历史记录功能缺省关闭)

#

nqa entry admin test

 type udp-echo

  destination ip 10.2.2.2

  destination port 8000

  history-record enable

#

 nqa schedule admin test start-time now lifetime forever

l              SwitchA(NQA历史记录功能始终处于开启状态)

#

nqa entry admin test

 type udp-echo

  destination ip 10.2.2.2

  destination port 8000

#

 nqa schedule admin test start-time now lifetime forever

1.11.6  配置注意事项

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试。

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

1.12  Voice测试典型配置指导

Voice测试主要用来测试VoIP(Voice over IP,在IP网络上传送语音数据)网络情况,统计VoIP网络参数,以便用户根据网络情况进行相应的调整。

1.12.1  组网图

图1-10 Voice测试组网图

 

1.12.2  应用要求

使用NQA的Voice测试功能,测试本端(Switch A)和指定的目的端(Switch B)之间传送语音报文的时延抖动和网络语音质量参数。

1.12.3  适用产品、版本

表1-11 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.12.4  配置过程和解释

进行下面的配置之前,需要确保各设备之间路由可达。

 

(1)        配置Switch B

# 使能NQA服务器,配置监听的IP地址为10.2.2.2,UDP端口号为9000。

<SwitchB> system-view

[SwitchB] nqa server enable

[SwitchB] nqa server udp-echo 10.2.2.2 9000

(2)        配置Switch A

# 创建Voice类型的测试组并配置测试操作的目的地址和目的端口号。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type voice

[SwitchA-nqa-admin-test-voice] destination ip 10.2.2.2

[SwitchA-nqa-admin-test-voice] destination port 9000

[SwitchA-nqa-admin-test-voice] quit

# 启动测试操作。

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止Voice测试操作。

[SwitchA] undo nqa schedule admin test

# 显示Voice测试中一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry(admin admin, tag test) test results:

    Destination IP address: 10.2.2.2

      Send operation times: 1000           Receive response times: 1000

      Min/Max/Average round trip time: 31/1328/33

      Square-Sum of round trip time: 2844813

      Last succeeded probe time: 2008-06-13 09:49:31.1

    Extended results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

      Packet(s) arrived late: 0

    Voice results:

     RTT number: 1000

      Min positive SD: 1                     Min positive DS: 1

      Max positive SD: 204                   Max positive DS: 1297

      Positive SD number: 257                Positive DS number: 259

      Positive SD sum: 759                   Positive DS sum: 1797

      Positive SD average: 2                 Positive DS average: 6

      Positive SD square sum: 54127          Positive DS square sum: 1691967

      Min negative SD: 1                     Min negative DS: 1

      Max negative SD: 203                   Max negative DS: 1297

      Negative SD number: 255                Negative DS number: 259

      Negative SD sum: 759                   Negative DS sum: 1796

      Negative SD average: 2                 Negative DS average: 6

      Negative SD square sum: 53655          Negative DS square sum: 1691776

    One way results:

      Max SD delay: 343                      Max DS delay: 985

      Min SD delay: 343                      Min DS delay: 985

      Number of SD delay: 1                  Number of DS delay: 1

      Sum of SD delay: 343                   Sum of DS delay: 985

      Square sum of SD delay: 117649         Square sum of DS delay: 970225

      SD lost packet(s): 0                   DS lost packet(s): 0

      Lost packet(s) for unknown reason: 0

    Voice scores:

      MOS value: 4.38                        ICPIF value: 0

# 显示Voice测试的统计结果。

[SwitchA] display nqa statistics admin test

  NQA entry(admin admin, tag test) test statistics:

    NO. : 1

    Destination IP address: 10.2.2.2

      Start time: 2008-06-13 09:45:37.8

      Life time: 331

      Send operation times: 4000           Receive response times: 4000

      Min/Max/Average round trip time: 15/1328/32

      Square-Sum of round trip time: 7160528

    Extended results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

      Packet(s) arrived late: 0

    Voice results:

     RTT number: 4000

      Min positive SD: 1                     Min positive DS: 1

      Max positive SD: 360                   Max positive DS: 1297

      Positive SD number: 1030               Positive DS number: 1024

      Positive SD sum: 4363                  Positive DS sum: 5423

      Positive SD average: 4                 Positive DS average: 5

      Positive SD square sum: 497725         Positive DS square sum: 2254957

      Min negative SD: 1                     Min negative DS: 1

      Max negative SD: 360                   Max negative DS: 1297

      Negative SD number: 1028               Negative DS number: 1022

      Negative SD sum: 1028                  Negative DS sum: 1022

      Negative SD average: 4                 Negative DS average: 5

      Negative SD square sum: 495901         Negative DS square sum: 5419

    One way results:

      Max SD delay: 359                      Max DS delay: 985

      Min SD delay: 0                        Min DS delay: 0

      Number of SD delay: 4                  Number of DS delay: 4

      Sum of SD delay: 1390                  Sum of DS delay: 1079

      Square sum of SD delay: 483202         Square sum of DS delay: 973651

      SD lost packet(s): 0                   DS lost packet(s): 0

      Lost packet(s) for unknown reason: 0

    Voice scores:

      Max MOS value: 4.38                    Min MOS value: 4.38

      Max ICPIF value: 0                     Min ICPIF value: 0

display nqa history命令的显示信息无法反映Voice测试的结果,如果想了解Voice测试的结果,建议通过display nqa result命令查看最近一次NQA测试的结果,或通过display nqa statistics命令查看NQA测试的统计信息。

 

1.12.5  完整配置

l              SwitchB

#

 nqa server enable

 nqa server udp-echo 10.2.2.2 8000

l              SwitchA

#

nqa entry admin test

 type voice

  destination ip 10.2.2.2

  destination port 9000

#

 nqa schedule admin test start-time now lifetime forever

1.12.6  配置注意事项

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试。

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

1.13  DLSw测试典型配置指导

DLSw测试主要用来测试DLSw设备的响应时间。

1.13.1  组网图

图1-11 DLSw测试组网图

 

1.13.2  应用要求

使用DLSw功能测试DLSw设备的响应时间。

1.13.3  适用产品、版本

表1-12 配置适用的产品与软件版本关系

产品

软件版本

S7500E系列以太网交换机

Release 6300系列,Release 6600系列,Release 6610系列

S7600系列以太网交换机

Release 6600系列,Release 6610系列

S5800&S5820X系列以太网交换机

Release 1110,Release 1211

CE3000-32F以太网交换机

Release 1211

S5500-EI系列以太网交换机

Release 2202,Release 2208

S5500-EI-D系列以太网交换机

Release 2208

S5500-SI系列以太网交换机

Release 2202 ,Release 2208

S5120-EI系列以太网交换机

Release 2202,Release 2208

S5120-EI-D系列以太网交换机

Release 1505

S5120-SI系列以太网交换机

Release 1505

S3610&S5510系列以太网交换机

Release 5301,Release 5303,Release 5306,Release 5309

S3500-EA系列以太网交换机

Release 5303,Release 5309

S3100V2系列以太网交换机

Release 5103

E126B以太网交换机

Release 5103

 

1.13.4  配置过程和解释

进行下面的配置之前,需要确保各设备之间路由可达。

 

# 创建DLSw类型的测试组并配置测试操作的目的地址。

<SwitchA> system-view

[SwitchA] nqa entry admin test

[SwitchA-nqa-admin-test] type dlsw

[SwitchA-nqa-admin-test-dlsw] destination ip 10.2.2.2

# 开启NQA测试组的历史记录保存功能(部分产品及软件版本的NQA测试历史记录功能始终处于开启状态,不支持history-record enable命令,各产品和版本的具体支持情况请参见表1-1)。

[SwitchA-nqa-admin-test-dlsw] history-record enable

# 启动测试操作。

[SwitchA-nqa-admin-test-dlsw] quit

[SwitchA] nqa schedule admin test start-time now lifetime forever

# 测试执行一段时间后,停止DLSw测试操作。

[SwitchA] undo nqa schedule admin test

# 显示DLSw测试中最后一次测试的结果。

[SwitchA] display nqa result admin test

  NQA entry(admin admin, tag test) test results:

    Destination IP address: 10.2.2.2

      Send operation times: 1              Receive response times: 1

      Min/Max/Average round trip time: 19/19/19

      Square-Sum of round trip time: 361

      Last succeeded probe time: 2007-11-22 10:40:27.7

    Extend results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to disconnect: 0

      Failures due to no connection: 0

      Failures due to sequence error: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

# 显示DLSw测试的历史记录。

[SwitchA] display nqa history admin test

  NQA entry(admin admin, tag test) history record(s):

    Index      Response     Status           Time

    1          19           Succeeded        2007-11-22 10:40:27.7

1.13.5  完整配置

l              SwitchA(NQA历史记录功能缺省关闭)

#

nqa entry admin test

 type dlsw

  destination ip 10.2.2.2

  history-record enable

#

 nqa schedule admin test start-time now lifetime forever

l              SwitchA(NQA历史记录功能始终处于开启状态)

#

nqa entry admin test

 type dlsw

  destination ip 10.2.2.2

#

 nqa schedule admin test start-time now lifetime forever

1.13.6  配置注意事项

l              如果没有配置NQA测试的结束时间,请执行undo nqa schedule命令停止测试。

l              测试组开始测试后就不能再进入该测试组视图和测试类型视图进行配置修改,测试结束后才可以进入该测试组视图和测试类型视图。

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们