DGS-6604
m
media-type
CLI Reference Guide
429
media-type
Use the media-type command to configure the combo port interface medium
settings. To restore the default value, use
no media-type
command.
media-type {copper | fiber} [auto-failover]
no media-type
Default
The primary medium will be set to fiber and
auto-failover
enabled.
Command Mode
Interface configuration.
Usage Guideline
This command is only avilable for combo port interfaces.
If auto-failover is configured, in a scenario where the port only has a link on one
medium, the port will automatically select the medium. When both mediums have
links, the port will select the primary medium by configuration and automatic
failover to the other medium; when the current link fails (link status is down or line
is broken).
If auto-failover is not configured, the port medium will be forced fixed to the
primary medium no matter what the link status, and the other medium will be
inactive.
Auto-failover function can’t work when the copper medium is linked with copper
configured as the primary medium and speed 1000 with
auto-negotiation
disabled. Because 1000-forced mode is out of standard, it will be forced to send
or wait for signals to negotiate clock. The copper medium will be selected even if
the link state is down.
Examples
This example shows how configure the interface eth3.1 medium to
fiber
.
This example shows how configure the interface eth3.1 medium to
copper
and
auto-failover
enable.
Verify the settings by entering the
show interface
command.
Syntax Description
copper
Set copper as the primary medium.
fiber
Set fiber as the primary medium.
auto-failover
Configures the port to
auto-failover
from the primary medium to the other
(failover) medium, when the primary medium’s link is broken.
Switch(config)# interface eth3.1
Switch(config-if)# media-type fiber
Switch(config)# interface eth3.1
Switch(config-if)# media-type copper auto-failover