CLI Reference Guide SNMP Configuration Commands
snmp-server udp-port
Use this command to specify the number of the protocol port to receive SNMP packets in global
configuration mode. Use the no form of this command to remove the configuration and use the default
protocol port 161 to receive SNMP packets.
snmp-server udp-port port-num
no snmp-server udp-port
Specify the number of the protocol port to receive SNMP packets.
By default, the protocol port 161 is used to receive SNMP packets.
Global configuration mode
The following example specifies the protocol port 15000 to receive SNMP packets:
Ruijie(config)# snmp-server udp-port 15000
snmp-server user
Use this command to set the SNMP name in global configuration mode. The no form of this command
is used to delete the user.
snmp-server user username groupname { v1 | v2c | v3 [ encrypted ] [ auth { md5 | sha }
auth-password ] [ priv des56 priv-password ] } [ access { [ ipv6 ipv6_aclname ] [aclnum | aclname } ] ]
no snmp-server user username groupname { v1 | v2c | v3 }
SNMP version. But only SNMPv3 supports the following