Qtech QSW-3900-24-SFP-AC [36/245] Configure trap destination host adress

Qtech QSW-3900-24-SFP-AC [36/245] Configure trap destination host adress
QTECH Software Configuration Manual
2-35
2.12.3 Configure Trap destination host adress
Use this configuration to configure or delete IP address of destination host. Configure it in global
configuration mode.
Configure notify destination host address
snmp-server host host-addr [version {1 | 2c | 3 [auth | noauth | priv]}] community-string [udp-port
port] [ notify-type [ notifytype-list ] ]
Delete notify destination host address
no snmp-server host ip-address community-string { 1 | 2c | 3 }
ip-address and snmp-server means IP address in SNMP server notify sending list.
community-string means the security name IP corresponded in snmp-server notify table item.
Security name is the community name for snmpvi and snmp v2c, and username for snmpv3. 1, 2c, 3 mean
SNMP versions. Port means the port number sent to. Notifytype-list means optional notify list. If it is unoptioned,
default to choose all type. Only optionaed type will be sent to destination host.
For example :
! Configure SNMP server, the IP address is configured to be 192.168.0.100, and SNMP version to be 2c, and
community name to be user
QTECH(config)#snmp-server host 192.168.0.100 version 2c user
! Delete the item with the notify destination host being 192.168.0.100 and community name being user
QTECH(config)#no snmp-server host 192.168.0.100 user
Display snmp-server notify item in any configuration mode : :
show snmp host
! Display Trap information of snmp
QTECH(config)#show snmp host
2.12.4 Configure sysLocation
sysLocation is a managing variable in system group of MIB which is used to denote location of devices be
managed. Configure it in global configuration mode :
snmp-server location syslocation
Syslocation is the charater string of system location ranges from 1 to 255 printable characters.
For example :
! Configure system location to be sample sysLocation factory.
QTECH(config)#snmp-server location sample sysLocation factory
Use quotation mark to quote space in charater string.
Use show snmp location command in any configuration mode to display system location :
show snmp location
2.12.5 Configure sysName
sysName is a managing variable in system group of MIB which is switch name. Configure it in global
configuiration mode :
snmp-server name sysname
no snmp-server name
Sysname means the charater string of system name ranges from 1 to 255 printable characters.
For example :
! Configure system name to be QSW-3900

Содержание

Скачать