1-4
To do…
Use the command…
Remarks
Add a new user to an SNMP
agent group
snmp-agent usm-user
v3
user-name
group-name
[ [
cipher
]
authentication-mode
{
md5
|
sha
}
auth-password
[
privacy-mode
{
3des
|
aes128
|
des56
}
priv-password
] ] [
acl
acl-number
]
Required
If the
cipher
keyword is
specified, the arguments
auth-password
and
priv-password
are considered
as cipher text passwords.
Configure the maximum size of
an SNMP packet that can be
received or sent by an SNMP
agent
snmp-agent packet max-size
byte
-
count
Optional
1,500 bytes by default.
Follow these steps to configure SNMPv1 and SNMPv2c:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable the SNMP agent
snmp-agent
Optional
Disabled by default
You can enable the SNMP
agent through this command or
any commands that begin with
snmp-agent
.
Configure SNMP agent system
information
snmp-agent sys-info
{
contact
sys-contact
|
location
sys-location
|
version
{ {
v1
|
v2c
|
v3
}*
|
all
} }
Required
The defaults are as follows:
3Com Corporation. for contact;
Marlborough, MA 01752 USA
for location, and SNMP v3 for
the version.
Configure a local engine ID for
an SNMP entity
snmp-agent local-engineid
engineid
Optional
Company ID and device ID by
default.
Create or update MIB view
content for an SNMP agent
snmp-agent mib-view
{
excluded
|
included
}
view
-
name
oid
-
tree
[
mask
mask-value
]
Optional
The MIB view name is
ViewDefault and OID is 1 by
default.
Configur
e
directly
Create
an
SNMP
commun
ity
snmp-agent community
{
read
|
write
}
community
-
name
[
acl
acl-number
|
mib-view
view-name
]*
Configur
e an
SNMP
group
snmp-agent group
{
v1
|
v2c
}
group-name
[
read-view
read-view
] [
write-view
write-view
] [
notify-view
notify-view
] [
acl
acl-number
]
Configur
e SNMP
NMS
access
right
Configur
e
indirectl
y
Add a
user to
an
SNMP
group
snmp-agent usm-user
{
v1
|
v2c
}
user-name
group-name
[
acl
acl-number
]
Use either approach.
Both commands can be used to
configure SNMP NMS access
rights. The second command
was introduced to be
compatible with SNMPv3.
The community name
configured on the NMS should
be consistent with the
username configured on the
agent.
Содержание S7906E - Switch
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45...
Страница 598: ...ii...
Страница 1757: ...4 9...
Страница 1770: ...6 4...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20...