3Com Switch 8800 Advanced Software V5 Configuration Guide
SNMP Configuration Examples 1055
[Sysname] snmp-agent community read public
[Sysname] snmp-agent community write private
[Sysname] snmp-agent mib-view include internet 1.3.6.1
[Sysname] snmp-agent group v3 managev3group write-view internet
[Sysname] snmp-agent usm-user v3 managev3user managev3group
# Configure VLAN-interface 2 (with the IP address of 129.102.0.1/16) for network
management. Add port Ethernet 2/1/3 used for network management to VLAN 2.
[Sysname] vlan 2
[Sysname-vlan2] port ethernet 2/1/3
[Sysname-vlan2] interface Vlan-interface 2
[Sysname-Vlan-interface2] ip address 129.102.0.1 255.255.0.0
[Sysname-Vlan-interface2] quit
# Configure the system information of the switch.
[Sysname] snmp-agent sys-info version all
[Sysname] snmp-agent sys-info contact Mr.Wang-Tel:3306
[Sysname] snmp-agent sys-info location telephone-closet,3rd-floor
# Enable the sending of Trap messages to the NMS with an IP address of
129.102.149.23/16, using public as the community name.
[Sysname] snmp-agent trap enable
[Sysname] snmp-agent target-host trap address udp-domain 129.102.149
.23
udp-port 5000 params securityname public
2 Configuring SNMP NMS
SNMPv3 uses authentication and privacy security model. In NMS, the user needs to
specify username and security level, and based on that level, configure the
authentication mode, authentication password, privacy mode, privacy password.
In addition, the time-out time and number of retries should also be configured.
The user can inquire and configure the switch through NMS. For detailed
information, refer to the NMS manuals.
n
The configurations on the agent and the NMS must match in order to perform the
related operations.