Operation Manual

199
IP Commands
E-DOC-CTC-20040210-0030 v1.0
ip ifconfig
Configure IP interface parameters.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:
ip ifconfig intf = <interface name>
[mtu = <number{68-20000}>]
[status = <{down|up}>]
[hwaddr = <hardware-address>]
[group = <{wan|local|lan}> or number]
[linksensing = <{off|on}>]
intf The IP interface name. REQUIRED
mtu A number between 68 and 20000.
Represents the maximum transmission unit, i.e. 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.
OPTIONAL
status The administrative status of the interface.
Choose between:
down
up.
OPTIONAL
hwaddr The hardware address (e.g. the Ethernet MAC address) of this IP interface. OPTIONAL
group The group to which this interface belongs (e.g. for oriented firewalling). OPTIONAL
linksensing The IP interface's awareness of link state transitions. OPTIONAL
=>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:cf
2 ETHoA 0 1500 0 0 0 UP 00:80:9f:24:ab:cf
5 cip0 0 9180 0 0 0 UP
=>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:cf
2 ETHoA 0 1500 0 0 0 UP 00:80:9f:24:ab:cf
5 cip0 0 9180 0 0 0 UP
=>
ip config Show/set global IP stack configuration options.