SNMP Configuration on Cisco Routers - :

SNMP Configuration on Cisco Routers

Author: gokhankosem, on 30 Mar 12 - 0 Comments
Content Protection by
SNMP Configuration Commands for Cisco Routers

        There are a number of commands can be used to configure SNMP on a Cisco device. Some of these commands are required although some are optional. The required ones are mentioned below:

Router(config)# snmp-server community string [view view-name] [ro | rw] [number]

Router(config)# snmp-server group [groupname {v1 | v2c |v3 [auth | noauth | priv]}] [read readview] [write writeview] [notify notifyview] [access access-list]

Router(config)# snmp-server engineID remote remote-ip-addr remote-engineID

Router(config)# snmp-server user username groupname [remote host [udp-port port] {v1 | v2c | v3 [encrypted] [auth {md5 | sha} auth-password]} [access access-list]

SNMP Manager Configuration
        As an SNMP Manager router request to SNMP Agents and received responses and notifications from them. Normally routers accept SNMP requests and send SNMP responses and notifications. With SNMP Manager functionality router gains sending SNMP requests and receiving SNMP responses and notifications.

        By default SNMP requests and responses use UDP 161 port and SNMP notifications are sent to UDP 162 port.

        During timeout period if ther eis no further communication between SNMP Agent and SNMP Manager, the session timeout. Here the timeout value is important. It consumes memory, so it must ve set to the optimum value. Not too short to make the session prematurely closed and not too large to prevent purging irregular used expeditiously.

Router(config)# snmp-server manager
Router(config)# snmp-server manager session-timeout seconds

        To verify;

Router# show snmp

Router# show snmp sessions [brief]

Router# show snmp pending

        To be continued…

About the Author
Gokhan Kosem is a telecommunation and network engineer. His ambition to IP networks and end-to-end system installation made him to prepare this web-site. By sharing his experiences about various networking protocols beside different system installation experiences and Cisco, Juniper, Alcatel-Lucent devices configurations, he is aimed to be helpful for his collegues in all over the world. He is currently lives in Istanbul, Turkey.

Leave a Reply

 Copy Protected by Chetan's WP-Copyprotect.