Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 299

Advertising
background image

Fabric OS Command Reference

269

53-1003131-01

ethIf

2

interface

Specifies the name of the interface, optionally enclosed in double quotation
marks. Valid interfaces include the following:

eth0 | eth3

Displays the link operating mode of the specified interface. The value eth3 is
valid only on the CP of a Brocade DCX or DCX-4S.

bond0

Displays the active Ethernet port. This operand is valid only on the CP of a
DCX or a DCX-4S.

-auto-negotiate | -an

Configures auto-negotiation.

on | off

Sets auto-negotiation on or off.

-speed speed

Configures the speed. You can configure 1000, 100, or 10 as the speed. Note that
1000 Mbps speed can be configured only when auto-negotiation is on.

-duplex

Configures whether the capability of operation is full duplex or half duplex.

--show

Displays the link operating mode for a network interface.

interface

Specifies the name of the interface, optionally enclosed in double quotation
marks. Valid interfaces include the following:

eth0 | eth3

Displays the link operating mode of the specified interface. The value eth3 is
valid only on the CP of a Brocade DCX or DCX-4S.

bond0

Displays the active Ethernet port. This operand is valid only on the CP of a
DCX or a DCX-4S.

--help

Displays the command usage.

EXAMPLES

To view the link operating attributes on bond0:

switch:admin> ethif --show bond0

bond0 interface:

bond0 includes physical interfaces: eth0 eth3

Currently Active Interface: eth0

Currently Slave Interface: eth3

Link mode: negotiated 1000baseT-FD, link ok

MAC Address: 00:05:1E:86:7B:79

bond0 Link encap:Ethernet HWaddr 00:05:1E:86:7B:79

inet addr:10.38.18.135 Bcast:10.38.31.255 Mask:255.255.240.0

UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1

RX packets:2373 errors:0 dropped:0 overruns:0 frame:0

TX packets:56 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

Advertising