Chapter 5
| SNMP Commands
– 164 –
snmp-server
enable port-traps
mac-notification
This command enables the device to send SNMP traps (i.e., SNMP
notifications) when a dynamic MAC address is added or removed. Use the no
form to restore the default setting.
Syntax
[
no
]
snmp-server enable port-traps
mac-notification
mac-notification
- Keyword to issue trap when a dynamic MAC
address is added or removed.
Default Setting
Disabled
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
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-52)
port-channel
channel-id
(Range: 1-24)
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
Содержание SC30010
Страница 1: ...C 300 Series Gigabit Managed Switch CLI Reference Guide SOFTWARE RELEASE V1 1 10 171 www signamax com ...
Страница 2: ...CLI Reference Guide SC30010 C 300 48 Port Gigabit Managed Switch E122017 KS R01 ...
Страница 482: ...Chapter 19 Class of Service Commands Priority Commands Layer 3 and 4 482 ...
Страница 670: ......
Страница 671: ...E122017 KS R01 ...