Alcatel Carrier Internetworking Solutions 350I ip ifconfig, Configure interface parameters SYNTAX

Models: 350I

1 138
Download 138 pages 18.92 Kb
Page 91
Image 91
ip ifconfig

5 IP Commands

ip ifconfig

Configure interface parameters.

SYNTAX:

ip ifconfig

intf = <interface name>

 

 

[mtu = <number{293-20000}>]

 

 

[status = <{downup}>]

 

 

[hwaddr = <hwaddress>]

 

 

[group = <number>]

 

 

 

 

intf

Always specify eth0.

REQUIRED

[mtu]

A number between 293 and 20000.

OPTIONAL

 

Represents the maximum transmission unit, i.e. the maximum packet

 

 

size (including IP header) to use.

 

[status]

The administrative status of the interface.

OPTIONAL

 

Choose between:

 

 

G

down

 

 

G

up

 

[hwaddr]

The hardware address (e.g. the Ethernet MAC address).

OPTIONAL

[group]

The group this interface belongs to.

OPTIONAL

 

Do not use this parameter. For internal use only.

 

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.

3EC 16982 AGAA TCZZA Ed. 01

 

91 / 138

 

 

 

Page 91
Image 91
Alcatel Carrier Internetworking Solutions 350I ip ifconfig, Configure interface parameters SYNTAX, Example, ip config