3Com 10014299 Network Router User Manual


 
80 CHAPTER 5: CONFIGURING NETWORK MANAGEMENT
Typical Configuration
Examples
Example 1: Configure Network Management of SNMPv1
I. Networking Requirements
In the following diagram the NMS and a router are connected via the Ethernet.
The IP addresses of NMS and the Ethernet interface on the router are respectively
129.102.149.23 and 129.102.0.1.
II. Networking Diagram
Figure 3-3Configure SNMP
III. Configuration Procedure
1 Enable the router to support SNMP and select an SNMP version.
[Router] snmp-agent
[Router] snmp-agent sys-info version v1
2 Set the community name and access authority.
[Router] snmp-agent community public read
[Router] snmp-agent community private write
3 Set the ID of administrator, contact method and physical location of the router.
[Router] snmp-agent sys-info contact Mr.Wang-Tel:3306
[Router] snmp-agent sys-info location telephone-closet,3rd-floor
4 Enable the router to send traps to NMS (129.102.149.23) and use the community
name “public”, and set the source address in the traps to be the IP address of the
interface ethernet 0.
[Router] snmp-agent trap enable
[Router] snmp-agent target-host trap address 129.102.149.23
securityname public
[Router] snmp-agent trap source ethernet 0
5 Configure an IP address for the Ethernet interface ethernet 0.
[Router] interface ethernet 0
[Router-Ethernet0] ip address 129.102.0.1 255.255.0.0
Example 2: Configure Network Management of SNMPv3
I. Networking Requirements
According to the networking of Example 1, NMS is connected to the router via
the Ethernet, and their IP addresses are respectively 129.102.149.23 and
129.102.0.1.
SNMPv3 is required. Three SNMP groups will be configured and respectively
authorized with read-only, writing, and notifying rights. Three SNMP users
belong to the three groups respectively, and three MIB views are used as read,
write and notify views respectively.
Information of the network administrator is required to be configured.
129.102.0.1
129.102.149.23
NMS
Router
e 0
Ethernet