Ifconfig Command - Lenovo RD220 - ThinkServer - 3798 User Manual

Integrated management module user guide
Hide thumbs Also See for RD220 - ThinkServer - 3798:
Table of Contents

Advertisement

Option
-d
-dns1
-dns2
-dns3

ifconfig command

Syntax
ifconfig eth0 [options]
options:
-state interface_state
-c config_method
-i static_ip_address
-g gateway_address
-s subnet_mask
-n hostname
-r data_rate
-d duplex_mode
-m max_transmission_unit
-l locally_administered_MAC
Description
Use the ifconfig command to configure the Ethernet interface. Type ifconfig eth0
to display the current Ethernet interface configuration. To change the Ethernet
interface configuration, type the options, followed by the values. To change the
interface configuration, you must have at least Adapter Networking and Security
Configuration authority.
The following table shows the arguments for the options.
Option
Description
-state
Interface state
-c
Configuration method
-i
Static IP address
-g
Gateway address
-s
Subnet mask
-n
Host name
-r
Data rate
-d
Duplex mode
-m
MTU
-l
LAA
Example
system> ifconfig eth0
-state enabled
-c dthens
-i 192.168.70.125
Description
Assigned domain name
Primary DNS server IP address
Secondary DNS IP address
Tertiary DNS server IP address
Values
disabled, enabled
dhcp, static, dthens (dthens corresponds to the try
dhcp server, if it fails use static config option on the
Web interface)
Valid IP address format
Valid IP address format
Valid IP address format
String of up to 63 characters. Can include letters,
digits, periods, underscores, and hyphens.
10, 100, auto
full, half, auto
Numeric between 60 and 1500
MAC address format. Multicast addresses are not
allowed (the first byte must be even).
Chapter 7. Command-line interface
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

Thinkserver td200Thinkserver td200xThinkserver series

Table of Contents