Using Simple Network Management Protocol - Lenovo RackSwitch G8264 Application Manual

For lenovo enterprise network operating system 8.4
Hide thumbs Also See for RackSwitch G8264:
Table of Contents

Advertisement

Using Simple Network Management Protocol

© Copyright Lenovo 2016
ENOS provides Simple Network Management Protocol (SNMP) version 1, version 
2, and version 3 support for access through any network management software, 
such as IBM Director or HP‐OpenView.
Note: SNMP read and write functions are enabled by default. For best security 
practices, if SNMP is not needed for your network, it is recommended that you 
disable these functions prior to connecting the switch to the network.
To access the SNMP agent on the G8264, the read and write community strings on 
the SNMP manager must be configured to match those on the switch. The default 
read community string on the switch is public and the default write community 
string is private.
The read and write community strings on the switch can be configured using the 
following commands:  
RS G8264(config)# snmp­server read­community <1‐32 characters>
‐and‐
RS G8264(config)# snmp­server write­community <1‐32 characters>
The SNMP manager must be able to reach any one of the IP interfaces on the 
switch.
For the SNMP manager to receive the SNMPv1 traps sent out by the SNMP agent 
on the switch, configure the trap host on the switch with the following commands:  
RS G8264(config)# snmp­server trap­source <trap source IP interface>
RS G8264(config)# snmp­server host <IPv4 address> <trap host community string>
To restrict SNMP access to specific IPv4 subnets, use the following commands:
RS G8264(config)# access management­network <IPv4 address> <subnet mask> snmp­ro
‐and‐
RS G8264(config)# access management­network <IPv4 address> <subnet mask> snmp­rw
For IPv6 networks, use:
RS G8264(config)# access management­network6 <IPv6 address> <IPv6 prefix length> 
snmp­ro
‐and‐
RS G8264(config)# access management­network6 <IPv6 address> <IPv6 prefix length> 
snmp­rw
Note: Subnets allowed for SNMP read‐only access must not overlap with subnets 
allowed for SNMP read‐write access.
For more information on SNMP usage and configuration, see Chapter 41, "Simple 
Network Management Protocol."
Chapter 1: Switch Administration
43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents