Snmp-Agent Remote - HPE FlexNetwork 7500 Series Command Reference Manual

Network management and monitoring
Table of Contents

Advertisement

Use undo snmp-agent port to restore the default.
Syntax
snmp-agent port port-number
undo snmp-agent port
Default
The device uses UDP port 161 for receiving SNMP packets.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
port-number: Specifies the UDP port for receiving SNMP packets, in the range of 1 to 65535. The
default port number is 161.
Usage guidelines
After changing the port number for receiving SNMP packets, reconnect the device by using the port
number for SNMP get and set operations.
To display UDP port information, use the display current-configuration command.
Examples
# Specify the UDP port for receiving SNMP packets as 5555.
<Sysname> system-view
[Sysname] snmp-agent port 5555
# Restore the default UDP port.
<Sysname> system-view
[Sysname] undo snmp-agent port

snmp-agent remote

Use snmp-agent remote to set an SNMP engine ID for a remote SNMP entity.
Use undo snmp-agent remote to delete the SNMP engine ID of a remote SNMP entity.
Syntax
snmp-agent remote { ipv4-address | ipv6 ipv6-address } [ vpn-instance vpn-instance-name ]
engineid engineid
undo snmp-agent remote ip-address
Default
No SNMP engine IDs are configured for remote SNMP entities.
Views
System view
Predefined user roles
network-admin
mdc-admin
197

Advertisement

Table of Contents
loading

Table of Contents