1,Use the following command to display the link operating mode and MAC address of the network interface.
ifmodeshow interface
interface:- Specifies the name of the interface, Valid interfaces are eth0,eth3 and bond0(valid only on the CP of a DCX or a DCX-S4).
On the CP of a Brocade DCX or DCX-S4, this command supports eth0 and eth3 as interface parameters. On all other plat-forms, only eth0 is supported.
example:-
swprod10:admin> ifmodeshow eth0
Link mode: negotiated 100baseTx-HD, link ok
MAC Address: 00:61:69:D2:23:32
2,Use the following command to set the link operating mode for a net- work interface.
ifmodeset interface
It is recommended that you only use this command from the serial console port.
An operating mode is confirmed with a "y" or "yes" at the prompt.
example:-
swprod10:admin> ifmodeset eth0
Are you sure you really want to do this? (yes, y, no, n): [no] y
Proceed with caution.
Auto-negotate (yes, y, no, n): [no] y
Advertise 100 Mbps / Full Duplex (yes, y, no, n): [yes] y
Advertise 100 Mbps / Half Duplex (yes, y, no, n): [yes] y
Advertise 10 Mbps / Full Duplex (yes, y, no, n): [yes] y
Advertise 10 Mbps / Half Duplex (yes, y, no, n): [yes] y
Committing configuration...done.
swprod10:admin>
No comments :
Post a Comment