For feedback and comments: |
documentation.feedback@alcatel-lucent.com |
Alcatel-Lucent routers are based on SNMPv3. To use the routers with SNMPv1 and/or SNMPv2c, SNMP community strings must be configured. Three pre-defined access methods are available when SNMPv1 or SNMPv2c access is required. Each access method (r, rw, or rwa) is associated with an SNMPv3 access group that determines the access privileges and the scope of managed objects available. The community command is used to associate a community string with a specific access method and the required SNMP version (SNMPv1 or SNMPv2c). The access methods are:If the predefined access groups do not meet your access requirements, then additional access groups and views can be configured. The usm-community command is used to associate an access group with an SNMPv1 or SNMPv2c community string.SNMP trap destinations are configured in the config>log>snmp-trap-group context.The OS implements SNMPv3. If security features other than the default views are required, then the following parameters must be configured:A:ALA-1>config>system>security>snmp# info detail----------------------------------------------view iso subtree 1mask ff type includedexitview no-security subtree 1mask ff type includedexitview no-security subtree 1.3.6.1.6.3mask ff type excludedexitview no-security subtree 1.3.6.1.6.3.10.2.1mask ff type includedexitview no-security subtree 1.3.6.1.6.3.11.2.1mask ff type includedexitview no-security subtree 1.3.6.1.6.3.15.1.1mask ff type includedexitaccess group snmp-ro security-model snmpv1 security-level no-auth-no-privacy read no-security notify no-securityaccess group snmp-ro security-model snmpv2c security-level no-auth-no-privacy read no-security notify no-securityaccess group snmp-rw security-model snmpv1 security-level no-auth-no-privacy read no-security write no-security notify no-securityaccess group snmp-rw security-model snmpv2c security-level no-auth-no-privacy read no-security write no-security notify no-securityaccess group snmp-rwa security-model snmpv1 security-level no-auth-no-privacy read iso write iso notify isoaccess group snmp-rwa security-model snmpv2c security-level no-auth-no-privacy read iso write iso notify isoaccess group snmp-trap security-model snmpv1 security-level no-auth-no-privacy notify isoaccess group snmp-trap security-model snmpv2c security-level no-auth-no-privacy notify isoattempts 20 time 5 lockout 10CLI Syntax: config>system>security>snmpCLI Syntax: config>system>security>snmp*A:cses-A13>config>system>security>snmp# info----------------------------------------------community "uTdc9j48PBRkxn5DcSjchk" hash2 rwa version bothcommunity "Lla.RtAyRW2" hash2 r version v2ccommunity "r0a159kIOfg" hash2 r version both----------------------------------------------*A:cses-A13>config>system>security>snmp#CLI Syntax: config>system>security>snmp*A:cses-A13>config>system>security>snmp# info----------------------------------------------view "testview" subtree "1"mask ffexitview "testview" subtree "1.3.6.1.2"mask ff type excludedexitcommunity "uTdc9j48PBRkxn5DcSjchk" hash2 rwa version bothcommunity "Lla.RtAyRW2" hash2 r version v2ccommunity "r0a159kIOfg" hash2 r version both----------------------------------------------*A:cses-A13>config>system>security>snmp#The access command creates an association between a user group, a security model and the views that the user group can access. Access must be configured unless security is limited to the preconfigured access groups and views for SNMPv1 and SNMPv2. An access group is defined by a unique combination of the group name, security model and security level.CLI Syntax: config>system>security>snmp*A:cses-A13>config>system>security>snmp# info----------------------------------------------view "testview" subtree "1"mask ffexitview "testview" subtree "1.3.6.1.2"mask ff type excludedexitaccess group "test" security-model usm security-level auth-no-privacy read "testview" write "testview" notify "testview"community "uTdc9j48PBRkxn5DcSjchk" hash2 rwa version bothcommunity "Lla.RtAyRW2" hash2 r version v2ccommunity "r0a159kIOfg" hash2 r version both----------------------------------------------*A:cses-A13>config>system>security>snmp#CLI Syntax: config>system>security# user user-namegroup group-nameA:ALA-1>config>system>security# info----------------------------------------------user "testuser"access snmpsnmpauthentication hash md5 e14672e71d3e96e7a1e19472527ee969 privacy nonegroup testgroupexitexit...----------------------------------------------A:ALA-1>config>system>security#CLI Syntax: config>system>security>snmpA:ALA-1>config>system>security>snmp# info----------------------------------------------view "testview" subtree "1"mask ffexitview "testview" subtree "1.3.6.1.2"mask ff type excludedexitaccess group "test" security-model usm security-level auth-no-privacy read "testview" write "testview" notify "testview"community "uTdc9j48PBRkxn5DcSjchk" hash2 rwa version bothcommunity "Lla.RtAyRW2" hash2 r version v2ccommunity "r0a159kIOfg" hash2 r version both----------------------------------------------A:ALA-1>config>system>security>snmp#CLI Syntax: config>system>snmpengineID engine-idgeneral-port portpacket-size bytesA:ALA-104>config>system>snmp# info detail----------------------------------------------shutdownengineID "0000xxxx000000000xxxxx00"packet-size 1500general-port 161----------------------------------------------A:ALA-104>config>system>snmp#