
E-DOC-CTC-20061027-0003v2.0
IP Commands
448
ip ipconfig
Modify an IP address configuration.
SYNTAX:
where:
EXAMPLE:
ip ipconfig addr = <ip-address>
[preferred = <{disabled | enabled}>]
[primary = <{disabled | enabled}>]
addr The IP address to be configured. REQUIRED
preferred Make this IP address the preferred address for that subnet (enabled) or
not (disabled).
The default is disabled.
OPTIONAL
primary Make this IP address the primary address for the interface (enabled) or
not (disabled).
The default is disabled.
OPTIONAL
=>ip iplist
Interface Type IP-address Point-to-point/Mask
1 eth0 Ethernet 10.0.0.138 255.255.255.0
1 eth0 Ethernet 169.254.141.11 255.255.0.0
0 loop Ethernet 127.0.0.1 255.0.0.0
=>ip ipconfig addr=169.254.141.11 preferred=enabled primary=enabled
=>ip iplist
Interface Type IP-address Point-to-point/Mask
1 eth0 Ethernet 10.0.0.138 255.255.255.0
1 eth0 Ethernet *169.254.141.11 255.255.0.0
0 loop Ethernet 127.0.0.1 255.0.0.0
=>
iThe primary IP address is marked with “*” in the list.