SNMP
-
Config
- Snmp-server
-
Ip access-list standard ACL
- Permit host 10.1.3.3
- Snmp-server community <community> RO ACL
- Snmp-server community <community> RW ACL
- Snmp-server location LA
- Snmp-server contact EI
- #
- Snmp-server enable traps
- Snmp-server host 10.1.3.3 version 2c <community>
- Snmp-server host 10.1.3.4 informs version 2c <community>
- Snmp-server host 10.1.3.3 version 3 noauth|auth|priv <user> <community>
- Snmp-server host 10.1.3.4 informs version 2c <community>
-
Verification
-
Show snmp
- Chassis, contact, location, statics,
-
Show snmp community
- Community name, index, security name, storage type, active acl
- Show snmp location
- Show snmp contact
-
Show snmp host
- Host, port, user, version, type trap
-
Show snmp user
- User name, uath protocol, privacy protocl, group name
-
Show snmp group
- Group , v3 no auth, v1default, acl,
-
-
Config snmpv3
- 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 |
- Snmp-server group gp1 v3 no auth
- Snmp-server user usr1 gp1 v3
- #
- Snmp-server group gp1 v3 auth
- Snmp-server user usr1 gp1 v3 auth md5 pass
- #
- Snmp-server group gp1 v3 priv
- Snmp-server user usr1 gp1 v3 auth md5 pass priv 3des|des|aes128,192,256 privpass