2-459
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set port trap
set port trap
To enable or disable the operation of the standard Simple Network Management Protocol (SNMP) link
trap (up or down) for a port or range of ports, use the set port trap command.
set port trap mod/port {enable | disable}
Syntax Description
Defaults The default is all port traps are disabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command is not supported by the NAM.
To set SNMP traps, enter the set snmp trap command.
Examples This example shows how to enable the SNMP link trap for module 1, port 2:
Console> (enable) set port trap 1/2 enable
Port 1/2 up/down trap enabled.
Console> (enable)
Related Commands show port trap
mod/port Number of the module and the port on the mod ule.
enable Activates the SNMP link trap.
disable Deactivates the SNMP link trap.