SNMP Configuration Example
283
Network diagram
Figure 87
Network diagram for SNMP
Network procedure
1
Set the community name, group name and user.
<S4200G>
system-view
[4200G]
snmp-agent sys-info version all
[4200G]
snmp-agent community write public
[4200G]
snmp-agent mib-view include internet 1.3.6.1
[4200G]
snmp-agent group v3 managev3group write-view internet
[4200G]
snmp-agent usm-user v3 managev3user managev3group
2
Set the VLAN interface 2 as the interface used by network management. Add port
GigabitEthernet1/0/2 to the VLAN 2. This port will be used for network management.
Set the IP address of VLAN interface 2 as 10.10.10.2.
[4200G]
vlan 2
[4200G-vlan2]
port GigabitEthernet 1/0/2
[4200G-vlan2]
quit
[4200G]
interface Vlan-interface 2
[4200G-Vlan-interface2]
ip address 10.10.10.2 255.255.255.0
3
Enable the SNMP agent to send Trap packets to the NMS whose IP address is
10.10.10.1. The SNMP community is public.
[4200G]
snmp-agent trap enable standard authentication
[4200G]
snmp-agent trap enable standard coldstart
[4200G]
snmp-agent trap enable standard linkup
[4200G]
snmp-agent trap enable standard linkdown
[4200G]
snmp-agent target-host trap address udp-domain 10.10.10.1
udp-port 5000 params securityname public
Configuring NMS
The Ethernet Switch supports 3Com’s Quidview NMS. SNMP V3 adopts user name
and password authentication. In [ Quidview Authentication Parameter], you need to
set a user name, choose security level, and set authorization mode, authorization
password, encryption mode, encryption password respectively according to different
security levels. In addition, you must set timeout time and retry times.
Users can query and configure the Ethernet switch through the NMS. For more about
it, refer to the manuals of 3Com’s NM products.
NM configuration must be consistent with device configuration; otherwise, you will
fail to perform the related operations.
Ethernet
NMS
10.10.10.1
10.10.10 .2
Ethernet
NMS
10.10.10.1
10.10.10 .2
Summary of Contents for 4200G 12-Port
Page 10: ...8 CONTENTS...
Page 14: ...4 ABOUT THIS GUIDE...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...