H3C S9500 Series Operation Manual page 14

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – SNMP
H3C S9500 Series Routing Switches
[S9500A] snmp-agent trap source LoopBack0
2)
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
[S9500B-LoopBack0] quit
[S9500B] vlan 10
[S9500B-vlan10] port Ethernet 2/1/1
[S9500B-vlan10] interface vlan-interface 10
[S9500B-Vlan-interface10] ip address 10.0.0.2 24
[S9500B-Vlan-interface10] quit
# Configure the static routes to S9500A and PC.
[S9500B] ip route-static 172.16.0.2 255.255.255.255 10.0.0.1
[S9500B] ip route-static
# Configure SNMP, and set the trap source address.
[S9500B] snmp-agent
[S9500B] snmp-agent local-engineid 800007DB000FE21E44486877
[S9500B] snmp-agent community write
[S9500B] snmp-agent community read
[S9500B] snmp-agent sys-info version all
[S9500B] snmp-agent target-host trap address udp-domain 172.16.0.2 params
securityname public
[S9500B] snmp-agent trap enable ldp
[S9500B] snmp-agent trap enable configuration
[S9500B] snmp-agent trap enable system
[S9500B] snmp-agent trap enable standard
[S9500B] snmp-agent trap enable lsp
[S9500B] snmp-agent trap enable vrrp
[S9500B] snmp-agent trap enable ospf
[S9500B] snmp-agent trap enable bgp
[S9500B] snmp-agent trap enable flash
[S9500B] snmp-agent trap source LoopBack0
1.1.1.1 255.255.255.255 10.0.0.1 preference 1
private
public
1-13
Chapter 1 SNMP Configuration
preference 1

Advertisement

Table of Contents
loading

Table of Contents