User Manual for the NETGEAR 7200 Series Layer 2 Managed Switch Software

config snmptrap ipaddr

This command assigns an IP address to a specified community name. The maximum length of name is 16 case-sensitive alphanumeric characters.

Note: IP addresses in the SNMP trap receiver table must be unique. If you make multiple entries using the same IP address, the first entry is retained and processed. All duplicate entries are ignored.

Format

config snmptrap ipaddr <ipaddrold> <name> <ipaddrnew>

config snmptrap mode

This command activates or deactivates an SNMP trap. Enabled trap receivers are active (able to receive traps). Disabled trap receivers are inactive (not able to receive traps).

Format

config snmptrap mode <enabledisable> <name> <ipaddr>

show trapflags

This command displays trap conditions. Configure which traps the switch should generate by enabling or disabling the trap condition. If a trap condition is enabled and the condition is detected, the switch's SNMP agent sends the trap to all enabled trap receivers. The switch does not have to be reset to implement the changes. Cold and warm start traps are always generated and cannot be disabled.

Format

show trapflags

Authentication Flag

May be enabled or disabled by selecting the corresponding line on the pull-

 

down entry field. The factory default is enabled. Indicates whether

 

authentication failure traps will be sent.

Link Up/Down Flag

May be enabled or disabled by selecting the corresponding line on the pull-

 

down entry field. The factory default is enabled. Indicates whether link status

 

traps will be sent. Multiple Users Flag.

Multiple Users Flag

May be enabled or disabled by selecting the corresponding line on the pull-

 

down entry field. The factory default is enabled. Indicates whether a trap will be

 

sent when the same user ID is logged into the switch more than once at the same

 

time (either via telnet or serial port).

Spanning Tree Flag

May be enabled or disabled by selecting the corresponding line on the pull-

 

down entry field. The factory default is enabled. Indicates whether spanning tree

 

traps will be sent.

Broadcast Storm Flag

May be enabled or disabled by selecting the corresponding line on the pull-

 

down entry field. The factory default is enabled. Indicates whether broadcast

 

storm traps will be sent.

 

 

7-20

Switching Commands

202-10010-01

Page 62
Image 62
NETGEAR 7200 Series user manual Config snmptrap ipaddr, Config snmptrap mode, Show trapflags