○
○
○
○
○
3 — Configuring Your Router
3-18
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
3.7
Setting Up SNMP
3.7.1
Read/Write Access
The following illustrates the commands for write/read access.
i)
Add this command only when no IP has been assigned to the ether interface
of your router. The IP should have the same subnet as the Ethernet card and
must be unique in the network.:
ip device add lan ether //edd
192.168.1.1
ip subnet add lan.home .
192.168.1.1 ff:ff:ff:0
For example,
IP for Ethernet card : Dynamic IP obtained from far end server, range:
192.168.1.2
to
192.168.1.100
IP for router
: Fixed at
192.168.1.1
ii)
To enable SNMP
read and write
access:
ip snmp access write
stm
4
192.168.1.11
5
(Assuming the IP address of the PC that you want to enable SNMP from is
192.168.1.11
.)
OR
To enable SNMP
read
access:
ip snmp access read
public
4
192.168.1.11
5
(Assuming the IP address of the PC that you want to enable SNMP from is
192.168.1.11
.)
iii)
To save:
config save
restart
4 SNMP community names given by your System Administrator
5 Specifying this optional IP address will permit users to SNMP only from this specific
PC with the correct password.