HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 130

FTP test configuration example, Network requirements, Configuration procedure

Page 130 highlights

Packet(s) arrived late: 0 # Display the history of DNS tests. [DeviceA] display nqa history admin test NQA entry (admin admin, tag test) history record(s): Index Response Status Time 1 62 Succeeded 2011-01-10 10:49:37.3 FTP test configuration example Network requirements As shown in Figure 41, configure NQA FTP tests to test the connection with a specific FTP server and the time required for Device A to upload a file to the FTP server. The login username is admin, the login password is systemtest, and the file to be transferred to the FTP server is config.txt. Figure 41 Network diagram Configuration procedure Before you make the configuration, make sure the devices can reach each other. # Create an FTP test group. system-view [DeviceA] nqa entry admin test [DeviceA-nqa-admin-test] type ftp # Specify the IP address of the FTP server 10.2.2.2 as the destination IP address for FTP tests. [DeviceA-nqa-admin-test-ftp] destination ip 10.2.2.2 # Specify 10.1.1.1 as the source IP address for probe packets. [DeviceA-nqa-admin-test-ftp] source ip 10.1.1.1 # Set the FTP username to admin, and password to systemtest. [DeviceA-nqa-admin-test-ftp] username admin [DeviceA-nqa-admin-test-ftp] password systemtest # Configure the device to upload file config.txt to the FTP server for each probe operation. [DeviceA-nqa-admin-test-ftp] operation put [DeviceA-nqa-admin-test-ftp] filename config.txt # Enable the saving of history records. [DeviceA-nqa-admin-test-ftp] history-record enable [DeviceA-nqa-admin-test-ftp] quit # Start FTP tests. [DeviceA] nqa schedule admin test start-time now lifetime forever # Stop the FTP tests after a period of time. [DeviceA] undo nqa schedule admin test # Display the results of the last FTP test. 123

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157

123
Packet(s) arrived late: 0
# Display the history of DNS tests.
[DeviceA] display nqa history admin test
NQA entry (admin admin, tag test) history record(s):
Index
Response
Status
Time
1
62
Succeeded
2011-01-10 10:49:37.3
FTP test configuration example
Network requirements
As shown in
Figure 41
, configure NQA FTP tests to test the connection with a specific FTP server and the
time required for Device A to upload a file to the FTP server. The login username is
admin
, the login
password is
systemtest
, and the file to be transferred to the FTP server is
config.txt
.
Figure 41
Network diagram
Configuration procedure
Before you make the configuration, make sure the devices can reach each other.
# Create an FTP test group.
<DeviceA> system-view
[DeviceA] nqa entry admin test
[DeviceA-nqa-admin-test] type ftp
# Specify the IP address of the FTP server 10.2.2.2 as the destination IP address for FTP tests.
[DeviceA-nqa-admin-test-ftp] destination ip 10.2.2.2
# Specify 10.1.1.1 as the source IP address for probe packets.
[DeviceA-nqa-admin-test-ftp] source ip 10.1.1.1
# Set the FTP username to
admin
, and password to
systemtest
.
[DeviceA-nqa-admin-test-ftp] username admin
[DeviceA-nqa-admin-test-ftp] password systemtest
# Configure the device to upload file
config.txt
to the FTP server for each probe operation.
[DeviceA-nqa-admin-test-ftp] operation put
[DeviceA-nqa-admin-test-ftp] filename config.txt
# Enable the saving of history records.
[DeviceA-nqa-admin-test-ftp] history-record enable
[DeviceA-nqa-admin-test-ftp] quit
# Start FTP tests.
[DeviceA] nqa schedule admin test start-time now lifetime forever
# Stop the FTP tests after a period of time.
[DeviceA] undo nqa schedule admin test
# Display the results of the last FTP test.