146
Manual Documentation Number: EIRM-EXTEND-8-1
m
B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 – www.bb-elec.com
B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 – www.bb-europe.com
The following example specifies trap host 1 IP address (
192.168.1.20
) for
SNMP:
switch_a(config)#snmp-server trap-ipaddress 1 192.168.1.20
switch_a(config)#
Link Down Trap:
1.
Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The
switch_a(config)#
prompt will show on the screen.
switch_a(config)#
2.
Usage:
Use
snmp-server trap-type enable linkDown
command to enable link
down trap for SNMP.
Use the
no snmp-server trap-type enable linkDown
command to disable
link down trap for SNMP.
3.
Command Syntax:
(no) snmp-server trap-type enable linkDown
4.
Example:
The following example enables link down trap for SNMP:
switch_a(config)#snmp-server trap-type enable linkDown
switch_a(config)#
Link Up Trap:
1.
Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode).
The
switch_a(config)#
prompt will show on the screen.
switch_a(config)#
2.
Usage:
Use
snmp-server trap-type enable linkUp
command to enable link up
trap for SNMP.
Use the
no snmp-server trap-type enable linkUp
command to disable
link up trap for SNMP.
3.
Command Syntax:
(no) snmp-server trap-type enable linkUp