TMS zl Management and Configuration Guide ST.1.2.100916

A-112
Command-Line Reference
Global Configuration Context
Note You can only enable one version of SNMP at a time—either SNMPv2 or
SNMPv3. This meant that when you enable SNMPv2, SNMPv3 is automatically
disabled.
To configure SNMPv2 communities and set access rights, enter the following
command:
Syntax: [no] snmpv2 server community <community name>
[ < operator | manager > | <restricted | unrestricted> ]
Replace <community name> with the name that you want to assign to the
SNMPv2 community.
For example, to create a community called “private” for restricted manager
access, enter the following command:
hostswitch(tms-module-<slot ID>:config)# snmpv2 server
community private manager restricted
snmpv3
This command configures SNMPv3 settings. With this command, you can:
Enable (or disable) SNMPv3
Configure users
Configure the authentication algorithm and passphrase
Configure privacy algorithm and passphrase
To enable (or disable) SNMPv3, enter the following command:
Syntax: [no] snmpv3 server enable
Note You can only enable one version of SNMP at a time—either SNMPv2 or
SNMPv3. This meant that when you enable SNMPv3, SNMPv2 is automatically
disabled.
To configure SNMPv3 users and set authentication and privacy settings, enter
the following command:
Syntax: [no] snmpv3 server user <username> < manager | operator > auth
< md5 | sha > <authentication passphrase> privacy < aes | des > <privacy
passphrase>
Replace <user> with the name of the SNMPv3 user.