SNMP trap configuration

Last Updated : Sep 20, 2023 |
Table 1: SNMP trap configuration CLI commands

Root level command

First level command

Description

set port trap

Enable or disable SNMP Link Up and Link Down traps notifications and traps on a port.

set snmp trap enable | disable auth

Enable or disable SNMP authentication failure traps.

show port trap

Display information on SNMP generic Link Up and Link Down traps sent for a specific port or for all ports.

show snmp

Display SNMP configuration information.

snmp-server test trap

Sends a test trap to the configured trap receivers.

interface {dialer | FastEthernet

See IP interface configuration

Enter the context of the Dialer, FastEthernet, Tunnel, or USB-modem interface.

snmp trap link-status

Enable or disable Link Up and Link Down traps on an interface.

snmp-server enable notifications

Enable or disable the sending of all traps and notifications from the Branch Gateway.

snmp-server host

Identify an SNMP management server, and specify the messages it receives. Use the no form of the command to remove the specified server, or to disable a particular set of notification types.

snmp-server informs

Configure the SNMPv3 timeout and retries for notifications.