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

Page 300

Advertising
background image

270

Fabric OS Command Reference

53-1003131-01

ethIf

2

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.

To check the link operating attributes:

switch:admin> ethif --show eth0

Link mode: negotiated 100baseTx-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:56 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

SEE ALSO

ifModeSet

,

ifModeShow

,

ipAddrSet

,

ipAddrShow

Advertising