Snmp commands, Table 4-21 – LevelOne FGL-2870 User Manual

Page 453

Advertising
background image

SNMP Commands

4-87

4

Example

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.

Console#show upnp
UPnP global settings:
Status: Enabled
Advertise duration: 200
TTL: 20
Console#

Table 4-21 SNMP Commands

Command

Function

Mode

Page

General SNMP Commands
snmp-server

Enables the SNMP agent

GC

4-88

show snmp

Displays the status of SNMP communications

NE, PE

4-89

snmp-server community Sets up the community access string to permit access to

SNMP commands

GC

4-90

snmp-server contact

Sets the system contact string

GC

4-90

snmp-server location

Sets the system location string

GC

4-91

SNMP Target Host Commands
snmp-server host

Specifies the recipient of an SNMP notification operation

GC

4-92

snmp-server enable traps Enables the device to send SNMP traps (i.e., SNMP

notifications)

GC

4-94

SNMPv3 Commands
snmp-server engine-id

Sets the SNMPv3 engine ID

GC

4-95

show snmp engine-id

Shows the SNMPv3 engine ID

PE

4-96

snmp-server view

Adds an SNMPv3 view

GC

4-96

show snmp view

Shows the SNMPv3 views

PE

4-97

snmp-server group

Adds an SNMPv3 group, mapping users to views

GC

4-98

show snmp group

Shows the SNMPv3 groups

PE

4-99

snmp-server user

Adds a user to an SNMPv3 group

GC

4-100

show snmp user

Shows the SNMPv3 users

PE

4-101

Advertising