Cisco Systems WSC2960X24TDL snmp-server engineID remote ip-address engineid-string, Summary Steps

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 70
Image 70
2.snmp-server engineID remote ip-addressengineid-string

Configuring Simple Network Management Protocol

Configuring SNMP Notifications

SUMMARY STEPS

1.configure terminal

2.snmp-server engineID remote ip-addressengineid-string

3.snmp-server user username group-name{remote host [ udp-port port]} {v1 [access access-list] v2c [access access-list] v3 [encrypted] [access access-list] [auth {md5 sha} auth-password] }

4.snmp-server group group-name{v1 v2c v3 {auth noauth priv}} [read readview] [write writeview] [notify notifyview] [access access-list]

5.snmp-server host host-addr[informs traps] [version {1 2c 3 {auth noauth priv}}] community-string[notification-type]

6.snmp-server enable traps notification-types

7.snmp-server trap-source interface-id

8.snmp-server queue-length length

9.snmp-server trap-timeout seconds

10.end

DETAILED STEPS

 

Command or Action

Purpose

Step 1

configure terminal

Enters the global configuration mode.

 

Example:

 

 

Switch# configure terminal

 

Step 2

snmp-server engineID remote ip-address

Specifies the engine ID for the remote host.

 

engineid-string

 

Example:

Switch(config)# snmp-server engineID remote 192.180.1.27 00000063000100a1c0b4011b

Step 3 snmp-server user username group-name{remote

host [ udp-portport]} {v1 [access access-list]

v2c [access access-list] v3 [encrypted] [access

access-list] [auth {md5 sha} auth-password] }

Example:

Switch(config)# snmp-server user Pat public v2c

Configures an SNMP user to be associated with the remote host created in Step 2.

Note You cannot configure a remote user for an address without first configuring the engine ID for the remote host. Otherwise, you receive an error message, and the command is not executed.

Step 4

snmp-server group group-name{v1 v2c v3

Configures an SNMP group.

 

{auth noauth priv}} [read readview] [write

 

 

writeview] [notify notifyview] [access access-list]

 

Example:

Switch(config)# snmp-server group public v2c access lmnop

 

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX

58

OL-29044-01

Page 70
Image 70
Cisco Systems WSC2960X24TDL snmp-server engineID remote ip-address engineid-string, snmp-server trap-source interface-id