10-20
z
all
: Specifies SNMPv1, SNMPv2c, and SNMPv3.
z
v1
: SNMPv1.
z
v2c
: SNMPv2c.
z
v3
: SNMPv3.
Description
Use the
snmp-agent sys-info
command to configure system information, including the contact
information, the location, and the SNMP version in use.
Use the
undo snmp-agent sys-info contact
and
undo snmp-agent sys-info location
command to
restore the default.
Use the
undo snmp-agent sys-info version
command to disable use of the SNMP function of the
specified version.
By default, the location information is Marlborough, MA 01752 USA, version is SNMPv3, and the
contact is 3Com Corporation.
The device can process the SNMP packets of the corresponding version only if SNMP of a specific
version is enabled. If SNMPv1 is enabled, the device will drop the received SNMPv2c packets; if
SNMPv2c is enabled, the device will drop the received SNMPv1 packets. To enable the device to
communicate with different NMSs, you can enable SNMP of different versions on a device.
Related commands:
display snmp-agent sys-info
.
Network maintenance engineers can use the system contact information to get in touch with the
manufacturer in case of network failures. The system location information is a management variable
under the system branch as defined in RFC1213-MIB, identifying the location of the managed object.
Examples
# Configure the contact information as “Dial System Operator at beeper # 27345”.
<Sysname> system-view
[Sysname] snmp-agent sys-info contact Dial System Operator at beeper # 27345
snmp-agent target-host
Syntax
snmp-agent target-host trap address udp-domain
{
ip-address
|
ipv6
ipv6-address
} [
udp-port
port-number
]
params securityname
security-string
[
v1
|
v2c
|
v3
[
authentication
|
privacy
] ]
undo
snmp-agent
target-host trap
address
udp-domain
{
ip-address
|
ipv6
ipv6-address
}
params
securityname security-string
View
System view
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...