ip ifconfig
Configure IP interface parameters.
SYNTAX:
ip ifconfig
intf = <string>
[mtu = <number{68-20000}>]
[status = <{down | up}>]
[hwaddr = <hardware-address>]
[group = <{wan | local | lan}> or number]
[linksensing = <{off | on}>]
where:
intf
The IP interface name.
mtu
A number between 68 and 20000.
Represents the maximum transmission unit, in other words, the maximum packet
size (including IP header), to use on this interface.
The default value depends on the connection and packet service for which the
interface was created.
status
The administrative status of the interface.
Choose between:
down
up.
hwaddr
The hardware address (the Ethernet MAC address) of this IP interface.
group
The group to which this interface belongs (for example for oriented firewalling).
linksensing
The IP interface's awareness of link state transitions.
EXAMPLE:
=>ip iflist
Interface
GRP
MTU
0
loop
1
1500
1
eth0
2
3000
2
ETHoA
0
1500
5
cip0
0
9180
=>ip ifconfig intf=eth0 mtu=1500
=>ip iflist
Interface
GRP
MTU
0
loop
1
1500
1
eth0
2
1500
2
ETHoA
0
1500
5
cip0
0
9180
=>
RELATED COMMANDS:
ip config
E-DOC-CTC-20040907-0010 v1.0
RX
TX
TX-DROP
116
0
0
21045795
1019664
0
0
0
0
0
0
0
RX
TX
TX-DROP
116
0
0
21054963
1025417
0
0
0
0
0
0
0
Show/set global IP stack configuration options.
STATUS
HWADDR
UP
UP
00:80:9f:24:ab:cf
UP
00:80:9f:24:ab:cf
UP
STATUS
HWADDR
UP
UP
00:80:9f:24:ab:cf
UP
00:80:9f:24:ab:cf
UP
IP Commands
REQUIRED
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
185