EKI-4654R User Manual - Login

Add to My manuals
165 Pages

advertisement

EKI-4654R User Manual - Login | Manualzz

SNMP Commands Set

Netstar Commands Level snmp system-name

[System Name] snmp system-location

[System Location] snmp system-contact

[System Contact] snmp agent-mode

[v1v2c|v3|v1v2cv3] snmp communitystrings [Community]

Description

G

Set SNMP agent

G

system name

Set SNMP agent system location

Example

switch(config)#snmp system-

name l2switch

switch(config)#snmp system-

location lab

switch(config)#snmp system-

contact where

G

Set SNMP agent system contact

G

Select the agent mode switch(config)#snmp agent-mode of SNMP

v1v2cv3

G

Add SNMP community switch(config)#snmp community- string.

strings public right rw right

[RO/RW] snmp-server host

[IP address] community

[Community-string] trap-version

[v1|v2c] snmpv3 context-name

[Context Name ] snmpv3 user

[User Name] group

[Group Name] password

[Authentication

G

Configure SNMP switch(config)#snmp-server host server host information

192.168.1.50 community public

and community string

trap-version v1

(remove)

G

Configure the context name

Switch(config)#no snmp-server

host 192.168.1.50

switch(config)#snmpv3 context-

name Test

switch(config)#snmpv3 user

G

Configure the user profile for SNMPV3 agent. Privacy password could be empty.

test01 group G1 password

AuthPW PrivPW

Password] [Privacy

Password] snmpv3 access context-name

Name ]

[Context

G

Configure the access table of SNMPV3 agent switch(config)#snmpv3 access

context-name Test group G1 security-level AuthPriv

138

group

[Group Name ] security-level

[NoAuthNoPriv|AuthNo

Priv|AuthPriv] match-rule

[Exact|Prifix] views

[Read View Name]

[Write View Name]

[Notify View Name] snmpv3 mibview view

[View Name] type

[Excluded|Included] sub-oid

[OID] show snmp no snmp communitystrings [Community]

[Group Name ] security-level

[NoAuthNoPriv|AuthNo

Priv|AuthPriv] no snmp-server host

[Host-address] no snmpv3 user

[User Name] no snmpv3 access context-name [Context

Name ] group match-rule Exact views V1 V1 V1

G

Configure the mibview switch(config)#snmpv3 mibview table of SNMPV3

view V1 type Excluded sub-oid

agent

1.3.6.1

P

Show SNMP configuration

G

G

Remove the specified community.

Remove the SNMP server host. switch(config)#no snmp

community-strings public

switch(config)#no snmp-server

host 192.168.1.50

G

Remove specified user switch(config)#no snmpv3 user of SNMPv3 agent.

Test

G

Remove specified access table of

SNMPv3 agent. switch#show snmp switch(config)#no snmpv3 access

context-name Test group G1 security-level AuthPr iv match-rule Exact views V1 V1

V1

139

match-rule

[Exact|Prifix] views

[Read View Name]

[Write View Name]

[Notify View Name] no snmpv3 mibview view

[View Name] type

[Excluded|Included] sub-oid

[OID]

G

Remove specified mibview table of

SNMPV3 agent. switch(config)#no snmpv3

mibview view V1 type Excluded sub-oid 1.3.6.1

140

advertisement

Related manuals

advertisement

Table of contents