724-746-5500 | blackbox.com
Page 165
Chapter 7: Command-Line Management
The switch_a(config)# prompt will show on the screen.
switch_a(config)#
2. Usage:
Use this command to specify trap host IP address for SNMP.
Use the no parameter with this command to remove trap host IP address for SNMP.
3. Command Syntax:
snmp-server trap-ipaddress <1–5> IP-ADDRESS
no snmp-server trap-ipaddress <1–5>
<1–5> The trap host IP address 1–5.
IP-ADDRESS The trap host IP address for SNMP. A.B.C.D specifies the IP address.
4. Example:
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.