3com 8807 사용자 가이드
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
740
C
HAPTER
64: SNMP C
ONFIGURATION
By default, the contact information for system maintenance is "R&D Hangzhou,
3Com 3Com Technology Co., Ltd.", the physical location information is
"Hangzhou China", and the version is SNMPv1, SNMPv2C, and SNMPv3.
3Com 3Com Technology Co., Ltd.", the physical location information is
"Hangzhou China", and the version is SNMPv1, SNMPv2C, and SNMPv3.
Enabling/Disabling
SNMP Agent to Send
Trap
The managed device transmits trap without request to the Network Management
Station to report some critical and urgent events (such as restart).
Station to report some critical and urgent events (such as restart).
You can use the following commands to enable or disable the managed device to
send trap message.
send trap message.
Perform the following configuration in corresponding views.
By default, the current port or VLAN interface sends trap messages.
Setting the Destination
Address of Trap
You can use the following commands to set or delete the destination address of
the trap.
the trap.
Perform the following configuration in system view.
Table 679 Set the system information
Operation
Command
Set the system
information
information
snmp-agent sys-info { contact sysContact | location sysLocation |
version { { v1 | v2c | v3 }* | all } }
version { { v1 | v2c | v3 }* | all } }
Restore the default
information
information
undo snmp-agent sys-info { { contact | location }* | version { {
v1 | v2c | v3 }* | all } }
v1 | v2c | v3 }* | all } }
Table 680 Enable/disable SNMP Agent to send Trap
Operation
Command
Enable the sending of
trap(system view)
trap(system view)
snmp-agent trap enable [ standard [ authentication ] [
coldstart ] [ linkdown ] [ linkup ] | bgp [
backwardtransition ] [ established ] | vrrp [ authfailure
| newmaster ] ]
coldstart ] [ linkdown ] [ linkup ] | bgp [
backwardtransition ] [ established ] | vrrp [ authfailure
| newmaster ] ]
Disable the sending of
trap(system view)
trap(system view)
undo snmp-agent trap enable [ standard [
authentication ] [ coldstart ] [ linkdown ] [ linkup ] | bgp
[ backwardtransition ] [ established ] | vrrp [
authfailure | newmaster ] ]
authentication ] [ coldstart ] [ linkdown ] [ linkup ] | bgp
[ backwardtransition ] [ established ] | vrrp [
authfailure | newmaster ] ]
Enable the switch ports to send
SNMP trap messages (Ethernet
port view or VLAN interface
view)
SNMP trap messages (Ethernet
port view or VLAN interface
view)
enable snmp trap updown
Disable the switch port to send
SNMP trap messages (Ethernet
port view or VLAN interface
view)
SNMP trap messages (Ethernet
port view or VLAN interface
view)
undo enable snmp trap updown
Table 681 Set the destination address of trap
Operation
Command
Set the destination address
of trap
of trap
snmp-agent target-host trap address udp-domain
host-addr [ udp-port udp-port-number ] params
securityname securityname [ v1 | v2c | v3 [ authentication |
privacy ] ]
host-addr [ udp-port udp-port-number ] params
securityname securityname [ v1 | v2c | v3 [ authentication |
privacy ] ]