SNMP Commands Set. AMG AMG9162M-H


Add to my manuals
121 Pages

advertisement

SNMP Commands Set. AMG AMG9162M-H | Manualzz

[MAC] show mac-address-table P

Show all MAC address switch#show mac-address-table table

show mac-address-table static

P

Show static MAC address table switch#show mac-address-table

static show mac-address-table filter no mac-address-table static hwaddr

[MAC] no mac-address-table filter hwaddr

[MAC] no mac-address-table

P

I

Show filter MAC address table.

Remove an entry of

MAC address table of interface (static)

G

Remove an entry of

MAC address table

(filter) switch#show mac-address-table

filter

switch(config)#interface

fastEthernet 2

switch(config-if)#no mac-address-

table static hwaddr

000012345678

switch(config)#no mac-address-

table filter hwaddr 000012348678

G

Remove dynamic entry of MAC address switch(config)#no mac-address-

table

table

SNMP Commands Set

Commands snmp system-name

[System Name] snmp system-location

[System Location] snmp system-contact

[System Contact] snmp agent-mode

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

[RO/RW]

Level Description

G

Set SNMP agent system name

Example

switch(config)#snmp system-

name l2switch

G

Set SNMP agent system location

G

Set SNMP agent system contact switch(config)#snmp system-

location lab

switch(config)#snmp system-

contact where

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

35

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

Password] [Privacy

Password] snmpv3 access contextname [Context Name ] group

[Group Name ] securitylevel

[NoAuthNoPriv|AuthNoP riv|AuthPriv] match-rule

[Exact|Prifix] views

[Read View Name]

[Write View Name]

[Notify View Name] snmpv3 mibview view

[View Name] type

G

G

Configure the context

G

Configure the userprofile for

G

Configure SNMP server host information and community string name

SNMPV3 agent.

Privacy password could be empty.

Configure the access table of SNMPV3 agent switch(config)#snmp-server host

192.168.1.50 community public trap-version v1

(remove)

Switch(config)#

no snmp-server host

192.168.1.50

switch(config)#snmpv3 context-

name Test

switch(config)#snmpv3 user

test01 group G1 password

AuthPW PrivPW

switch(config)#snmpv3 access

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

G

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

view V1 type Excluded sub-oid

1.3.6.1

36

[Excluded|Included] sub-oid

[OID] show snmp no snmp communitystrings [Community] no snmp-server host

[Host-address] no snmpv3 user

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

Name ] group

[Group Name ] securitylevel

[NoAuthNoPriv|AuthNoP riv|AuthPriv] 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]

P

Show SNMP configuration

G

Remove the SNMP server host.

G

Remove specified user of SNMPv3 agent.

switch#show snmp

G

Remove the specified community.

switch(config)#no snmp

community-strings public

switch(config)#no snmp-server

192.168.1.50

switch(config)#no snmpv3 user

Test

G

Remove specified access table of

SNMPv3 agent.

G

Remove specified mibview table of

SNMPV3 agent.

switch(config)#no snmpv3 access

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

V1

switch(config)#no snmpv3

mibview view V1 type Excluded sub-oid 1.3.6.1

37

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents