TWSD-1463: SNMP host port should be restricted to 161, 162
Review Request #1260 — Created Dec. 23, 2025 and updated
| Information | |
|---|---|
| mmiriam | |
| APV10 | |
| rel_10_7. rel_10_7_4 | |
| TWSD-1463 | |
| Reviewers | |
| ngurunathan, pradeep, tanya | |
TWSD-1463: SNMP host port should be restricted to 161, 162
AN(config)#snmp auth 192.168.16.1 1234 "admin@321" authNopriv "" ?
host port to receive trap (161 or 162, default 162)===================
AN(config)#snmp auth 192.168.16.1 1234 "admin@321" authNopriv "" 1622 "MD5"
WARNING: Port 1622 is not a standard SNMP port.
Only 161 (Polling) and 162 (Traps) are recommended.
========================================AN(config)#snmp host 1.1.1.1
AN(config)#sh run snmp
snmp configuration
snmp community "public"
snmp contact ""
snmp location ""
snmp host 192.168.16.1 3 ""
snmp host 1.1.1.1 1 "public"
snmp auth 192.168.16.1 "" "" authNopriv "" 162 ""
snmp auth 1.1.1.1 "" "" "" "" 162
snmp enable traps
snmp traps loglevel err
snmp v3user "array1" "XXXXXXXXX3MSAKA1KYEX5DPuknEYwNA==" authNopriv "" "SHA1"
snmp ipcontrol off
snmp on defaultAN(config)#snmp auth 1.1.1.1 "" "" "" "" 1656
Warning: This command only applicable for SNMP trap version v3!
