1-4
To do…
Use the command…
Remarks
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
Configure the engine ID for a
local SNMP agent
snmp-agent local-engineid
engineid
Optional
Company ID and device ID by
default
Create or update the MIB view
content for an SNMP agent
snmp-agent mib-view
{
excluded
|
included
}
view
-
name
oid
-
tree
[
mask
mask-value
]
Optional
MIB view name is ViewDefault
and OID is 1 by default.
Follow these steps to configure SNMPv1 and SNMPv2c:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable SNMP agent
snmp-agent
Optional
Disabled by default
You can enable 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.
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
new
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 NMS should be
consistent with the username
configured on the agent.
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
1500 bytes by default
Configure the engine ID for a
local SNMP agent
snmp-agent local-engineid
engineid
Optional
Company ID and device ID by
default
Содержание 4500G PWR 24-Port
Страница 200: ...1 5 ProviderB GigabitEthernet1 0 2 undo stp enable ProviderB GigabitEthernet1 0 2 bpdu tunnel dot1q stp ...
Страница 252: ...1 7 Clearing ARP entries from the ARP table may cause communication failures ...
Страница 362: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1 ...
Страница 407: ...1 8 1 1 ms 1 ms 1 ms 1 1 6 1 2 1 ms 1 ms 1 ms 1 1 4 1 3 1 ms 1 ms 1 ms 1 1 2 2 Trace complete ...
Страница 786: ...1 16 3 In the case of PIM SM use the display current configuration command to check the BSR and RP information ...
Страница 1387: ...1 23 ...
Страница 1443: ...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 ...
Страница 1720: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5 ...