EasyManua.ls Logo

Cisco Catalyst 9200 - Page 46

Cisco Catalyst 9200
276 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PurposeCommand or Action
Specifies the recipient of the trap message.snmp-server host host-addr community-string
notification-type { informs | traps } {version {1 | 2c | 3}}
{vrf vrf instance name}
Step 3
host-addrSpecifies the name or address of the NMS.
Example:
traps (the default)Sends SNMP traps to the host.
informsSends SNMP informs to the host.
Device(config)# snmp-server host
172.20.10.10 traps private mac-notification
versionSpecifies the SNMP version to support.
Version 1, the default, is not available with informs.
community-stringSpecifies the string to send with
the notification operation. Though you can set this
string by using the snmp-server host command, we
recommend that you define this string by using the
snmp-servercommunity command before using the
snmp-server host command.
notification-typeUses the mac-notification
keyword.
vrf vrf instance nameSpecifies the VPN
routing/forwarding instance for this host.
Enables the device to send MAC address change
notification traps to the NMS.
snmp-server enable traps mac-notification change
Example:
Step 4
Device(config)# snmp-server enable traps
mac-notification change
Enables the MAC address change notification feature.mac address-table notification change
Example:
Step 5
Device(config)# mac address-table
notification change
Enters the trap interval time and the history table size.mac address-table notification change [interval value]
[history-size value]
Step 6
(Optional) interval valueSpecifies the notification
trap interval in seconds between each set of traps that
Example:
are generated to the NMS. The range is 0 to
2147483647 seconds; the default is 1 second.
Device(config)# mac address-table
notification change interval 123
(Optional) history-size valueSpecifies the
maximum number of entries in the MAC notification
history table. The range is 0 to 500; the default is 1.
Device(config)#mac address-table
notification change history-size 100
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
32
Administering the Device
Configuring MAC Address Change Notification Traps

Table of Contents

Related product manuals