SNMP

SNMP

SNMP

  1. Config
    1. Snmp-server
    2. Ip access-list standard ACL
      1. Permit host 10.1.3.3
    3. Snmp-server community <community> RO ACL
    4. Snmp-server community <community> RW ACL
    5. Snmp-server location LA
    6. Snmp-server contact EI
    7. #
    8. Snmp-server enable traps
    9. Snmp-server host 10.1.3.3 version 2c <community>
    10. Snmp-server host 10.1.3.4 informs version 2c <community>
    11. Snmp-server host 10.1.3.3 version 3 noauth|auth|priv <user> <community>
    12. Snmp-server host 10.1.3.4 informs version 2c <community>
    13.  
  2. Verification
    1. Show snmp
      1. Chassis, contact, location, statics,
    2. Show snmp community
      1. Community name, index, security name, storage type, active acl
    3. Show snmp location
    4. Show snmp contact
    5. Show snmp host
      1. Host, port, user, version, type trap
    6. Show snmp user
      1. User name, uath protocol, privacy protocl, group name
    7. Show snmp group
      1. Group , v3 no auth, v1default, acl,
  3. Config snmpv3
    1. Snmp-server group <name> v3 {noauth | auth | priv} write acl

Command

Keyword

Check integrity

Autentication

Encryption

Noauth

noAuthNoPriv

Yes

No

No

Auth

authNoPriv

Yes

Yes

No

Priv

Priv

Yes

Yes

Yes

  1. Snmp-server group gp1 v3 no auth
  2. Snmp-server user usr1 gp1 v3
  3. #
  4. Snmp-server group gp1 v3 auth
  5. Snmp-server user usr1 gp1 v3 auth md5 pass
  6. #
  7. Snmp-server group gp1 v3 priv
  8. Snmp-server user usr1 gp1 v3 auth md5 pass priv 3des|des|aes128,192,256 privpass
Back To Top
Theme Mode