Ifmodeset - Brocade Communications Systems 8 Command Reference Manual

Fabric os command reference manual supporting fabric
Hide thumbs Also See for 8:
Table of Contents

Advertisement

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"
Examples
To advertise all modes of operation, when not entering this command through the serial console
port, follow this scenario for the ifModeSet command:
Fabric OS Command Reference
53-1001764-02
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.
switch:admin> ifmodeset eth0
Exercise care when using this command.
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
ifModeSet
Forcing the link to
2
403

Advertisement

Table of Contents
loading

Table of Contents