Qtech QSW-2900-24T-AC [179/209] Syslog snmp agent outputting configuration

13-177
logging host { all | ip-address } { level | none | level-list { level [ to level ] } &<1-8> } [ module { xxx
| } * ]
no logging host { all | ip-address } filter
xxx: means the name of the module. … means other modules are omitted.
For example:
! Configure filter regulations of logging host 1.1.1.1 to allow module vlan of level 7 to output information
QTECH(config)#logging host 1.1.1.1 none
QTECH(config)#logging host 1.1.1.1 level-list 7 module vlan
(4) Logging facility configuration command is as following:
logging facility { xxx | }
no logging facility
xxx:The name of logging facilities.… means other logging facilities are omitted.
For example:
! Configure logging facility to be localuse7
QTECH(config)#logging facility localuse7
(5) Fixed source address configuration command is as following:
logging source ip-address
no logging source
ip-address must be an interface address of a device.
For example:
! Configure logging host outputting to use fixed source address 1.1.1.2:
QTECH(config)#logging source 1.1.1.2
13.2.8 Syslog SNMP Agent outputting configuration
Use logging snmp-agent command to enable SNMP Agent logging and configure filter configuration. Use no
logging snmp-agent command to disable SNMP Agent logging and restore to default filter configuration.
Configure Trap host ip address for Syslog information to send to SNMP Workstation by Trap packet. ( refer to
SNMP configuration)
(1) Logging buffered configuration command is as following:
logging snmp-agent
no logging snmp-agent
For example:
! Enable SNMP Agent logging
QTECH(config)#logging snmp-agent
(2) Filtration rules configuration command is as following:
logging snmp-agent { level | none | level-list { level [ to level ] } &<1-8> } [ module { xxx | } * ]
no logging snmp-agent filter
xxx: means the name of the module. … means other modules are omitted.

Содержание

Скачать
Случайные обсуждения