user manual

5 IP Commands
91 / 138
3EC 16982 AGAA TCZZA Ed. 01
ip ifconfig
Configure interface parameters.
SYNTAX:
ip ifconfig intf = <interface name>
[mtu = <number{293-20000}>]
[status = <{down|up}>]
[hwaddr = <hwaddress>]
[group = <number>]
intf Always specify eth0. REQUIRED
[mtu] A number between 293 and 20000.
Represents the maximum transmission unit, i.e. the maximum packet
size (including IP header) to use.
OPTIONAL
[status] The administrative status of the interface.
Choose between:
down
up
OPTIONAL
[hwaddr] The hardware address (e.g. the Ethernet MAC address). OPTIONAL
[group] The group this interface belongs to.
Do not use this parameter. For internal use only.
OPTIONAL
EXAMPLE:
=>ip iflist
Interface GRP MTU RX TX TX–DROP STATUS HWADDR
0 loop 1 1500 116 0 0 UP
1 eth0 2 3000 21045795 1019664 0 UP 00:80:9f:24:ab:c
f
=>ip ifconfig intf=eth0 mtu=1500
=>ip iflist
Interface GRP MTU RX TX TX–DROP STATUS HWADDR
0 loop 1 1500 116 0 0 UP
1 eth0 2 1500 21054963 1025417 0 UP 00:80:9f:24:ab:c
f
=>
RELATED COMMANDS:
ip config Show/set global IP stack configuration options.