< Home

collect-item syslog enable (SMI view)

Function

The collect-item syslog enable command configures the device to report logs and alarms to the NMS.

The undo collect-item syslog enable command disables the device from reporting logs and alarms to the NMS.

By default, the device is disabled from reporting logs and alarms to the NMS.

Format

collect-item syslog { aaa | acl | basetrap | defd | dhcp | dot1x | entitytrap | ifnet | ifpdt | l2ifppi | l3adp | lbdt | mcast | mpls | mstp | nac | poe | portal | sea | sece | shell | srm | web } enable

undo collect-item syslog { aaa | acl | basetrap | defd | dhcp | dot1x | entitytrap | ifnet | ifpdt | l2ifppi | l3adp | lbdt | mcast | mpls | mstp | nac | poe | portal | sea | sece | shell | srm | web } enable

Parameters

Parameter Description Value

aaa

Specifies data of the AAA module that is reported to the NMS by the device.

-

acl

Specifies data of the ACL module that is reported to the NMS by the device.

-

basetrap

Specifies data of the BASETRAP module that is reported to the NMS by the device.

-

defd

Specifies data of the DEFD module that is reported to the NMS by the device.

-

dhcp

Specifies data of the DHCP module that is reported to the NMS by the device.

-

dot1x

Specifies data of the DOT1X module that is reported to the NMS by the device.

-

entitytrap

Specifies data of the ENTITYTRAP module that is reported to the NMS by the device.

-

ifnet

Specifies data of the IFNET module that is reported to the NMS by the device.

-

ifpdt

Specifies data of the IFPDT module that is reported to the NMS by the device.

-

l2ifppi

Specifies data of the L2IFPPI module that is reported to the NMS by the device.

-

l3adp

Specifies data of the L3MB module that is reported to the NMS by the device.

-

lbdt

Specifies data of the LBDT module that is reported to the NMS by the device.

-

mcast

Specifies data of the MCAST module that is reported to the NMS by the device.

-

mpls

Specifies data of the MPLS module that is reported to the NMS by the device.

-

mstp

Specifies data of the MSTP module that is reported to the NMS by the device.

-

nac

Specifies data of the NAC module that is reported to the NMS by the device.

-

poe

Specifies data of the PoE module that is reported to the NMS by the device.

-

portal

Specifies data of the Portal module that is reported to the NMS by the device.

-

sea

Specifies data of the SEA module that is reported to the NMS by the device.

-

sece

Specifies data of the SECE module that is reported to the NMS by the device.

-

shell

Specifies data of the SHELL module that is reported to the NMS by the device.

-

srm

Specifies data of the SRM module that is reported to the NMS by the device.

-

web

Specifies data of the WEB module that is reported to the NMS by the device.

-

Views

SMI view

Default Level

3: Management level

Usage Guidelines

The device is configured to report logs and alarms to the NMS as required. You can run the command multiple times to configure the device to report multiple types of data to the NMS. For the information about devices that can be collected, see Logs and Alarms that Can Be Reported by Switches to an NMS.

Example

# Configure the device to report data of the ACL module to the NMS.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] smi-server
[HUAWEI-netconf-smi-server] collect-item syslog acl enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >