Chapter 40: SNMP Commands

Controls access to this switch from management stations using the Simple Network Management Protocol (SNMP), as well as the error types sent to trap managers.

SNMP Version 3 also provides security features that cover message integrity, authentication, and encryption; as well as controlling user access to specific areas of the MIB tree. To use SNMPv3, first set an SNMP engine ID (or accept the default), specify read and write access views for the MIB tree, configure SNMP user groups with the required security model (i.e., SNMP v1, v2c or v3) and security level (i.e., authentication and privacy), and then assign SNMP users to these groups, along with their specific authentication and privacy passwords.

Table 40-1 SNMP Commands

Command

Function

Mode

Page

 

 

 

 

snmp-server

Enables the SNMP agent

GC

40-2

 

 

 

 

show snmp

Displays the status of SNMP communications

NE, PE

40-2

 

 

 

 

snmp-server community

Sets up the community access string to permit access to

GC

40-3

 

SNMP commands

 

 

snmp-server contact

Sets the system contact string

GC

40-4

 

 

 

 

snmp-server location

Sets the system location string

GC

40-4

 

 

 

 

snmp-server host

Specifies the recipient of an SNMP notification operation

GC

40-5

 

 

 

 

snmp-server enable traps

Enables the device to send SNMP traps (i.e., SNMP

GC

40-7

 

notifications)

 

 

snmp-server engine-id

Sets the SNMP engine ID

GC

40-8

 

 

 

 

show snmp engine-id

Shows the SNMP engine ID

PE

40-9

 

 

 

 

snmp-server view

Adds an SNMP view

GC

40-10

 

 

 

 

show snmp view

Shows the SNMP views

PE

40-11

 

 

 

 

snmp-server group

Adds an SNMP group, mapping users to views

GC

40-11

 

 

 

 

show snmp group

Shows the SNMP groups

PE

40-13

 

 

 

 

snmp-server user

Adds a user to an SNMP group

GC

40-14

 

 

 

 

show snmp user

Shows the SNMP users

PE

40-15

 

 

 

 

40-1

Page 337
Image 337
Accton Technology ES4524D, ES4548D, 24/48-Port manual Snmp Commands Function Mode