11-Network Management and Monitoring Configuration Examples

HomeSupportSwitchesH3C S7500E Switch SeriesConfigure & DeployConfiguration ExamplesH3C S7500E Switch Series Configuration Examples-Release7150-6W10011-Network Management and Monitoring Configuration Examples
01-H3C_S7500E_NQA_Configuration_Examples
Title Size Download
01-H3C_S7500E_NQA_Configuration_Examples 289.83 KB

H3C S7500E NQA Configuration Examples

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The information in this document is subject to change without notice.

H3C_彩色.emf

 

 


Contents

Introduction· 1

Prerequisites 1

General configuration restrictions and guidelines 1

Example: Configuring an NQA ICMP echo operation· 1

Network requirements 1

Software version used· 1

Configuration restrictions and guidelines 2

Configuration procedures 2

Verifying the configuration· 2

Configuration files 3

Example: Configuring an NQA DHCP operation· 3

Network requirements 3

Software version used· 4

Configuration restrictions and guidelines 4

Configuration procedures 4

Verifying the configuration· 4

Configuration files 5

Example: Configuring an NQA DNS operation· 5

Network requirements 5

Software version used· 5

Configuration restrictions and guidelines 5

Configuration procedures 6

Verifying the configuration· 6

Configuration files 7

Example: Configuring an NQA FTP operation· 7

Network requirements 7

Software version used· 7

Configuration restrictions and guidelines 7

Configuration procedures 7

Verifying the configuration· 8

Configuration files 9

Example: Configuring an NQA HTTP operation· 9

Network requirements 9

Software version used· 9

Configuration restrictions and guidelines 9

Configuration procedures 9

Verifying the configuration· 10

Configuration files 10

Example: Configuring an NQA UDP jitter operation· 11

Network requirements 11

Software version used· 11

Configuration restrictions and guidelines 11

Configuration procedures 11

Configuring Device B· 11

Configuring Device A·· 11

Verifying the configuration· 12

Configuration files 13

Example: Configuring an NQA SNMP operation· 14

Network requirements 14

Software version used· 14

Configuration restrictions and guidelines 14

Configuration procedures 15

Configuring Device B· 15

Configuring Device A·· 15

Verifying the configuration· 15

Configuration files 16

Example: Configuring an NQA TCP operation· 16

Network requirements 16

Software version used· 16

Configuration restrictions and guidelines 16

Configuration procedures 17

Configuring Device B· 17

Configuring Device A·· 17

Verifying the configuration· 17

Configuration files 18

Example: Configuring an NQA UDP echo operation· 18

Network requirements 18

Software version used· 18

Configuration restrictions and guidelines 19

Configuration procedures 19

Configuring Device B· 19

Configuring Device A·· 19

Verifying the configuration· 19

Configuration files 20

Example: Configuring an NQA voice operation· 20

Network requirements 20

Software version used· 21

Configuration restrictions and guidelines 21

Configuration procedures 21

Configuring Device B· 21

Configuring Device A·· 21

Verifying the configuration· 21

Configuration files 23

Example: Configuring an NQA DLSw operation· 24

Network requirements 24

Software version used· 24

Configuration restrictions and guidelines 24

Configuration procedures 24

Verifying the configuration· 24

Configuration files 25

Related documentation· 25

 


Introduction

This document provides NQA configuration examples.

Prerequisites

The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.

This document assumes that you have basic knowledge of H3C NQA.

General configuration restrictions and guidelines

The ICMP echo operation is not supported in IPv6 networks. To test the reachability of an IPv6 address, use the ping ipv6 command.

Example: Configuring an NQA ICMP echo operation

Network requirements

As shown in Figure 1, configure an NQA ICMP echo operation to test the roundtrip time between Device A and Device D through Device B.

Figure 1 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA ICMP echo operation, follow these restrictions and guidelines:

·     Make sure the devices can reach each other before you start the NQA operation.

·     You cannot modify the operation configuration for a running NQA operation.

Configuration procedures

# Create an NQA ICMP echo operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

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

# Specify the destination IP address of ICMP echo requests as 60.1.1.1.

[DeviceA-nqa-admin-test-icmp-echo] destination ip 60.1.1.1

# Specify the next hop of ICMP echo requests as 10.1.1.2.

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

# Configure the ICMP echo operation to perform 10 probes.

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

# Specify the probe timeout time as 500 milliseconds for the ICMP echo operation.

[DeviceA-nqa-admin-test-icmp-echo] probe timeout 500

# Configure the ICMP echo operation to repeat at an interval of 5000 milliseconds.

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

# Enable saving history records.

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

# Configure the maximum number of history records that can be saved as 10.

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

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

Verifying the configuration

# Start the ICMP echo operation.

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

# After the ICMP echo operation runs for a time period, stop the operation.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the ICMP echo operation.

[DeviceA] display nqa result admin test

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

    Send operation times: 10             Receive response times: 10

    Min/Max/Average round trip time: 2/5/3

    Square-Sum of round trip time: 96

    Last succeeded probe time: 2014-03-23 15:00:01.2

  Extended results:

    Packet loss ratio: 0%

    Failures due to timeout: 0

    Failures due to internal error: 0

    Failures due to other errors: 0

# Display the history records of the ICMP echo operation.

[DeviceA] display nqa history admin test

NQA entry (admin admin, tag test) history records:

  Index      Response     Status           Time

  370        3            Succeeded        2014-03-23 15:00:01.2

  369        3            Succeeded        2014-03-23 15:00:01.2

  368        3            Succeeded        2014-03-23 15:00:01.2

  367        5            Succeeded        2014-03-23 15:00:01.2

  366        3            Succeeded        2014-03-23 15:00:01.2

  365        3            Succeeded        2014-03-23 15:00:01.2

  364        3            Succeeded        2014-03-23 15:00:01.1

  363        2            Succeeded        2014-03-23 15:00:01.1

  362        3            Succeeded        2014-03-23 15:00:01.1

  361        2            Succeeded        2014-03-23 15:00:01.1

The output shows that the packets sent by Device A can reach Device D through Device B. No packet loss occurs during the operation. The minimum, maximum, and average round-trip times are 2, 5, and 3 milliseconds, respectively.

Configuration files

#

nqa entry admin test

 type icmp-echo

  destination ip 60.1.1.1

  frequency 5000

  history-record enable

  history-record number 10

  next-hop 10.1.1.2

  probe count 10

  probe timeout 500

#

Example: Configuring an NQA DHCP operation

Network requirements

As shown in Figure 2, configure an NQA DHCP operation to test the time required for Device A to obtain an IP address from the DHCP server (Device B).

Figure 2 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA DHCP operation, follow these restrictions and guidelines:

·     Complete the DHCP server configuration before you start the DHCP operation.

·     Make sure the devices can reach each other before you start the operation.

·     You cannot modify the operation configuration for a running NQA operation.

Configuration procedures

# Create an NQA DHCP operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

[DeviceA-nqa-admin-test] type dhcp

# Specify the DHCP server IP address 10.1.1.2 as the destination address.

[DeviceA-nqa-admin-test-dhcp] destination ip 10.1.1.2

# Enable the saving of history records.

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

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

Verifying the configuration

# Start the DHCP operation.

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

# After the operation runs for a time period, stop the operation.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the DHCP operation.

[DeviceA] 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: 2014-03-24 09:56:03.2

    Extend results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

# Display the history records of the DHCP operation.

[DeviceA] display nqa history admin test

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

    Index      Response     Status           Time

    1          624          Succeeded        2014-03-24 09:56:03.2

The output shows that it took Device A 624 milliseconds to obtain an IP address from the DHCP server.

Configuration files

#

nqa entry admin test

 type dhcp

  destination ip 10.1.1.2

  history-record enable

#

Example: Configuring an NQA DNS operation

Network requirements

As shown in Figure 3, configure an NQA DNS operation to test whether Device A can perform address resolution through the DNS server and test the resolution time.

Figure 3 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA DNS operation, follow these restrictions and guidelines:

·     Make sure the devices can reach each other before you start the NQA operation.

·     You cannot modify the operation configuration for a running NQA operation.

Configuration procedures

# Create an NQA DNS operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

[DeviceA-nqa-admin-test] type dns

# Specify the IP address of the DNS server 10.2.2.2 as the destination address.

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

# Specify the domain name to be translated as host.com.

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

# Enable the saving of history records.

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

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

Verifying the configuration

# Start the DNS operation.

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

# After the DNS operation runs for a time period, stop the operation.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the DNS operation.

[DeviceA] 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: 62/62/62

      Square-Sum of round trip time: 3844

      Last succeeded probe time: 2014-03-24 10:49:37.3

    Extended results:

      Packet lost in test: 0%

      Failures due to timeout: 0

      Failures due to internal error: 0

      Failures due to other errors: 0

# Display the history records of the DNS operation.

[DeviceA] display nqa history admin test

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

    Index      Response     Status           Time

    1          62           Succeeded        2014-03-24 10:49:37.3

The output shows that it took Device A 62 milliseconds to translate the domain name host.com into an IP address.

Configuration files

#

nqa entry admin test

 type dns

  destination ip 10.2.2.2

  history-record enable

  resolve-target host.com

#

Example: Configuring an NQA FTP operation

Network requirements

As shown in Figure 4, configure an NQA FTP operation to test the file transmission time between Device A and the FTP server. The login username and password are admin and systemtest, respectively.

Figure 4 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA FTP operation, follow these restrictions and guidelines:

·     Make sure the devices can reach each other before you start the NQA operation.

·     You cannot modify the operation configuration for a running NQA operation.

·     When you perform the put operation with the filename command configured, make sure the file exists on the NQA client.

·     Take the network bandwidth into consideration when you set the file size and the probe timeout.

Configuration procedures

# Create an NQA FTP operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

[DeviceA-nqa-admin-test] type ftp

# Specify the URL of the FTP server.

[DeviceA-nqa-admin-test-ftp] url ftp://10.2.2.2

# Specify 10.1.1.1 as the source IP address.

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

# Specify the FTP operation type as put.

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

# Specify the file to be uploaded as config.txt.

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

# Specify the username for the FTP operation as admin.

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

# Specify the password for the FTP operation as systemtest.

[DeviceA-nqa-admin-test-ftp] password simple systemtest

# Enable the saving of history records.

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

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

Verifying the configuration

# Start the FTP operation.

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

# After the FTP operation runs for a time period, stop the operation.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the FTP operation.

[DeviceA] 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: 173/173/173

      Square-Sum of round trip time: 29929

      Last succeeded probe time: 2014-03-25 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 internal error: 0

      Failures due to other errors: 0

# Display the history records of the FTP operation.

[DeviceA] display nqa history admin test

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

    Index      Response     Status           Time

    1           173          Succeeded        2014-03-25 10:07:28.6

The output shows that it took Device A 173 milliseconds to upload a file to the FTP server.

Configuration files

#

nqa entry admin test

 type ftp

  filename config.txt

  history-record enable

  operation put

  password cipher $c$3$BP255atzDilAfIPwfh+RMHqmP5LTiKWpVf/hpBs=

  source ip 10.1.1.1

  url ftp://10.2.2.2

  username admin

#

Example: Configuring an NQA HTTP operation

Network requirements

As shown in Figure 5, configure an NQA HTTP operation on the NQA client to test the time required to obtain data from the HTTP server.

Figure 5 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA HTTP operation, follow these restrictions and guidelines:

·     Make sure the devices can reach each other before you start the NQA operation.

·     You cannot modify the operation configuration for a running NQA operation.

Configuration procedures

# Create an NQA HTTP operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

[DeviceA-nqa-admin-test] type http

# Specify the URL of the HTTP server.

[DeviceA-nqa-admin-test-http] url http://10.2.2.2/index.htm

# Enable the saving of history records.

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

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

Verifying the configuration

# Start the HTTP operation.

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

# After the HTTP operation runs for a time period, stop the operation.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the HTTP operation.

[DeviceA] 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: 64/64/64

      Square-Sum of round trip time: 4096

      Last succeeded probe time: 2014-03-25 11: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 internal error: 0

      Failures due to other errors: 0

# Display the history records of the HTTP operation.

[DeviceA] display nqa history admin test

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

    Index      Response     Status           Time

    1          64           Succeeded        2014-03-25 11:12:47.9

The output shows that it took Device A 64 milliseconds to obtain data from the HTTP server.

Configuration files

#

nqa entry admin test

 type http

  history-record enable

  url http://10.2.2.2/index.htm

#

Example: Configuring an NQA UDP jitter operation

Network requirements

As shown in Figure 6, configure a UDP jitter operation to test the jitter, delay, and round-trip time between Device A and Device B.

Figure 6 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA UDP jitter operation, follow these restrictions and guidelines:

·     Make sure the devices can reach each other before you start the NQA operation.

·     Configure Device B as the NQA server before you start the NQA UDP jitter operation.

·     You cannot modify the operation configuration for a running NQA operation.

Configuration procedures

Configuring Device B

# Enable the NQA server.

<DeviceB> system-view

[DeviceB] nqa server enable

# Configure a listening service to listen on the IP address 10.2.2.2 and UDP port 9000.

[DeviceB] nqa server udp-echo 10.2.2.2 9000

Configuring Device A

# Create a UDP jitter operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

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

# Configure 10.2.2.2 as the destination IP address and port 9000 as the destination port.

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

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

# Configure the operation to repeat at an interval of 1000 milliseconds.

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

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

Verifying the configuration

# Start the UDP jitter operation.

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

# Stop the UDP jitter operation after the operation runs for a time period, for example, 30 seconds.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the UDP jitter operation.

[DeviceA] display nqa result admin test

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

    Send operation times: 10             Receive response times: 10

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

    Square-Sum of round trip time: 10

    Last packet received time: 2014-07-30 09:46:36.9

  Extended results:

    Packet loss ratio: 0%

    Failures due to timeout: 0

    Failures due to internal error: 0

    Failures due to other errors: 0

    Packets out of sequence: 0

    Packets arrived late: 0

  UDP-jitter results:

   RTT number: 10

    Min positive SD: 1                     Min positive DS: 0

    Max positive SD: 1                     Max positive DS: 0

    Positive SD number: 1                  Positive DS number: 0

    Positive SD sum: 1                     Positive DS sum: 0

    Positive SD average: 1                 Positive DS average: 0

    Positive SD square-sum: 1              Positive DS square-sum: 0

    Min negative SD: 0                     Min negative DS: 0

    Max negative SD: 0                     Max negative DS: 0

    Negative SD number: 0                  Negative DS number: 0

    Negative SD sum: 0                     Negative DS sum: 0

    Negative SD average: 0                 Negative DS average: 0

    Negative SD square-sum: 0              Negative DS square-sum: 0

  One way results:

    Max SD delay: 0                        Max DS delay: 0

    Min SD delay: 0                        Min DS delay: 0

    Number of SD delay: 0                  Number of DS delay: 0

    Sum of SD delay: 0                     Sum of DS delay: 0

    Square-Sum of SD delay: 0              Square-Sum of DS delay: 0

    SD lost packets: 0                     DS lost packets: 0

    Lost packets for unknown reason: 0

# Display the statistics of the UDP jitter operation.

[DeviceA] display nqa statistics admin test

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

  NO. : 1

    Start time: 2014-07-30 09:46:22.7

    Life time: 14 seconds

    Send operation times: 150            Receive response times: 150

    Min/Max/Average round trip time: 1/4/1

    Square-Sum of round trip time: 165

  Extended results:

    Packet loss ratio: 0%

    Failures due to timeout: 0

    Failures due to internal error: 0

    Failures due to other errors: 0

    Packets out of sequence: 0

    Packets arrived late: 0

  UDP-jitter results:

   RTT number: 150

    Min positive SD: 1                     Min positive DS: 1

    Max positive SD: 6                     Max positive DS: 1

    Positive SD number: 11                 Positive DS number: 5

    Positive SD sum: 16                    Positive DS sum: 5

    Positive SD average: 1                 Positive DS average: 1

    Positive SD square-sum: 46             Positive DS square-sum: 5

    Min negative SD: 5                     Min negative DS: 1

    Max negative SD: 5                     Max negative DS: 1

    Negative SD number: 1                  Negative DS number: 1

    Negative SD sum: 5                     Negative DS sum: 1

    Negative SD average: 5                 Negative DS average: 1

    Negative SD square-sum: 25             Negative DS square-sum: 1

  One way results:

    Max SD delay: 0                        Max DS delay: 0

    Min SD delay: 0                        Min DS delay: 0

    Number of SD delay: 0                  Number of DS delay: 0

    Sum of SD delay: 0                     Sum of DS delay: 0

    Square-Sum of SD delay: 0              Square-Sum of DS delay: 0

    SD lost packets: 0                     DS lost packets: 0

    Lost packets for unknown reason: 0

Configuration files

·     Device B:

#

 nqa server enable

 nqa server udp-echo 10.2.2.2 9000

#

·     Device A:

#

nqa entry admin test

 type udp-jitter

  destination ip 10.2.2.2

  destination port 9000

  frequency 1000

#

Example: Configuring an NQA SNMP operation

Network requirements

As shown in Figure 7, configure an SNMP operation to test the time the NQA client uses to get a response from the SNMP agent.

Figure 7 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA SNMP operation, follow these restrictions and guidelines:

·     Make sure the devices can reach each other before you start the NQA operation.

·     Configure Device B as the SNMP agent before you start the NQA SNMP operation.

·     You cannot modify the operation configuration for a running NQA operation.

Configuration procedures

Configuring Device B

# Set the SNMP version to all.

<DeviceB> system-view

[DeviceB] snmp-agent sys-info version all

# Set the read community to public.

[DeviceB] snmp-agent community read public

# Set the write community to private.

[DeviceB] snmp-agent community write private

Configuring Device A

# Create an SNMP operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

[DeviceA-nqa-admin-test] type snmp

# Configure 10.2.2.2 as the destination IP address of the SNMP operation.

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

# Enable the saving of history records.

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

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

Verifying the configuration

# Start the SNMP operation.

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

# Stop the SNMP operation after the operation runs for a time period, for example, 30 seconds.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the SNMP operation.

[DeviceA] 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: 1/1/1

    Square-Sum of round trip time: 1

    Last succeeded probe time: 2014-07-30 10:07:28.2

  Extended results:

    Packet loss ratio: 0%

    Failures due to timeout: 0

    Failures due to internal error: 0

    Failures due to other errors: 0

# Display the history records of the SNMP operation.

[DeviceA] display nqa history admin test

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

Index      Response     Status           Time

1          1            Succeeded        2014-07-30 10:07:28.2

Configuration files

·     Device B:

#

 snmp-agent

 snmp-agent local-engineid 800063A20300E0FC123456

 snmp-agent community read public

 snmp-agent community write private

 snmp-agent sys-info version all

#

·     Device A:

#

nqa entry admin test

 type snmp

  destination ip 10.2.2.2

  history-record enable

#

Example: Configuring an NQA TCP operation

Network requirements

As shown in Figure 8, configure a TCP operation to test the time required for Device A and Device B to establish a TCP connection.

Figure 8 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA TCP operation, follow these restrictions and guidelines:

·     Make sure the devices can reach each other before you start the NQA operation.

·     Configure Device B as the NQA server before you start the NQA TCP operation.

·     You cannot modify the operation configuration for a running NQA operation.

Configuration procedures

Configuring Device B

# Enable the NQA server.

<DeviceB> system-view

[DeviceB] nqa server enable

# Configure a listening service to listen on the IP address 10.2.2.2 and TCP port 9000.

[DeviceB] nqa server tcp-connect 10.2.2.2 9000

Configuring Device A

# Create a TCP operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

[DeviceA-nqa-admin-test] type tcp

# Configure 10.2.2.2 as the destination IP address and port 9000 as the destination port.

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

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

# Enable the saving of history records.

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

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

Verifying the configuration

# Start the TCP operation.

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

# Stop the TCP operation after the operation runs for a time period, for example, 30 seconds.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the TCP operation.

[DeviceA] 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: 1/1/1

    Square-Sum of round trip time: 1

    Last succeeded probe time: 2014-07-30 10:37:29.5

  Extended results:

    Packet loss ratio: 0%

    Failures due to timeout: 0

    Failures due to disconnect: 0

    Failures due to no connection: 0

    Failures due to internal error: 0

    Failures due to other errors: 0

# Display the history records of the TCP operation.

[DeviceA] display nqa history admin test

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

Index      Response     Status           Time

2          1            Succeeded        2014-07-30 10:37:29.5

Configuration files

·     Device B:

#

 nqa server enable

 nqa server tcp-connect 10.2.2.2 9000

#

·     Device A:

#

nqa entry admin test

 type tcp

  destination ip 10.2.2.2

  destination port 9000

  history-record enable

#

Example: Configuring an NQA UDP echo operation

Network requirements

As shown in Figure 9, configure a UDP echo operation to test the round-trip time between Device A and Device B. The destination port number is 8000.

Figure 9 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA UDP echo operation, follow these restrictions and guidelines:

·     Make sure the devices can reach each other before you start the NQA operation.

·     Configure Device B as the NQA server before you start the NQA UDP echo operation.

·     You cannot modify the operation configuration for a running NQA operation.

Configuration procedures

Configuring Device B

# Enable the NQA server.

<DeviceB> system-view

[DeviceB] nqa server enable

# Configure a listening service to listen on the IP address 10.2.2.2 and UDP port 8000.

[DeviceB] nqa server udp-echo 10.2.2.2 8000

Configuring Device A

# Create a UDP echo operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

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

# Configure 10.2.2.2 as the destination IP address and port 8000 as the destination port.

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

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

# Enable the saving of history records.

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

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

Verifying the configuration

# Start the UDP echo operation.

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

# Stop the UDP echo operation after the operation runs for a time period, for example, 30 seconds.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the UDP echo operation.

[DeviceA] 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: 1/1/1

    Square-Sum of round trip time: 1

    Last succeeded probe time: 2014-07-30 11:10:35.2

  Extended results:

    Packet loss ratio: 0%

    Failures due to timeout: 0

    Failures due to internal error: 0

    Failures due to other errors: 0

# Display the history records of the UDP echo operation.

[DeviceA] display nqa history admin test

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

Index      Response     Status           Time

1          1            Succeeded        2014-07-30 11:10:35.2

Configuration files

·     Device B:

#

 nqa server enable

 nqa server udp-echo 10.2.2.2 8000

#

·     Device A:

#

nqa entry admin test

 type udp-echo

  destination ip 10.2.2.2

  destination port 8000

  history-record enable

#

Example: Configuring an NQA voice operation

Network requirements

As shown in Figure 10, configure a voice operation to test the jitter, delay, MOS, and ICPIF between Device A and Device B.

Figure 10 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA voice operation, follow these restrictions and guidelines:

·     Make sure the devices can reach each other before you start the NQA operation.

·     Configure Device B as the NQA server before you start the NQA voice operation.

·     You cannot modify the operation configuration for a running NQA operation.

Configuration procedures

Configuring Device B

# Enable the NQA server.

<DeviceB> system-view

[DeviceB] nqa server enable

# Configure a listening service to listen on IP address 10.2.2.2 and UDP port 9000.

[DeviceB] nqa server udp-echo 10.2.2.2 9000

Configuring Device A

# Create a voice operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

[DeviceA-nqa-admin-test] type voice

# Configure 10.2.2.2 as the destination IP address and port 9000 as the destination port.

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

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

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

Verifying the configuration

# Start the voice operation.

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

# Stop the voice operation after the operation runs for a time period, for example, 30 seconds.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the voice operation.

[DeviceA] display nqa result admin test

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

    Send operation times: 157            Receive response times: 157

    Min/Max/Average round trip time: 1/3/1

    Square-Sum of round trip time: 165

    Last packet received time: 2014-07-30 14:27:52.8

  Extended results:

    Packet loss ratio: 0%

    Failures due to timeout: 0

    Failures due to internal error: 0

    Failures due to other errors: 0

    Packets out of sequence: 0

    Packets arrived late: 0

  Voice results:

   RTT number: 157

    Min positive SD: 2                     Min positive DS: 1

    Max positive SD: 4                     Max positive DS: 1

    Positive SD number: 2                  Positive DS number: 5

    Positive SD sum: 6                     Positive DS sum: 5

    Positive SD average: 3                 Positive DS average: 1

    Positive SD square-sum: 20             Positive DS square-sum: 5

    Min negative SD: 2                     Min negative DS: 1

    Max negative SD: 4                     Max negative DS: 1

    Negative SD number: 2                  Negative DS number: 6

    Negative SD sum: 6                     Negative DS sum: 6

    Negative SD average: 3                 Negative DS average: 1

    Negative SD square-sum: 20             Negative DS square-sum: 6

  One way results:

    Max SD delay: 0                        Max DS delay: 0

    Min SD delay: 0                        Min DS delay: 0

    Number of SD delay: 0                  Number of DS delay: 0

    Sum of SD delay: 0                     Sum of DS delay: 0

    Square-Sum of SD delay: 0              Square-Sum of DS delay: 0

    SD lost packets: 0                     DS lost packets: 0

    Lost packets for unknown reason: 0

  Voice scores:

    MOS value: 0.00                        ICPIF value: 0

# Display the statistics of the voice operation.

[DeviceA] display nqa statistics admin test

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

  NO. : 1

    Start time: 2014-07-30 14:30:30.0

    Life time: 204 seconds

    Send operation times: 4000           Receive response times: 4000

    Min/Max/Average round trip time: 1/32/1

    Square-Sum of round trip time: 12853

  Extended results:

    Packet loss ratio: 0%

    Failures due to timeout: 0

    Failures due to internal error: 0

    Failures due to other errors: 0

    Packets out of sequence: 0

    Packets arrived late: 0

  Voice results:

   RTT number: 4000

    Min positive SD: 1                     Min positive DS: 1

    Max positive SD: 32                    Max positive DS: 1

    Positive SD number: 76                 Positive DS number: 72

    Positive SD sum: 567                   Positive DS sum: 72

    Positive SD average: 7                 Positive DS average: 1

    Positive SD square-sum: 9011           Positive DS square-sum: 72

    Min negative SD: 1                     Min negative DS: 1

    Max negative SD: 20                    Max negative DS: 1

    Negative SD number: 87                 Negative DS number: 67

    Negative SD sum: 569                   Negative DS sum: 67

    Negative SD average: 7                 Negative DS average: 1

    Negative SD square-sum: 6715           Negative DS square-sum: 67

  One way results:

    Max SD delay: 0                        Max DS delay: 0

    Min SD delay: 0                        Min DS delay: 0

    Number of SD delay: 0                  Number of DS delay: 0

    Sum of SD delay: 0                     Sum of DS delay: 0

    Square-Sum of SD delay: 0              Square-Sum of DS delay: 0

    SD lost packets: 0                     DS lost packets: 0

    Lost packets for unknown reason: 0

  Voice scores:

    Max MOS value: 4.40                    Min MOS value: 4.40

Max ICPIF value: 0                     Min ICPIF value: 0

Configuration files

·     Device B:

#

 nqa server enable

 nqa server udp-echo 10.2.2.2 8000

#

·     Device A:

#

nqa entry admin test

 type voice

  destination ip 10.2.2.2

  destination port 9000

#

Example: Configuring an NQA DLSw operation

Network requirements

As shown in Figure 11, configure a DLSw operation to test the response time of the DLSw device.

Figure 11 Network diagram

 

Software version used

This configuration example was created and verified on S7500E-CMW710-R7150.

Configuration restrictions and guidelines

When you configure an NQA DLSw operation, follow these restrictions and guidelines:

·     Make sure the devices can reach each other before you start the NQA operation.

·     You cannot modify the operation configuration for a running NQA operation.

Configuration procedures

# Create a DLSw operation.

<DeviceA> system-view

[DeviceA] nqa entry admin test

[DeviceA-nqa-admin-test] type dlsw

# Configure 10.2.2.2 as the destination IP address.

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

# Enable the saving of history records.

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

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

Verifying the configuration

# Start the DLSw operation.

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

# Stop the DLSw operation after the operation runs for a time period, for example, 30 seconds.

[DeviceA] undo nqa schedule admin test

# Display the most recent result of the DLSw operation.

[DeviceA] 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: 19/19/19

    Square-Sum of round trip time: 361

    Last succeeded probe time: 2014-07-22 10:40:27.7

  Extended results:

    Packet loss ratio: 0%

    Failures due to timeout: 0

    Failures due to disconnect: 0

    Failures due to no connection: 0

    Failures due to internal error: 0

    Failures due to other errors: 0

# Display the history records of the DLSw operation.

[DeviceA] display nqa history admin test

NQA entry (admin admin, tag test) history records:

  Index      Response     Status           Time

  1          19           Succeeded        2014-07-22 10:40:27.7

Configuration files

#

nqa entry admin test

 type dlsw

  destination ip 10.2.2.2

  history-record enable

#

Related documentation

·     H3C S7500E Switch Series Network Management and Monitoring Configuration Guide-Release 7150

·     H3C S7500E Switch Series Network Management and Monitoring Command Reference-Release 7150

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网