C
OMMAND
L
INE
I
NTERFACE
4-152
Default Setting
Issue authentication and link-up-down traps.
Command Mode
Global Configuration
Command Usage
• If you do not enter an snmp-server enable traps command, no
notifications controlled by this command are sent. In order to
configure this device to send SNMP notifications, you must enter at
least one snmp-server enable traps command. If you enter the
command with no keywords, both authentication and link-up-down
notifications are enabled. If you enter the command with a keyword,
only the notification type related to that keyword is enabled.
•The snmp-server enable traps command is used in conjunction with
the snmp-server host command. Use the snmp-server host
command to specify which host or hosts receive SNMP notifications.
In order to send notifications, you must configure at least one
snmp-server host command.
Example
Related Commands
snmp-server host (3-150)
snmp ip filter
This command sets the IP addresses of clients that are allowed
management access to the switch via SNMP. Use the no for m the remove
an IP address.
Syntax
[no] snmp ip filter ip_address subnet_mask
ip_address - An IP address indicating a client or group of clients that
Console(config)#snmp-server enable traps link-up-down
Console(config)#