Edge-Core ECS4660-28F Management Manual page 1003

Layer 3
Hide thumbs Also See for ECS4660-28F:
Table of Contents

Advertisement

E
XAMPLE
R
ELATED
snmp-server enable traps (1000)
This command enables the device to send SNMP traps (i.e., SNMP
snmp-server
notifications) when a dynamic MAC address is added or removed. Use the
enable port-traps
no form to restore the default setting.
mac-notification
S
YNTAX
D
EFAULT
Disabled
C
OMMAND
Interface Configuration (Ethernet, Port Channel)
C
OMMAND
This command can enable MAC authentication traps on the current
interface only if they are also enabled at the global level with the
server enable traps mac-authentication
To send an inform to a SNMPv3 host, complete these steps:
Enable the SNMP agent
1.
Create a local SNMPv3 user to use in the message exchange
2.
process
(page
1007).
Create a view with the required notification messages
3.
Create a group that includes the required notify view
4.
Allow the switch to send SNMP traps; i.e., notifications
5.
Specify the target host that will receive inform messages with the
6.
snmp-server host command as described in this section.
The switch can send SNMP Version 1, 2c or 3 notifications to a host IP
address, depending on the SNMP version that the management station
supports. If the snmp-server host command does not specify the
SNMP version, the default is to send SNMP version 1 notifications.
If you specify an SNMP Version 3 host, then the community string is
interpreted as an SNMP user name. The user name must first be
defined with the
snmp-server user
group will be automatically created by the snmp-server host
command using the name of the specified community string, and
default settings for the read, write, and notify view.
Console(config)#snmp-server host 10.1.19.23 batman
Console(config)#
C
OMMANDS
[no] snmp-server enable port-traps mac-notification
mac-notification - Keyword to issue trap when a dynamic MAC
address is added or removed.
S
ETTING
M
ODE
U
SAGE
– 1003 –
C
25
HAPTER
SNMP Target Host Commands
(page
997).
command. Otherwise, an SNMPv3
command.
| SNMP Commands
(page
1008).
(page
1006).
(page
1000).
snmp-

Advertisement

Table of Contents
loading

Table of Contents