CLI Reference Guide-R04

Table Of Contents
Chapter 5
| SNMP Commands
SNMP Target Host Commands
– 199 –
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
This command can enable MAC authentication traps on the current interface only if
they are also enabled at the global level with the snmp-server enable traps mac-
authentication command.
Example
Console(config)#interface ethernet 1/1
Console(config-if)#snmp-server enable port-traps mac-notification
Console(config)#
show snmp-server
enable port-traps
This command shows if SNMP traps are enabled or disabled for the specified
interfaces.
Syntax
show snmp-server enable port-traps interface [interface]
interface
ethernet unit/port
unit - Unit identifier. (Range: Always 1)
port - Port number. (Range: 1-28)
port-channel channel-id (Range: 1-26)
Command Mode
Privileged Exec
Example
Console#show snmp-server enable port-traps interface
Interface MAC Notification Trap
--------- ---------------------
Eth 1/1 No
Eth 1/2 No
Eth 1/3 No
.
.
.