Link-Trap - Cisco SFS7000P-SK9 - SFS InfiniBand Server Switch 7000 Command Reference Manual

Command reference
Table of Contents

Advertisement

link-trap

link-trap

To configure internal and external ports to generate link-up and link-down SNMP traps when the
operating status (oper-status) of the ports changes, enter the link-trap command in the appropriate
Interface Configuration mode. To disable this function, use the no form of this command.
Syntax Description
This command has no arguments or keywords.
Defaults
By default, ports do not generate link traps.
Command Modes
All Interface Configuration submodes.
Usage Guidelines
Platform Availability:
Cisco SFS 3001, Cisco SFS 7000, Cisco SFS 7008, Cisco SFS 3012, Cisco 4x InfiniBand Switch Module
for IBM BladeCenter
Privilege Level:
Fibre Channel read-write user, Ethernet read-write user.
Ports generate link-up traps when the oper-status of the port changes to up and link-down traps when
the oper-status of the port changes to down. Trap receivers (that you define with the snmp-server
command) receive the traps. You can then perform link validation and checking with the receivers, or
configure SNMP alerts.
Examples
The following example enables link-trap generation for Fibre Channel interface ports 1 and 2 on card 5:
SFS-7000P(config-if-fc-5/1-5/2)# link-trap
The following example enables link-trap generation for InfiniBand interface ports 1 through 5 on card
15. The resulting traps are sent to trap receivers, as defined by the snmp-server command:
SFS-7000P(config-if-ib-15/1-15/5)# link-trap
The following example enables link-trap generation for Ethernet interface port 1 on card 4. The resulting
traps are sent to trap receivers, as defined by the snmp-server command:
SFS-7000P(config-if-ether-4/1)# link-trap
Related Commands
auto-negotiate
shutdown
show snmp
snmp-server
Cisco SFS 7000 Series Product Family Command Reference Guide
2-46
link-trap
no link-trap
Chapter 2
Administrative Commands
OL-9163-02

Advertisement

Table of Contents
loading

Table of Contents