H3C S9500 Series Operation Manual
H3C S9500 Series Operation Manual

H3C S9500 Series Operation Manual

Routing switches
Hide thumbs Also See for S9500 Series:

Advertisement

Operation Manual - SNMP
H3C S9500 Series Routing Switches
Chapter 1 SNMP Configuration.................................................................................................... 1-1
1.1 SNMP Overview................................................................................................................. 1-1
1.1.1 Introduction to SNMP .............................................................................................. 1-1
1.1.2 SNMP Versions and Supported MIB....................................................................... 1-1
1.2 Configuring SNMP ............................................................................................................. 1-3
1.2.1 Setting Community Names ..................................................................................... 1-3
1.2.2 Setting the System Information ............................................................................... 1-4
1.2.3 Enabling SNMP Agent to Send Traps..................................................................... 1-4
1.2.4 Setting the Destination Address of Trap ................................................................. 1-5
1.2.5 Setting Lifetime of Trap Message ........................................................................... 1-6
1.2.6 Setting the Engine ID of a Local Device ................................................................. 1-6
1.2.7 Setting an SNMP Group.......................................................................................... 1-6
1.2.8 Setting the Source Address of Trap ........................................................................ 1-7
1.2.9 Adding a User to an SNMP Group .......................................................................... 1-7
1.2.10 Creating/Updating View Information ..................................................................... 1-7
1.2.12 Disabling SNMP Agent.......................................................................................... 1-8
1.2.13 Extending the Standard linkUp/linkDown Traps.................................................... 1-8
1.3 Displaying and Debugging SNMP ..................................................................................... 1-9
1.4 SNMP Configuration Examples ....................................................................................... 1-10
1.4.1 Common SNMP Configuration Example............................................................... 1-10
1.4.2 Configuration Example for Private Network Support ............................................ 1-11

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S9500 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for H3C S9500 Series

  • Page 1: Table Of Contents

    Operation Manual – SNMP H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 SNMP Configuration....................1-1 1.1 SNMP Overview......................... 1-1 1.1.1 Introduction to SNMP ....................1-1 1.1.2 SNMP Versions and Supported MIB............... 1-1 1.2 Configuring SNMP ......................1-3 1.2.1 Setting Community Names ..................
  • Page 2: Chapter 1 Snmp Configuration

    Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration Chapter 1 SNMP Configuration When configuring SNMP, go to these sections for information you are interested in: SNMP Overview Configuring SNMP Displaying and Debugging SNMP SNMP Configuration Examples 1.1 SNMP Overview...
  • Page 3 Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration Figure 1-1 Architecture of the MIB tree The MIB (Management Information Base) is used to describe the hierarchical architecture of the tree and it is the set defined by the standard variables of the monitored network device.
  • Page 4: Configuring Snmp

    Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration MIB attribute MIB content References DHCP MIB — QACL MIB — ADBM MIB — Private MIB RSTP MIB — VLAN MIB — Device management — Interface management —...
  • Page 5: Setting The System Information

    Restore the default information location }* | version { { v1 | v2c | v3 }* | all } } By default, the contact information for system maintenance is "Hangzhou H3C Technologies Co., Ltd.", the physical location information is " Hangzhou, China", and the version is SNMPv1, SNMPv2c, and SNMPv3.
  • Page 6: Setting The Destination Address Of Trap

    Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration To do… Use the command… snmp-agent trap enable [ bgp [ backwardtransition | established ]* | configuration | flash | ospf [ process-id ] [ ospf-trap-list ] |...
  • Page 7: Setting Lifetime Of Trap Message

    Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration 1.2.5 Setting Lifetime of Trap Message You can use the following command to set lifetime of Trap message. Trap message that exists longer than the set lifetime will be dropped.
  • Page 8: Setting The Source Address Of Trap

    Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration 1.2.8 Setting the Source Address of Trap You can use the following commands to set or remove the source address of the trap. Perform the following configuration in system view.
  • Page 9: Setting The Size Of The Snmp Packet Sent/Received By An Agent

    Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration To do… Use the command… undo snmp-agent mib-view Delete a view view-name 1.2.11 Setting the Size of the SNMP Packet Sent/Received by an Agent You can use the following commands to set the size of SNMP packet sent/received by an agent.
  • Page 10: Displaying And Debugging Snmp

    Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration After this command is configured, an extended linkUp/linkDown trap is the standard linkUp/linkDown trap defined in RFC appended with the interface description and interface type information. Caution: Not all NMSs can process the extended trap messages correctly.
  • Page 11: Snmp Configuration Examples

    [H3C] snmp-agent sys-info version all [H3C] snmp-agent community read public [H3C] snmp-agent mib include internet 1.3.6.1 [H3C] snmp-agent group v3 managev3group write internet [H3C] snmp-agent usm v3 managev3user managev3group # Set VLAN-interface 2 as the interface for network management. Add port GigabitEthernet 2/1/3 to VLAN 2.
  • Page 12: Configuration Example For Private Network Support

    Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration [H3C] snmp-agent target-host trap address udp-domain 129.102.149.23 udp-port 5000 params securityname public # Configure network management system The PC on which the network management resides requires for login configuration. As for Mib-Browser, the login configuration is as follows: SNMPv1/v2c logs in using the default community name public, and the SNMPv3 logs in using managev3user.
  • Page 13: Configure Static Routes

    Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration [S9500A-LoopBack0] quit [S9500A] vlan 10 [S9500A-vlan10] port Ethernet 3/1/2 [S9500A-vlan10] interface vlan-interface 10 [S9500A-Vlan-interface10] ip address 10.0.0.1 24 [S9500A-Vlan-interface10] quit # Create a VPN instance, create a VLAN and bind it with the private network.
  • Page 14 Operation Manual – SNMP H3C S9500 Series Routing Switches Chapter 1 SNMP Configuration [S9500A] snmp-agent trap source LoopBack0 Configure S9500B # Configure the loopback interface and a VLAN interface. <S9500B> system-view [S9500B] interface loopback 0 [S9500B-LoopBack0] ip address 2.2.2.2 32...

Table of Contents