US Region

Grandmetric LLC
Lewes DE 19958
16192 Coastal Hwy USA
EIN: 98-1615498
+1 302 691 94 10

EMEA Region

ul. Metalowa 5, 60-118 Poznań, Poland
NIP 7792433527
+48 61 271 04 43


Grandmetric LTD
Office 584b
182-184 High Street North
E6 2JA
+44 20 3321 5276

  • en
  • pl
  • SNMP configuration example

    Design & Configure

    SNMP configuration example

    Technology: Management & Monitoring
    Area: SNMP
    Vendor: Cisco
    Software: 12.X , 15.X, IP Base, IP Services, LAN Base
    Platform: Catalyst 2960-X, Catalyst 3560, ISR Routers

    Simple Network Management Protocol allows network administrators to monitor the state of network devices. Devices use SNMP trap messages which are sent to the monitoring server which in turn can graph and analyze state of interfaces, routing protocols events, monitor thresholds for resources like CPU or memory. Another type of SNMP messages are SNMP GET and SET messages. With GET message you can configure the network monitoring servers (SNMP Servers) to pool the devices and retrieve current information like current cpu utilization or interface load. SET message allows to configure particular features of the device from monitoring and management server. Let’s take a look at SNMP configuration example.

    To enable SNMP traps, use below configuration. The, .2 and .3 are IP addresses of SNMP servers to which traps will be sent,  GML@BS is the community string that has to be common on SNMP servers and device.

    Router(config)#snmp-server enable traps
    Router(config)#snmp-server host GML@BS cpu
    Router(config)#snmp-server host GML@BS memory
    Router(config)#snmp-server host GML@BS ospf bgp

    To enable GET and SET messaging from servers you need to configure RO (for GET) and RW (for GET and SET) commands along with communities.

    Router(config)#snmp-server community GML@BS RO
    Router(config)#snmp-server community GML@BS RW


    Author: Marcin Bialy