19
Step
Command
Remarks
6.
(Optional.) Specify the
source IP address of SNMP
packets.
source ip ip-address
By default, the packets take the
primary IP address of the output
interface as their source IP address.
The source IP address must be the IP
address of a local interface, and the
interface must be up. Otherwise, no
SNMP packets can be sent out.
7.
(Optional.) Specify the
community name for the
SNMP operation if the
operation uses the SNMPv1
or SNMPv2c agent.
community read
{
cipher
|
simple
}
community-name
The default community name is
public
.
Make sure the specified community
name is the same as the community
name configured on the SNMP agent.
Configuring the TCP operation
The TCP operation measures the time for the NQA client to establish a TCP connection to a port on
the NQA server.
The TCP operation requires both the NQA server and the NQA client. Before you perform a TCP
operation, configure a TCP listening service on the NQA server. For more information about the TCP
listening service configuration, see "
To configure the TCP operation:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create an NQA operation
and enter NQA operation
view.
nqa
entry
admin-name
operation-tag
By default, no NQA operations exist.
3.
Specify the TCP type and
enter its view.
type
tcp
N/A
4.
Specify the destination
address of TCP packets.
destination ip
ip-address
By default, no destination IP address
is specified.
The destination address must be the
same as the IP address of the
listening service configured on the
NQA server.
5.
Specify the destination port
of TCP packets.
destination port
port-number
By default, no destination port number
is configured.
The destination port number must be
the same as the port number of the
listening service on the NQA server.
6.
(Optional.) Specify the
source IP address of TCP
packets.
source ip ip-address
By default, the packets take the
primary IP address of the output
interface as their source IP address.
The source IP address must be the IP
address of a local interface, and the
interface must be up. Otherwise, no
TCP packets can be sent out.