102
5.
(Optional.) Specify the
source port of SNMP
packets.
source port
port-number
By default, no source port number is
specified.
6.
source IP address of SNMP
packets.
source ip
ip-address
By default, t
he 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
By default, the SNMP operation uses
community name
public
.
Make sure the specified community
name is the same as the community
name configured on the SNMP agent.
This command is available in Release
1121 and later.
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 "Configuring the NQA server."
To configure the TCP operation:
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
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.
source IP address of TCP
packets.
source ip
ip-address
By default, t
he 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