Deployment Guide

Fabric OS Command Reference 489
53-1003131-01
ifModeShow
2
ifModeShow
Displays the link operating mode and MAC address for a network interface.
SYNOPSIS ifmodeshow interface
DESCRIPTION Use this command to display the link operating mode and MAC address for a network interface.
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.
The CP on a Brocade DCX or DCX-S4 has two external physical Ethernet management ports, eth1 and
eth3. Both interfaces are bonded together to form a single logical interface, bond0.
The management port IP addresses are assigned to the logical interface, bond0. Link layer Ethernet
operations are applied to the physical interfaces, eth0 and eth3.
Ethernet bonding provides link layer redundancy using the active-standby failover model. The two
Ethernet ports must be part of the same subnet. By default, all traffic is transmitted over the active
Ethernet port, eth0. The second Ethernet port, eth3, acts as a standby interface and no traffic is
transmitted over it. When the active Ethernet port is disconnected, the alternate Ethernet port becomes
active. When the system reboots, the Ethernet port eth0 is always made active if it is connected.
When executed with the bond0 operand, ifModeShow displays the active Ethernet port
NOTES 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
Specifies the name of the interface, optionally enclosed in double quotation
marks. Valid interfaces include the following:
eth0 | eth3
Displays the link operating mode of the specified interface. The value eth3 is valid
only on the CP of a Brocade DCX or DCX-4S.
bond0
Displays the active Ethernet port. This operand is valid only on the CP of a DCX
or a DCX-S4.
EXAMPLES To display the link operating mode for the eth0 Ethernet interface:
switch:admin> ifmodeshow eth0
Link mode: negotiated 100baseTx-HD, link ok
MAC Address: 00:60:69:D0:24:40
To display the link operating mode for the eth3 Ethernet interface (in the example, the management port
is disconnected):
switch:admin> ifmodeshow eth3
Link mode: no link
MAC Address: 00:05:1E:40:62:30