Reference Guide

208 Brocade Fabric OS Command Reference
53-1004112-02
ethIf
Examples
To reset the link operating attributes on eth0:
switch:admin> ethif --reseterror eth0
Statistics cleared for eth0
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
To view the link operating attributes on a network interface:
switch:admin> ethif --show eth0
eth0 interface:
Link mode: negotiated 1000baseT-FD, link ok
MAC Address: 00:05:1E:86:7B:79
eth0 Link encap:Ethernet HWaddr 00:05:1E:86:7B:79
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:2397 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
To set the link operating attributes on a netwrok interface:
switch:admin> ethif --set eth0 -an on -speed 100 -duplex full
an:on
speed:100
cap:full
MII_CMD:-A
ADVERTISE:Advertise
DEFMODE:yes
auto:1
MII_MODE:100baseTx-FD,
Committing configuration...done.