Get Debug Output From Dhcp-Client - Patton electronics SmartNode Series Software Configuration Manual

Software for smartnode series
Hide thumbs Also See for SmartNode Series:
Table of Contents

Advertisement

SmartWare Software Configuration Guide
Mode: interface
Step
1
node (if-ip)[ name ]#dhcp-client release
2
node (if-ip)[ name ]#dhcp-client renew
Note
If you are connected to the SmartNode by telnet over the IP interface on
which you release the DHCP lease, the connection has lost after entering the
command dhcp-client release. You need an other way (e.g. a serial connec-
tion) to connect to the SmartNode again and to enter the command dhcp-
client renew!

Get debug output from DHCP-client

This procedure describes how to enable/disable DHCP-client debug monitor
Mode: Any
Step
1
node (if-ip)[ name ]#[no] debug dhcp-client Enables / disables the DHCP-client debug monitor
Example: Enable DHCP debug monitor
This example shows how to enable the DHCP-client debug monitor and the debug output of the command
dhcp-client release and dhcp-client renew.
SN(cfg)#context ip
SN(ctx-ip)[router]#interface eth0
SN(if-ip)[eth0]#debug dhcp-client
SN(if-ip)[eth0]#dhcp-client release
01:12:28
DHCPC > router/eth0 (Rels): Unicasting DHCP release (xid 490cb56b, secs
1).
01:12:29
DHCPC > router/eth0 (Rels): Shutting down.
01:12:29
DHCPC > router/eth0 (Rels): Tearing down IP interface
2001-01-01T01:12:30 : LOGINFO
2001-01-01T01:12:30 : LOGINFO
SN(if-ip)[eth0]#dhcp-client renew
01:17:46
DHCPC > router/eth0 (Init): Tearing down IP interface
01:17:46 DHCPC > router/eth0 (Init): Broadcasting DHCP discover (xid 0f839e56, secs
0).
01:17:46
DHCPC > router/eth0 (Init):
01:17:47
DHCPC > router/eth0 (Slct): Got offer from 172.16.1.10 for IP
172.16.224.102
01:17:47
DHCPC > router/eth0 (Slct): Selected offer for 172.16.224.102
01:17:47
DHCPC > router/eth0 (Slct): Broadcasting DHCP request (select) (xid
6ff42c38, secs 1).
2001-01-01T01:17:47 : LOGINFO
172.16.224.102
01:17:47
DHCPC > router/eth0 (Rqst): DHCP ACK received.
01:17:47
DHCPC > router/eth0 (Rqst): Lease is valid for 28800 seconds
DHCP-client configuration tasks
Command
Command
: Link down on interface eth0.
: Link up on interface eth0.
: router/eth0 (Rqst): Got DHCP lease for
Purpose
Releases DHCP lease. (See note)
Gets a new DHCP lease from the DHCP-server
Requesting IP address 172.16.224.102
20 • DHCP configuration
Purpose
239

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SmartNode Series and is the answer not in the manual?

This manual is also suitable for:

Smartware release 2.20

Table of Contents