User guide

TCP/IP command reference IP
4-41
iMG/RG Software Reference Manual (IPNetwork Functions)
Example --> ip set interface ip2 mtu 800
See also IP SET INTERFACE IPADDRESS
IP SET INTERFACE DHCP
IP LIST INTERFACES
4.1.8.2.44 IP SET INTERFACE DHCP
Syntax IP SET INTERFACE {<name>|<number>} DHCP {ENABLED|DISABLED}
Description This command specifies whether a named interface should obtain its configuration via
DHCP.
Options The following table gives the range of values for each option that can be specified with
this command and a Default Value (if applicable).
Example --> ip set interface ip2 dhcp enabled
See also IP SET INTERFACE IPADDRESS
IP SET INTERFACE MTU
IP LIST INTERFACES
mtu
Maximum Transmission Unit: maximum packet size
(in bytes) an interface can handle. The MTU should be set
to a value appropriate for the transport attached to the
interface (typically from 576 to 1500 bytes). For example,
Ethernet and most other transports support an MTU of
1500 bytes, whereas PPPoE supports an MTU of 1492
bytes.
1500
Option Description Default Value
name An existing IP interface. To display interface names,
use the ip list interfaces command.
N/A
number An existing IP interface. To display interface numbers,
use the ip list interfaces command. The number
appears in the first column under the heading ID.
N/A
enabled The interface obtains configuration information from
DHCP client.
Disabled
disabled The interface does not use DHCP client configura-
tion information.
Option Description Default Value