3Com 5500 Switch User Manual


 
268 CHAPTER 30: SNMP-RMON CONFIGURATION GUIDE
# For SNMPv3, set the SNMPv3 group and user, set the security level to
authentication with privacy, authentication protocol to HMAC-MD5,
authentication password to passmd5, encryption protocol to DES, and encryption
password to cfb128cfb128.
[3Com] snmp-agent group v3 managev3group privacy write-view internet
[3Com] snmp-agent usm-user v3 managev3user managev3group authenticat
ion-mode md5 passmd5 privacy-mode des56 cfb128cfb128
# Configure the IP address of VLAN-interface 2 as 10.10.10.2. Add the port
Ethernet 1/0/2 to VLAN 2.
[3Com] vlan 2
[3Com-vlan2] port Ethernet 1/0/2
[3Com-vlan2] quit
[3Com] interface Vlan-interface 2
[3Com-Vlan-interface2] ip address 10.10.10.2 255.255.255.0
[3Com-Vlan-interface2] quit
# Enable the sending of Traps to the NMS with an IP address of 10.10.10.1, using
public as the community name.
[3Com] snmp-agent trap enable standard authentication
[3Com] snmp-agent trap enable standard coldstart
[3Com] snmp-agent trap enable standard linkup
[3Com] snmp-agent trap enable standard linkdown
[3Com] snmp-agent target-host trap address udp-domain 10.10.10.1 udp
-port 5000 params securityname public
Configuring the NMS
The Switch 5500 supports 3Com’s network management products. SNMPv3
adopts username and password authentication. When you use 3Com’s network
management products, you need to set usernames and choose the security level.
For each security level, you need to set authorization mode, authorization
password, privacy mode, privacy password, and so on. In addition, you need to set
timeout time and maximum retry times.
You can query and configure an Ethernet switch through the NMS.
Complete Configuration
#
snmp-agent
snmp-agent local-switch fabricid 800007DB00E0FC0000206877
snmp-agent community read public
snmp-agent community write private
snmp-agent sys-info version all
snmp-agent group v3 managev3group privacy write-view internet
snmp-agent target-host trap address udp-domain 10.10.10.1 udp-port
5000 params securityname public
snmp-agent mib-view included internet internet
snmp-agent usm-user v3 managev3user managev3group authentication-mo
de md5 passmd5 privacy-mode des56 cfb128cfb128
Precautions Authentication-related configuration on an NMS must be consistent with that on
the devices for the NMS to manage the devices successfully.