Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.3.0 (53-1001337-01, July 2009)

Fabric OS Command Reference 617
53-1001337-01
portcfgGeMediaType
2
portcfgGeMediaType
Configures the media type for a GbE port.
Synopsis portcfggemediatype GbE_port media_type
portcfggemediatype --help
Description Use this command to configure the media type for the ge0 and ge1 ports on the Brocade 7800
platform. Two media types are supported, copper and optical (sfp).
When a media type is not specified, this command displays the current media type for the specified
GbE port. Alternately, use portCfgShow to determine the current media type.
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.
This command is supported only on the Brocade 7800 and only on ge1 and ge0 ports. On all other
platforms or ports, this command returns a “not supported message.”
Operands This command has the following operands:
GbE_Port Specifies the GbE port. Valid ports are ge0 and ge1. This operand is required.
media_type Specifies the media type. Valid media types are copper and optical. This
operand is optional; if omitted, the current media type is displayed for the
specified GbE port.
--help Displays the command usage.
Examples To configure ge1 in optical mode:
switch:admin> portcfggemediatype ge1 optical
To display the current configuration:
switch:admin> portcfggemediatype ge1
Port ge1 is configured in optical mode
See Also portCfgShow