Lenovo RD220 User Guide - Page 88

Description, Configuration commands, dhcpinfo command, Syntax, Example

Page 88 highlights

Description Use the console command to start a serial redirect console session to the designated serial port of the IMM. Configuration commands The configuration commands are as follows: v dhcpinfo v ifconfig v ldap v ntp v passwordcfg v portcfg v slp v srcfg v ssl v tcpcmdmode v timeouts v usbeth v users dhcpinfo command Syntax dhcpinfo eth0 Description Use the dhcpinfo command to view the DHCP server-assigned IP configuration for eth0, if the interface is configured automatically by a DHCP server. You can use the ifconfig command to enable or disable DHCP. Example system> dhcpinfo eth0 -server 192.168.70.29 -n IMMA00096B9E003A -i 192.168.70.202 -g 192.168.70.29 -s 255.255.255.0 -d linux-sp.raleigh.lenovo.com -dns1 192.168.70.29 -dns2 0.0.0.0 -dns3 0.0.0.0 system> The following table describes the output from the example. Option -server -n -i -g -s Description DHCP server that assigned the configuration Assigned host name Assigned IP address Assigned gateway address Assigned subnet mask 82 Integrated Management Module: User Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120

Description
Use the
console
command to start a serial redirect console session to the
designated serial port of the IMM.
Configuration commands
The configuration commands are as follows:
v
dhcpinfo
v
ifconfig
v
ldap
v
ntp
v
passwordcfg
v
portcfg
v
slp
v
srcfg
v
ssl
v
tcpcmdmode
v
timeouts
v
usbeth
v
users
dhcpinfo command
Syntax
dhcpinfo eth0
Description
Use the
dhcpinfo
command to view the DHCP server-assigned IP configuration for
eth0, if the interface is configured automatically by a DHCP server. You can use the
ifconfig
command to enable or disable DHCP.
Example
system>
dhcpinfo eth0
-server 192.168.70.29
-n IMMA00096B9E003A
-i 192.168.70.202
-g 192.168.70.29
-s 255.255.255.0
-d linux-sp.raleigh.lenovo.com
-dns1 192.168.70.29
-dns2 0.0.0.0
-dns3 0.0.0.0
system>
The following table describes the output from the example.
Option
Description
-server
DHCP server that assigned the configuration
-n
Assigned host name
-i
Assigned IP address
-g
Assigned gateway address
-s
Assigned subnet mask
82
Integrated Management Module: User Guide