Configuring Snmpv3 From The Cli - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Configuring SNMPv3 from the CLI

Console> (enable) show snmp ifalias 1
ifIndex
---------- -------------------- ---------------------------------
1
Console> (enable)
Configuring SNMPv3 from the CLI
This section provides very basic SNMP v3 configuration information. For detailed information on the
Note
SNMP commands that are supported by the Catalyst enterprise LAN switches, refer to the
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Command
Reference.
To configure SNMPv3 from the CLI, perform this task in privileged mode:
Task
Step 1
Set the SNMP-Server EngineID
name for the local SNMP engine.
Step 2
Configure the MIB views.
Step 3
Set the access rights for a group
with a certain security model in
different security levels.
Step 4
Specify the target addresses for
notifications.
Step 5
Set the snmpTargetAddrEntry in
the target address table.
Step 6
Set the SNMP parameters that are
used to generate a message to a
target.
Step 7
Configure a new user.
Step 8
Relate a user to a group using a
specified security model.
Step 9
Configure the community table for
the system default part, which maps
community strings of previous
versions of SNMP to SNMPv3.
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
24-14
ifName
ifAlias
sc0
Inband port
Command
set snmp engineid engineid
set snmp view [-hex] {viewname} {subtree} [mask] [included |
excluded] [volatile | nonvolatile]
set snmp access [-hex] {groupname} {security-model v3}
{noauthentication | authentication | privacy} [read [-hex]
{readview}] [write [-hex] {writeview}] [notify [-hex]
{notifyview}] [context [-hex] {contextname} [exact | prefix]]
[volatile | nonvolatile]
set snmp notify [-hex] {notifyname} tag [-hex] {notifytag}
[trap | inform] [volatile | nonvolatile]
set snmp targetaddr [-hex] {addrname} param [-hex]
{paramsname} {ipaddr} [udpport {port}] [timeout {value}]
[retries {value}] [volatile | nonvolatile] [taglist {[-hex] tag}
[[-hex] tag]]
set snmp targetparams [-hex] {paramsname} user [-hex]
{username} {security-model v3} {message-processing v3}
{noauthentication | authentication | privacy} [volatile |
nonvolatile]
set snmp user [-hex] {username} [remote {engineid}]
[{authentication [md5 | sha] {authpassword}] [privacy
{privpassword}] [volatile | nonvolatile]
set snmp group [-hex] {groupname} user [-hex] {username}
{security-model v1 | v2 | v3} [volatile | nonvolatile]
set snmp community {access_type} [community_string]
{access_type = read-only | read-write | read-write-all}
Chapter 24
Configuring SNMP
78-15908-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents