cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3959
Views
0
Helpful
2
Replies

SNMP Setup on 1841 Router

johnlloyd_13
Level 9
Level 9

hi all,

i've a cisco 1841 router and setup for SNMP. i've added the commands below but i'm not seeing SNMP traps sent to our customer's SNMP servers 63.247.WW.XX and 63.247.YY.ZZ (still verifying with him). meanwhile, i tried to test SNMP using telnet to the router's WAN IP using ports 161 and 162 but it was refused. there's no ACL on both WAN and LAN ports. can someone help what if i'm missing anything here? thanks in advance!

snmp-server community SpecToo RO
snmp-server host 63.247.WW.XX SpecToo
snmp-server host 63.247.YY.ZZ SpecToo

----

1841#sh snmp
Chassis: FHK111819JD
27 SNMP packets input
    0 Bad SNMP version errors
    9 Unknown community name
    0 Illegal operation for community name supplied
    0 Encoding errors
    18 Number of requested variables
    0 Number of altered variables
    18 Get-request PDUs
    0 Get-next PDUs
    0 Set-request PDUs
    0 Input queue packet drops (Maximum queue size 1000)
18 SNMP packets output
    0 Too big errors (Maximum packet size 1500)
    0 No such name errors
    0 Bad values errors
    0 General errors
    18 Response PDUs
    0 Trap PDUs

SNMP logging: enabled
    Logging to 63.247.WW.XX.162, 0/10, 0 sent, 0 dropped.
    Logging to 63.247.YY.ZZ.162, 0/10, 0 sent, 0 dropped.


------


LINUX>telnet 203.120.AA.BB 161
Trying 203.120.AA.BB...
telnet: Unable to connect to remote host: Connection refused
LINUX>telnet 203.120.AA.BB 162
Trying 203.120.AA.BB...
telnet: Unable to connect to remote host: Connection refused


------

1841#sh run int f0/0
Building configuration...

Current configuration : 193 bytes
!
interface FastEthernet0/0
description Connection To ISP
bandwidth 2048
ip address 203.120.AA.BB 255.255.255.252
no ip route-cache cef
no ip route-cache
speed 100
full-duplex
end

1841#sh run int f0/1
Building configuration...

Current configuration : 188 bytes
!
interface FastEthernet0/1
description LAN Network
ip address 203.120.CC.DD 255.255.255.224
no ip route-cache cef
no ip route-cache
speed 100
full-duplex
no keepalive
end

2 Replies 2

johnlloyd_13
Level 9
Level 9

just an update. i've found the missing piece.

snmp-server enable traps

anyone who runs the same issue can refer URL below.

http://www.netcraftsmen.net/resources/archived-articles/370-configuring-snmp-in-cisco-routers.html

Hi,

Yes you're right this was the missing piece but:

LINUX>telnet 203.120.AA.BB 161

Is it working now? No it can't as SNMP = UDP and telnet =TCP

Regards.

Alain.

Don't forget to rate helpful posts.