cisco — Configuring MAC Threshold Notification Traps

Administering the Device Configuring MAC Threshold Notification Traps Command or Action Purpose Device> enable Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 snmp-server host host-addr {traps | informs} {version {1 | 2c | 3}} community-string notification-type Example: Device(config)# snmp-server host 172.20.10.10 traps private mac-notification Specifies the recipient of the trap message. • host-addr—Specifies the name or address of the NMS. • traps (the default)—Sends SNMP traps to the host. • informs—Sends SNMP informs to the host. • version—Specifies the SNMP version to support. Version 1, the default, is not available with informs.

• community-string—Specifies the string to send with the notification operation. You can set this string by using the snmp-server host command, but we recommend that you define this string by using the snmp-server community command before using the snmp-server host command. • notification-type—Uses the mac-notification keyword. Step 4 snmp-server enable traps mac-notification threshold Example: Device(config)# snmp-server enable traps mac-notification threshold Enables MAC threshold notification traps to the NMS. Step 5 mac address-table notification threshold Example: Device(config)# mac address-table notification threshold Enables the MAC address threshold notification feature.

Administering the Device 31