Command Set Lists

 

 

 

 

 

 

 

community

 

 

(remove)

 

 

[Community-string]

 

 

switch(config)#

 

 

trap-version

 

 

no snmp-server host

 

 

[v1v2c]

 

 

192.168.1.50

 

 

snmpv3 context-name

G

Configure the context

switch(config)#snmpv3 context-name

 

 

[Context Name ]

 

name

Test

 

 

snmpv3 user

G

Configure the userprofile

switch(config)#snmpv3 user test01

 

 

[User Name]

 

for SNMPV3 agent.

group G1 password AuthPW PrivPW

 

 

group

 

Privacy password could

 

 

 

[Group Name]

 

be empty.

 

 

 

password

 

 

 

 

 

[Authentication Password]

 

 

 

 

 

[Privacy Password]

 

 

 

 

 

snmpv3 access

G

Configure the access

switch(config)#snmpv3 access

 

 

context-name [Context

 

table of SNMPV3 agent

context-name Test group G1

 

 

Name ]

 

 

security-level AuthPriv

 

 

group

 

 

match-rule Exact views V1 V1 V1

 

 

[Group Name ]

 

 

 

 

 

security-level

 

 

 

 

 

[NoAuthNoPrivAuthNoPriv

 

 

 

 

 

AuthPriv]

 

 

 

 

 

match-rule

 

 

 

 

 

[ExactPrifix]

 

 

 

 

 

views

 

 

 

 

 

[Read View Name] [Write

 

 

 

 

 

View Name] [Notify View

 

 

 

 

 

Name]

 

 

 

 

 

snmpv3 mibview view

G

Configure the mibview

switch(config)#snmpv3 mibview view

 

 

[View Name]

 

table of SNMPV3 agent

V1 type Excluded sub-oid 1.3.6.1

 

 

type

 

 

 

 

 

[ExcludedIncluded]

 

 

 

 

 

sub-oid

 

 

 

 

 

[OID]

 

 

 

 

 

show snmp

P

Show SNMP

switch#show snmp

 

 

 

 

configuration

 

 

 

no snmp community-strings

G

Remove the specified

switch(config)#no snmp

 

 

[Community]

 

community.

community-strings public

 

 

no snmp-server host

G

Remove the SNMP server

switch(config)#no snmp-server host

 

 

[Host-address]

 

host.

192.168.1.50

 

 

no snmpv3 user

G

Remove specified user of

switch(config)#no snmpv3 user Test

 

 

[User Name]

 

SNMPv3 agent.

 

 

 

no snmpv3 access

G

Remove specified access

switch(config)#no snmpv3 access

 

 

context-name [Context

 

table of SNMPv3 agent.

context-name Test group G1

 

 

Name ]

 

 

security-level AuthPr

 

 

group

 

 

iv match-rule Exact views V1 V1 V1

 

 

[Group Name ]

 

 

 

 

 

security-level

 

 

 

 

 

[NoAuthNoPrivAuthNoPriv

 

 

 

 

 

AuthPriv]

 

 

 

 

 

match-rule

 

 

 

 

 

[ExactPrifix]

 

 

 

 

 

views

 

 

 

 

 

[Read View Name] [Write

 

 

 

 

C-9

Page 71
Image 71
Husky HME-423E Remove, No snmp-server host, 192.168.1.50, Switchconfig#snmpv3 context-name, Test, Security-level AuthPriv