N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (ISCLI) 90
System SNMP configuration
The switch software supports SNMP-based network management. In SNMP model of network management, a
management station (client/manager) accesses a set of variables known as MIBs (Management Information Base)
provided by the managed device (agent). If you are running an SNMP network management station on your
network, you can manage the switch using the following standard SNMP MIBs:
MIB II (RFC 1213)
Ethernet MIB (RFC 1643)
Bridge MIB (RFC 1493)
An SNMP agent is a software process on the managed device that listens on UDP port 161 for SNMP messages.
Each SNMP message sent to the agent contains a list of management objects to retrieve or to modify.
SNMP parameters that can be modified include:
System name
System location
System contact
Use of the SNMP system authentication trap function
Read community string
Write community string
The following table describes the System SNMP Configuration commands. The following sections provide more
detailed information and commands.
Table 83 System SNMP Configuration commands
Command
Description
[no] hostname
<
1-64
characters
>
Configures the name for the system. The name can have a maximum of 64
characters.
Command mode
: Global configuration
[no] snmp-server
location
<
1-64
characters
>
Configures the name of the system location. The location can have a maximum of 64
characters.
Command mode
: Global configuration
[no] snmp-server
contact
<
1-64
characters
>
Configures the name of the system contact. The contact can have a maximum of 64
characters.
Command mode
: Global configuration
snmp-server read-
community
<
1-32
characters
>
Configures the SNMP read community string. The read community string controls
SNMP ―get‖ access to the switch. It can have a maximum of 32 characters. The
default read community string is
public
.
Command mode
: Global configuration
snmp-server write-
community
<
1-32
characters
>
Configures the SNMP write community string. The write community string controls
SNMP ―set‖ and ―get‖ access to the switch. It can have a maximum of 32 characters.
The default write community string is
private
.
Command mode
: Global configuration
snmp-server timeout
<
1-30
>
Sets the timeout value for the SNMP state machine. The range is 1-30 minutes. The
default value is 5 minutes.
Command mode
: Global configuration
[no] snmp-server
authentication-trap
enable
Enables or disables the use of the system authentication trap facility. The default
setting is disabled.
Command mode
: Global configuration
[no] snmp-server link-
trap <
1-24
> enable
Enables or disables the sending of SNMP link up and link down traps. The default
setting is enabled.
Command mode
: Global configuration
[no] snmp-server ufd-
trap
Enables or disables the sending of Uplink Failure Detection traps. The default setting
is disabled.
Command mode
: Global configuration
show snmp-server
Displays the current SNMP configuration.
Command mode
: All