120
vpn-instance
vpn-instance-name
: Specifies the VPN for a remote SNMP entity. The
vpn-instance-name
argument specifies the name of the MPLS L3VPN, a case-sensitive string of 1 to
31 characters. If this parameter is not specified, the remote SNMP entity is in the public network.
Usage guidelines
Every SNMP agent has one SNMP engine to provide services for sending and receiving messages,
authenticating and encrypting messages, and controlling access to managed objects.
If no IP address is specified, this command displays all remote SNMP engine IDs you have
configured.
Examples
# Display all remote SNMP engine IDs.
<Sysname> display snmp-agent remote
Remote engineID: 800063A28000A0FC00580400000001
IPv4 address: 1.1.1.1
VPN instance: vpn1
Table 37 Command output
Field Description
Remote
engineID
Remote SNMP engine ID you have configured using the
snmp-agent
remote
command.
IPv4 address
IPv4 address of the remote SNMP entity.
For remote SNMP entities that are configured with an IPv6 address, the field name is
"IPv6 address."
VPN instance
This field is available only if a VPN has been specified for the remote SNMP entity in the
snmp-agent
remote
command.
Related commands
snmp-agent
remote
display snmp-agent statistics
Use
display
snmp-agent
statistics
to display SNMP message statistics.
Syntax
display
snmp-agent
statistics
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display SNMP message statistics.
<Sysname> display snmp-agent statistics
1684 messages delivered to the SNMP entity.
5 messages were for an unsupported version.
0 messages used an unknown SNMP community name.
0 messages represented an illegal operation for the community supplied.