D-Link DI-1750 Reference Manual page 45

Hide thumbs Also See for DI-1750:
Table of Contents

Advertisement

4.1.9 Example of configuration
1. Example 1:
snmp-server community public RO
snmp-server community private RW
snmp-server host 192.168.10.2 public
There are two community character strings that to be configured in this example. One is "public" that
has the authority to read all of MIB variable; another is "private" that has the authority to read/write all of
MIB variable. User is able to read the MIB variable in Router by "public", and read the variable or write
the writable variable in Router by "private". While the Router is need to send trap message, it is also
assign that use public send trap message to 192.168.20.2. For example, the Router will send trap
message "linkdown" to 192.168.20.2 when a port of Router is down.
2. Example 2:
snmp-server community public view sysmib RO
snmp-server community private RW nativehost
snmp-server contact D-Link@D-Link.com.cn
snmp-server host 192.168.10.2 public snmp
snmp-server location 405-D-Link
snmp-server view sysmib system included
ip access-list standard nativehost
permit 192.168.10.2 255.255.255.255
In this example, the community character string "public" only has the authority to read the MIB variable
of the Router's system group. Only the host with IP address 192.168.10.2 is allowed to read/write the
MIB variable of Router's system group by the community character string "private". Only the "snmp"
trap message is sent to the host with IP address 192.168.10.2. The trap message "authentication" or
"configure" will not to be sent to host. To set the contact information asD-Link@D-Link.com.cn with
location of 405-D-Link, that is, D-Link@D-Link.com.cn is the value of MIB variable "sysContact" in
system group, and the value of sysLocation is 405-D-Link.
4.2 Configuring the CDP
This chapter describes how to configure the CDP function of D-link router.
CDP is a media and protocol-independent protocol that can be used to detect all the devices directly
attached to the router. Network management applications can retrieve the device type and
SNMP-agent address of neighboring device using CDP.
The CDP function of D-link router can implement the detection of neighboring devices. However, it can
not query neighboring devices by SNMP. Hence, the D-link router can only be put on the network end,
otherwise, it wouldn't get the whole network topology structure.
The CDP can configured on all the SANP(such as Ethernet, HDLC, Frame Relay, PPP and so on)
4.2.1 CDP default configuration
CDP global configurative mode
CDP interface configurative mode
CDP clock(message interval)
CDP holdtime
Model Name
function
Default configuration
Disable
Disable
60 seconds
180 seconds
- 43 -

Advertisement

Table of Contents
loading

This manual is also suitable for:

Di-2621Di-2630Di-3660

Table of Contents