Snmp Configuration Example - 3Com Switch 4800G 24-Port Configuration Manual

Switch 4800g family 24-port, pwr 24-port, 48-port, pwr 48-port, 24-port sfp
Hide thumbs Also See for Switch 4800G 24-Port:
Table of Contents

Advertisement

938
C
75: SNMP C
HAPTER
SNMP Configuration
Example
[Sysname] snmp-agent trap enable
[Sysname] snmp-agent target-host trap address udp-domain 1.1.1.2 udp-port 5000 params securityname public
ONFIGURATION
Network requirements
The NMS connects to the agent, a switch, through an Ethernet.
The IP address of the NMS is 1.1.1.2/24.
The IP address of VLAN interface on the switch is 1.1.1.1/24.
NMS monitors and manages Agent using SNMPv2c. Agent reports errors or
faults to the NMS.
Network diagram
Figure 274 Network diagram for SNMP (on a switch)
Agent
Vlan-int2
1.1.1.1/24
Console
Terminal
Configuration procedure
1 Configuring SNMP Agent
# Configure the SNMP basic information, including version and community name.
<Sysname> system-view
[Sysname] snmp-agent sys-info version v2c
[Sysname] snmp-agent community read public
[Sysname] snmp-agent community write private
# Configure VLAN-interface 2 (with the IP address of 1.1.1.1/24). Add the port
Ethernet 1/0 to VLAN 2.
[Sysname] vlan 2
[Sysname-vlan2] port ethernet 1/0
[Sysname-vlan2] interface vlan-interface 2
[Sysname-Vlan-interface2] ip address 1.1.1.1 255.255.255.0
[Sysname-Vlan-interface2] quit
# Configure the contact person and physical location information of the switch.
[Sysname] snmp-agent sys-info contact Mr.Wang-Tel:3306
[Sysname] snmp-agent sys-info location telephone-closet,3rd-floor
# Enable the sending of Traps to the NMS with an IP address of 1.1.1.2/24, using
public as the community name.
2 Configuring SNMP NMS
NMS
1.1.1.2/24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents