Why cannot an AR router send trap messages

21


SNMP provides the trap function to control the output of trap messages. An AR router generates trap messages only when the trap function has been enabled on the AR router.


Perform the following operations to enable the trap function on an AR router:



  1. Run the system-view command to enter the system view.
  2. Run the snmp-agent trap enable command to enable the AR router to send trap messages to the NMS.
  3. Run the snmp-agent target-host trap-paramsname paramsname v1 securityname securityname [ binding-private-value ] [ trap-filterprofilename filterprofilename ] [ private-netmanager ] command to set parameters for sending trap messages.
    NOTE:


    • V200R001C01 and later versions support binding-private-value.
    • V200R002C00 and later versions support private-netmanager.

  4. Run the snmp-agent target-host trap-hostname hostname address ipv4-addr [ udp-port udp-portid ] [ public-net | vpn-instance vpn-instance-name ] trap-paramsname paramsname command to specify the destination host for receiving trap messages and error codes.
    NOTE:

    The default destination UDP port number is 162. To ensure secure communication between the NMS and managed devices, run the udp-port command to change the UDP port number to a non-well-known port number.

Other related questions:
Why cannot an AR router filter packets it sends
The forwarding mechanism of an AR router is separate from the control mechanism. The control security policies set on the AR router do not apply to packets the AR router sends.

Why does the AR router not raise alarms
SNMP provides the alarm control function which can be used to control the alarm output of a module. A device can raise alarms only when this function is enabled on it. To enable the alarm switch control function, perform the following steps: 1. Run the system-view command to enter the system view. 2. Run the snmp-agent trap enable command to enable the device to send alarms to the NMS. 3. Run the snmp-agent target-host trap-paramsname paramsname v1 securityname securityname [ binding-private-value ] [ trap-filterprofilename filterprofilename ] [ private-netmanager ] command to set the parameters of the Trap package sent by the device. 4. Run the snmp-agent target-host trap-hostname hostname address ipv4-addr [ udp-port udp-portid ] [ public-net | vpn-instance vpn-instance-name ] trap-paramsname paramsnam command to configure the target host to which the device sends alarms and error codes. Description: 1. The binding-private-value parameter is supported in V200R001C01 or later. 2. The private-netmanager parameter is supported in V200R002C00 or later.

The two ends of an LSP are Up and can send Hello messages, but the peer end cannot receive them. Why
If the two ends of an LSP are Up and can send Hello messages, but the peer end cannot receive the messages, the possible causes are as follows: Devices do not support sending of large packets, for example, the device can send packets whose maximum size is 180 bytes. To check whether the peer end can send large packets, ping the IP address of the peer end using large packets. Run the display cpu-defend statistics slot slot-id command to check whether Hello messages are dropped due to attack defense policies or Hello messages do not reach the cpu-defend module. Check whether statistics on MPLS-related ACL packets exist and ACLs are correctly delivered.

An AR router cannot access the Internet
1. Confirm whether the line provided by the vendor works properly. 2. Check the following configurations of the AR router: - Whether NAT is configured. - Whether valid routes are configured. - Whether DNS address resolution is configured. - Whether Internet access control is performed.

In the VRRP group on the AR router, why the priority of 255 on a router cannot be changed manually
In the VRRP group, the priority 255 is reserved for the IP address owner by the system and cannot be configured manually.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top