Page 96 / 400 Scroll up to view Page 91 - 95
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-28
Switching Commands
202-10088-01, March 2005
Access Mode
The access level for this community string.
Status
The status of this community access entry.
show snmptrap
This command displays SNMP trap receivers. Trap messages are sent across a network to an
SNMP Network Manager. These messages alert the manager to events occurring within the switch
or on the network. Six trap receivers are simultaneously supported.
Format
show snmptrap
Mode
Privileged EXEC
SNMP Trap Name
The community string of the SNMP trap packet sent to the trap
manager. This may be up to 16 alphanumeric characters. This
string is case sensitive.
IP Address
The IP address to receive SNMP traps from this device. Enter
four numbers between 0 and 255 separated by periods.
Status
A pull down menu that indicates the receiver's status (enabled or
disabled) and allows the administrator/user to perform actions on
this user entry:
Enable
- send traps to the receiver
Disable
- do not send traps to the receiver.
Delete
- remove the table entry.
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
Mode
Privileged EXEC
Authentication Flag
May be enabled or disabled. The factory default is enabled. Indi-
cates whether authentication failure traps will be sent.
Link Up/Down Flag
May be enabled or disabled. The factory default is enabled. Indi-
cates whether link status traps will be sent.
Page 97 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-29
202-10088-01, March 2005
Multiple Users Flag
May be enabled or disabled. The factory default is enabled. Indi-
cates 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. The factory default is enabled. Indi-
cates whether spanning tree traps will be sent.
Broadcast Storm Flag
May be enabled or disabled. The factory default is enabled. Indi-
cates whether broadcast storm traps will be sent.
snmp-server community
This command adds (and names) a new SNMP community. A community name is a name
associated with the switch and with a set of SNMP managers that manage it with a specified
privileged level. The length of name can be up to 16 case-sensitive characters.
Note:
Community names in the SNMP community table must be unique. When making multiple
entries using the same community name, the first entry is kept and processed and all duplicate
entries are ignored.
Default
Two default community names: Public and Private. You can
replace these default community names with unique identifiers
for each community. The default values for the remaining four
community names are blank.
Format
snmp-server community <
name>
Mode
Global Config
no snmp-server community
This command removes this community name from the table. The name is the community name to
be deleted.
Format
no snmp-server community <
name>
Mode
Global Config
Page 98 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-30
Switching Commands
202-10088-01, March 2005
snmp-server community ipaddr
This command sets a client IP address for an SNMP community. The address is the associated
community SNMP packet sending address and is used along with the client IP mask value to
denote a range of IP addresses from which SNMP clients may use that community to access the
device. A value of 0.0.0.0 allows access from any IP address. Otherwise, this value is ANDed with
the mask to determine the range of allowed client IP addresses. The name is the applicable
community name.
Default
0.0.0.0
Format
snmp-server community ipaddr
<ipaddr> <name>
Mode
Global Config
no snmp-server community ipaddr
This command sets a client IP address for an SNMP community to
0.0.0.0
. The name is the
applicable community name.
Format
no snmp-server community ipaddr
<name>
Mode
Global Config
snmp-server community ipmask
This command sets a client IP mask for an SNMP community. The address is the associated
community SNMP packet sending address and is used along with the client IP address value to
denote a range of IP addresses from which SNMP clients may use that community to access the
device. A value of 255.255.255.255 will allow access from only one station, and will use that
machine's IP address for the client IP Address. A value of 0.0.0.0 will allow access from any IP
address. The name is the applicable community name.
Default
0.0.0.0
Format
snmp-server community ipmask <
ipmask> <name>
Mode
Global Config
no snmp-server community ipmask
This command sets a client IP mask for an SNMP community to
0.0.0.0
. The name is the
applicable community name. The community name may be up to 16 alphanumeric characters.
Format
no snmp-server community ipmask <
name>
Page 99 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-31
202-10088-01, March 2005
Mode
Global Config
snmp-server community mode
This command activates an SNMP community. If a community is enabled, an SNMP manager
associated with this community manages the switch according to its access right. If the community
is disabled, no SNMP requests using this community are accepted. In this case the SNMP manager
associated with this community cannot manage the switch until the Status is changed back to
Enable.
Default
The default private and public communities are enabled by
default. The four undefined communities are disabled by default.
Format
snmp-server community mode <
name>
Mode
Global Config
no snmp-server community mode
This command deactivates an SNMP community. If the community is disabled, no SNMP requests
using this community are accepted. In this case the SNMP manager associated with this
community cannot manage the switch until the Status is changed back to Enable.
Format
no snmp-server community mode <
name>
Mode
Global Config
snmp-server community ro
This command restricts access to switch information. The access mode is read-only (also called
public).
Format
snmp-server community
ro <name>
Mode
Global Config
snmp-server community rw
This command restricts access to switch information. The access mode is read/write (also called
private).
Format
snmp-server community
rw <name>
Mode
Global Config
Page 100 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-32
Switching Commands
202-10088-01, March 2005
snmp-server enable traps
This command enables the Authentication Flag.
Default
enabled
Format
snmp-server enable traps
Mode
Global Config
no snmp-server enable traps
This command disables the Authentication Flag.
Format
no snmp-server enable traps
Mode
Global Config
snmp-server enable traps bcaststorm
This command enables the broadcast storm trap. When enabled, broadcast storm traps are sent
only if the broadcast storm recovery mode setting associated with the port is enabled .
Default
enabled
Format
snmp-server enable traps bcaststorm
Mode
Global Config
no snmp-server enable traps bcaststorm
This command disables the broadcast storm trap. When enabled, broadcast storm traps are sent
only if the broadcast storm recovery mode setting associated with the port is enabled .
Format
no snmp-server enable traps bcaststorm
Mode
Global Config
snmp-server enable traps linkmode
This command enables Link Up/Down traps for the entire switch. When enabled, link traps are
sent only if the Link Trap flag setting associated with the port is enabled (see ‘snmp trap link-
status’ command).
Default
enabled
Format
snmp-server enable traps linkmode

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top