SNMP

SNMP

MIB

  • The Management Information Base is a hierarchical database used by SNMP to manage and monitor network elements and devices
    • It follows a tree-structure, where each object is assigned an ObjectID (OID)
    • EXAMPLE: MIB (from Wikipedia)
    • MIB-1.png
      • the OID value of sysName could be identified with:
        • .1.3.6.1.2.1.1.5
        • .1.3.6.1.2.1.1.5.0

SNMPv3 Configuration

  1. Privilege Levels
    1. noauth
      1. NoAuthNoPriv - no security features
        1. Backwards compatible with SNMPv2
    2. auth
      1. AuthNoPriv - Password, no encryption
        1. Communication is authenticated with a password to ensure authenticity/data integrity
        2. No encryption (hence NoPrv)
    3. priv
      1. AuthPriv - Password and Encryption
        1. Authentication and encryption ensure confidentiality, integrity, and authenticity
  2. Create a group and set permissions
    1. config# snmp-server group <group name> v3 <noauth|auth|priv> {access <ACL name> context <VLANs> read <read view> write <write view> notify <notify view>}
      1. access
        1. Limit access to a specific ACL
      2. context
        1. Identify which VLANs are accessible via SNMP
      3. read/write/notify (views of the MIB tree)
        1. Read
          1. What the group can read
        2. Write
          1. What the group can modify
        3. Notify
          1. Which view the group receives TRAP/INFORM messages for
  3. Configure a user and assign it to a group
    1. config# snmp-server user <user name> <name of assigned group> v3 auth <md5|sha> <Auth password> priv <des|3des|aes> <encryption bit level> <Encryption password>

SNMP Out-of-Scope

This is likely out of scope, but might come up. More info: SNMP Version 3 - Server Config - Cisco

Metadata

OSI or TCP/IP Layer

CCNA Exam Topic

#extop-4-4

Contributors

Sources