snmp is not working on 6850
Posted: 27 Aug 2019 11:50
i want to ask how to get OS6850(x.x.166.254) snmp data transfer to Centos 7 linux (x.x.166.146)
anyone can help me?
i use snmpwalk -v 2c -c communityee x.x.166.254 on linux but it's no response
i use nmap xx.xx.166.254 find 161 should be open or not
the response follow this :
[root@Flow-166 ~]# nmap xx.xx.166.254
Starting Nmap 6.40 ( http://nmap.org ) at 2019-08-31 21:07 CST
Nmap scan report for 140.117.166.254
Host is up (0.060s latency).
Not shown: 992 closed ports
PORT STATE SERVICE
7/tcp open echo
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
80/tcp open http
111/tcp open rpcbind
259/tcp filtered esro-gen
443/tcp open https
MAC Address: 00:E0:B1:92:BB:3C (Alcatel-Lucent, Enterprise Business Group)
[root@Flow-166 ~]# nmap -p 161 -sU 140.117.166.254
Starting Nmap 6.40 ( http://nmap.org ) at 2019-08-31 21:12 CST
Nmap scan report for 140.117.166.254
Host is up (0.00068s latency).
PORT STATE SERVICE
161/udp open|filtered snmp (why filtered)
MAC Address: 00:E0:B1:92:BB:3C (Alcatel-Lucent, Enterprise Business Group)
what is the relationship of the os6850 username to centos linux sever?
-> show user
User name = xxxuee,
Password expiration = None,
Read Only for domains = All ,
Read/Write for domains = None,
Snmp allowed = YES,
Snmp authentication = NONE,
Snmp encryption = NONE
-> show configyration snapshot
! AAA :
aaa authentication console "local"
aaa authentication telnet "local"
aaa authentication ftp "local"
aaa authentication http "local"
aaa authentication snmp "local"
aaa authentication ssh "local"
! SNMP :
snmp security no security
snmp community map "Public" user "xxxuee" on
snmp trap absorption disable
snmp station xx.xx.166.146 161 "xxxuee" v2 enable
snmp trap filter xx.xx.166.146 1 2 3 4 5 6
snmp trap filter xx.xx.166.146 7 8 9 10 11 12
snmp trap filter xx.xx.166.146 13 14 15 16 17 18
snmp trap filter xx.xx.166.146 19
-> show snmp station
ipAddress/udpPort status protocol user
---------------------------+---------+--------+-------------------------------
xx.xx.166.146/161 enable v2 xxxuee
anyone can help me?
i use snmpwalk -v 2c -c communityee x.x.166.254 on linux but it's no response
i use nmap xx.xx.166.254 find 161 should be open or not
the response follow this :
[root@Flow-166 ~]# nmap xx.xx.166.254
Starting Nmap 6.40 ( http://nmap.org ) at 2019-08-31 21:07 CST
Nmap scan report for 140.117.166.254
Host is up (0.060s latency).
Not shown: 992 closed ports
PORT STATE SERVICE
7/tcp open echo
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
80/tcp open http
111/tcp open rpcbind
259/tcp filtered esro-gen
443/tcp open https
MAC Address: 00:E0:B1:92:BB:3C (Alcatel-Lucent, Enterprise Business Group)
[root@Flow-166 ~]# nmap -p 161 -sU 140.117.166.254
Starting Nmap 6.40 ( http://nmap.org ) at 2019-08-31 21:12 CST
Nmap scan report for 140.117.166.254
Host is up (0.00068s latency).
PORT STATE SERVICE
161/udp open|filtered snmp (why filtered)
MAC Address: 00:E0:B1:92:BB:3C (Alcatel-Lucent, Enterprise Business Group)
what is the relationship of the os6850 username to centos linux sever?
-> show user
User name = xxxuee,
Password expiration = None,
Read Only for domains = All ,
Read/Write for domains = None,
Snmp allowed = YES,
Snmp authentication = NONE,
Snmp encryption = NONE
-> show configyration snapshot
! AAA :
aaa authentication console "local"
aaa authentication telnet "local"
aaa authentication ftp "local"
aaa authentication http "local"
aaa authentication snmp "local"
aaa authentication ssh "local"
! SNMP :
snmp security no security
snmp community map "Public" user "xxxuee" on
snmp trap absorption disable
snmp station xx.xx.166.146 161 "xxxuee" v2 enable
snmp trap filter xx.xx.166.146 1 2 3 4 5 6
snmp trap filter xx.xx.166.146 7 8 9 10 11 12
snmp trap filter xx.xx.166.146 13 14 15 16 17 18
snmp trap filter xx.xx.166.146 19
-> show snmp station
ipAddress/udpPort status protocol user
---------------------------+---------+--------+-------------------------------
xx.xx.166.146/161 enable v2 xxxuee