RTD Embedded Technologies, Inc.
|
www.rtd.com
51
LAN35MH08HR & LAN35ME08HR User’s Manual
(config)#
ip dhcp server<Enter>
(config)#
ip dhcp pool TESTPOOL<Enter>
(config-dhcp-pool)#
network 192.168.0.10 255.255.255.0<Enter>
(config-dhcp-pool)#
default-router 192.168.0.1<Enter>
(config-dhcp-pool)#
dns-server 8.8.8.8 8.8.4.4<Enter>
(config-dhcp-pool)#
lease 1 0 0<Enter>
(config-dhcp-pool)#
exit<Enter>
(config)#
ip dhcp excluded-address 192.168.0.1 192.168.0.10<Enter>
(config)#
interface vlan 1<Enter>
(config-if-vlan)#
ip address 192.168.0.5 255.255.255.0<Enter>
(config-if-vlan)#
ip dhcp server<Enter>
(config-if-vlan)#
end<Enter>
#
To verify that DHCP is working connect a computer with DHCP enabled to a port on the switch and verify that it is assigned an IP address. The
example settings will provide an IP address as follows.
IPv4 Address:
192.168.0.11 (last one will be in the range of 11
–
255)
Subnet Mask:
255.255.255.0
Default Gateway:
192.168.0.1
6.11
Enabling SNMP server
SNMP is disabled by default by RTD Embedded Technologies. SNMP can be enabled by performing the following command via ICLI:
#
configure terminal<Enter>
(config)#
snmp-server<Enter>
(config)#
exit<Enter>
#
To verify that SNMP has been enabled, run the
show snmp
command and look at the first line of the configuration shown.
#
show snmp<Enter>
SNMP Configuration
SNMP Mode : enabled
SNMP Version : 2c
Read Community : public
Write Community : private
Trap Mode : disabled
6.12
Setting the Timer Tick Output
Here are some examples of how to configure the timer tick on CN26 pin 23 or the SMA connector in IDAN. This signal is 2.5LVTTL, see
specifications.
6.12.1
O
UTPUT
1
PPS
ON
T
IMER
T
ICK
1 PPS is a one pulse per second signal that is about 30 nS wide with a period of 1 second.
#
config terminal<Enter>
(config)#
ptp ext output ltc-freq<Enter>
(config)#
end<Enter>
#
6.12.2
O
UTPUT A SQUARE
-
WAVE ON
T
IMER
T
ICK
The timer tick output can generate a squarewave with a frequency range of 1 Hz to 25,000,000 Hz. Here is an example to generate a 10K Hz
squarewave.
#
config terminal<Enter>
(config)#
ptp ext osc ext 10000<Enter>