SNMP Configuration Introduction 571
Configuration Procedure
1Enter the System View.
<SW5500> system-view
2Set the community name , group name and user.
[SW5500]snmp-agent sys-info version all
[SW5500]snmp-agent community write public
[SW5500]snmp-agent mib include internet 1.3.6.1
[SW5500]snmp-agent group v3 managev3group write-view internet
[SW5500]snmp-agent usm v3 managev3user managev3group
3Set the VLAN interface 2 as the interface used by network management. Add port
Ethernet 1/0/3 to the VLAN 2. This port will be used for network management. set
the IP address of VLAN interface 2 as 129.102.0.1.
[SW5500]vlan 2
[SW5500-vlan2]port ethernet 1/0/3
[SW5500-vlan2]interface vlan 2
[SW5500-Vlan-interface2]ip address 129.102.0.1 255.255.255.0
4Set the administrator ID, contact and the physical location of the Switch.
[SW5500]snmp-agent sys-info contact Mr.Wang-Tel:3306
[SW5500]snmp-agent sys-info location telephone-closet,3rd-floor
5Enable SNMP agent to send the trap to Network Management Station whose ip
address is 129.102.149.23. The SNMP community is public.
[SW5500]snmp-agent trap enable standard authentication
[SW5500]snmp-agent trap enable standard coldstart
[SW5500]snmp-agent trap enable standard linkup
[SW5500]snmp-agent trap enable standard linkdown
[SW5500]snmp-agent target-host trap address udp-domain 129.102.149.23
udp-port 5000 params securityname public
Configure Network Management System
The Switch supports 3Com Network Director. Users can query and configure the
Switch through the network management system. For more information, refer to the
network management user documentation.
Reading Usmusr Table
Configuration Example
Networking requirements
ViewDefault view should be reconfigured if you use SNMP V3 to read the usmusr
table.
The snmpVacmMIB and snmpUsmMIB should be included in ViewDefault view.