Chapter 4: Commands for CLI configuration
snmp-server
Set SNMP server's configurations
community
Set the SNMP community
v2c
SNMPv2c
<comm>
Community word
ro
Read only
rw
Read write
v3
SNMPv3
<V3Comm : word127>
Community word
<ipv4_addr>
IPv4 address
<ipv4_netmask>
IPv4 netmask
Default:
None
Usage Guide:
To configure the
Read / Write / Source network
Community
of
SNMP
Example:
To configure the
Read / Write / Source network
Community
(below table) of
SNMP
Switch# configure terminal
Switch (config)#
snmp-server community v3 public
192.168.0.15 255.255.255.0
snmp-server contact
Command:
snmp-server contact <line255>
snmp-server
Set SNMP server's configurations
contact
Set the SNMP server's contact string
<line255>
contact string
Default:
None
Usage Guide:
To configure the
sysContact string
of
SNMP
Example:
To configure the
sysContact string
(
Server123
) of
SNMP
Switch# configure terminal
Switch (config)#
snmp-server contact Server123
snmp-server engine-id
Command:
NS3500-24T-4C Managed Switch Command Guide
219