< Home

snmp-agent trap enable feature-name vplsoam

Function

The snmp-agent trap enable feature-name vplsoam command enables the trap function of the VPLS OAM module.

The undo snmp-agent trap enable feature-name vplsoam command disables the trap function of the VPLS OAM module.

By default, the trap function of the VPLS OAM module is disabled.

Format

snmp-agent trap enable feature-name vplsoam [ trap-name { hwlsppingipv4vpnprobe | hwlspvpingprobe | hwlspvtraceprobe } ]

undo snmp-agent trap enable feature-name vplsoam [ trap-name { hwlsppingipv4vpnprobe | hwlspvpingprobe | hwlspvtraceprobe } ]

Parameters

Parameter Description Value
trap-name Name of a trap -
hwlsppingipv4vpnprobe A LSP ping ipv4-vpn test trap -
hwlspvpingprobe A LSP ping test trap -
hwlspvtraceprobe A LSP trace test trap -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The snmp-agent trap enable feature-name vplsoam command enables or disables the ping test trap (hwlspvpingprobe) or trace test trap (hwlspvtraceprobe) function. After the snmp-agent trap enable feature-name vplsoam command is run, a device receiving an LSP ping or lSP trace packet in reply mode 1 will send the ping test or trace test trap message to the NMS.

Example

# Enable the ping test trap function of the VPLS OAM mode.

<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name vplsoam trap-name hwlspvpingprobe
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >