beautypg.com

Ifmodeset – Dell POWEREDGE M1000E User Manual

Page 435

background image

Fabric OS Command Reference

403

53-1001764-02

ifModeSet

2

ifModeSet

Sets the link operating mode for a network interface.

Synopsis

ifmodeset [“interface”]

Description

Use this command to set the link operating mode for a network interface.

An operating mode is confirmed with a y or yes at the prompt. If the operating mode selected
differs from the current mode, the change is saved and the command exits.

Changing the link mode is not supported for all network interfaces or for all Ethernet network
interfaces. On the CP of a Brocade DCX or DCX-S4, this command supports eth0 and eth3 as
interface parameters. On all other platforms, only eth0 is supported.

When selecting autonegotiation, you can choose the specific link operating modes that are
advertised to the link partner. At least one common link operating mode must be advertised by
both sides of the link.

When forcing the link operating mode, both sides of the link must be forced to the same mode. The
link does not work reliably if one side is set to autonegotiate and the other side is set to forced
mode.

Exercise care when using this command. Forcing the link to an operating mode not supported by
the network equipment to which it is attached might result in an inability to communicate with the
system through its Ethernet interface. It is recommended that this command be used only from the
serial console port. When used through an interface other than the serial console port, the
command displays a warning message and prompts for verification before continuing. This warning
is not displayed and you are not prompted when the command is used through the serial console
port.

For dual-CP systems, the ifModeSet command affects only the CP you are currently logged in to. To
set the link operating mode on the active CP, you must issue this command on the active CP; to set
the link operating mode on the standby CP, you must issue this command on the standby CP.
During failover, the link operating mode is retained separately for each CP, because the physical
links might be set to operate in different modes.

Note

The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS commands" and Appendix A, "Command
Availability"
for details.

Operands

This command has the following operand:

interface

Specify the name of the interface, optionally enclosed in double quotation
marks. When issued on a Brocade DCX or a DCX-S4 CP, valid interfaces are
eth0 and eth3. On all other platforms, only eth0 is supported.

Examples

To advertise all modes of operation, when not entering this command through the serial console
port, follow this scenario for the ifModeSet command:

switch:admin>

ifmodeset eth0

Exercise care when using this command. Forcing the link to

an operating mode not supported by the network equipment to

which it is attached may result in an inability to

communicate with the system through its ethernet interface.

It is recommended that you only use this command from the