H3C S9500 Series Operation Manual page 1375

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

Advertisement

Operation Manual – SNMP
H3C S9500 Series Routing Switches
[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.
[S9500A] ip vpn-instance vpna
[S9500A-vpn-vpna] route-distinguisher 100:1
[S9500A-vpn-vpna] vpn-target 100:1 both
[S9500A-vpn-vpna] quit
[S9500A] vlan 172
[S9500A-vlan172] port Ethernet 3/1/1
[S9500A-vlan172] interface vlan-interface 172
[S9500A-Vlan-interface172] ip binding vpn-instance vpna
[S9500A-Vlan-interface172] ip address 172.16.0.1 24
[S9500A-Vlan-interface172] quit
# Configure static routes.
[S9500A]
172.16.0.2
[S9500A] ip route-static vpn-instance vpna 1.1.1.1 255.255.255.255 10.0.0.2
public preference 1
[S9500A] ip route-static vpn-instance vpna 2.2.2.2 255.255.255.255 10.0.0.2
public preference 1
# Configure SNMP, and set the trap source address.
[S9500A] snmp-agent
[S9500A] snmp-agent local-engineid 800007DB000FE21E44486877
[S9500A] snmp-agent community write
[S9500A] snmp-agent community read
[S9500A] snmp-agent sys-info version all
[S9500A] snmp-agent target-host trap address udp-domain 172.16.0.2 params
securityname public
[S9500A] snmp-agent trap enable ldp
[S9500A] snmp-agent trap enable configuration
[S9500A] snmp-agent trap enable system
[S9500A] snmp-agent trap enable standard
[S9500A] snmp-agent trap enable lsp
[S9500A] snmp-agent trap enable vrrp
[S9500A] snmp-agent trap enable ospf
[S9500A] snmp-agent trap enable bgp
[S9500A] snmp-agent trap enable flash
ip
route-static
172.16.0.2
preference 1
255.255.255.255
private
public
1-12
Chapter 1 SNMP Configuration
vpn-instance
vpna

Advertisement

Table of Contents
loading

Table of Contents