Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set newaddrtrap
5-30 SNMP Configuration
set newaddrtrap
Use this command to enable or disable SNMP trap messaging, globally or on one or more ports, 
when new source MAC addresses are detected.
Syntax
set newaddrtrap [port-string] {enable | disable}
Parameters
Defaults
If port‐string is not specified, the trap function is set globally.
Mode
Switch mode, read‐write.
Usage
This command enables and disables sending SNMP trap messages when a new source MAC 
address is detected by a port. If the port is a CDP port, however, traps for new source MAC 
addresses will not be sent.
The default mode is disabled globally and per port.
Example=
This example enables the trap function globally and then on Gigabit Ethernet ports 1 through 5 in 
slot 1.
D2(rw)->set newaddrtrap enable
D2(rw)->set newaddrtrap ge.1.1-5 enable
show snmp notify
Use this command to display the SNMP notify configuration, which determines the management 
targets that will receive SNMP notifications.
Syntax
show snmp notify [notify] [volatile | nonvolatile | read-only]
Parameters
port‐string
(Optional) Enable or disable the new MAC addresses trap function on 
specific ports. 
enable | disable
Enable or disable the new MAC addresses trap function. If entered 
without the port‐string parameter, enables or disables the function 
globally. When entered with the port‐string parameter, enables or 
disables the function on specific ports.
notify
(Optional) Displays notify entries for a specific notify name.
volatile | 
nonvolatile | read‐
only
(Optional) Displays notify entries for a specific storage type.