alarm all-packets
To enable alarms on all ports, use the alarm all-packets command in global configuration mode.
To enable alarms on a specific port, use the alarm all-packets command in interface configuration mode.
alarm all-packets
no alarm all-packets
Command Modes
Global configuration (config)
Interface configuration (config-if)
Examples
The following example shows how to enable alarms on all ports of the device:
Device> enable
Device# configure terminal
Device(config)# alarm all-packets
Enable port alarm successfully.