beautypg.com

Configuring common ethernet interface settings, Configuration prerequisites, Changing the active port of a combo interface – H3C Technologies H3C S5560 Series Switches User Manual

Page 16

background image

2

Configuring common Ethernet interface settings

This section describes the settings common to Layer 2 and Layer 3 Ethernet interfaces. You can set an
Ethernet interface as a Layer 3 interface by using the port link-mode route command. For more

information, see "

Configuring the link mode of an Ethernet interface

." For more information about the

settings specific to Layer 2 and Layer 3 Ethernet interfaces, see "

Configuring a Layer 2 Ethernet interface

"

and "

Configuring a Layer 3 Ethernet interface

."

Configuring a combo interface (only applicable to

S5560-30F-EI switches)

A combo interface is a logical interface that physically contains one fiber combo port and one copper

combo port. The two ports share one forwarding channel and one interface view. As a result, they cannot

work simultaneously. When you activate one port, the other port is automatically disabled. In the
interface view, you can activate the fiber or copper combo port, and configure other port attributes such

as the interface rate and duplex mode.
For more information about the number of combo interfaces, see the installation guide.

Configuration prerequisites

Use the display interface command to determine which port (fiber or copper) of each combo interface is
active:

If the copper port is active, the output includes "Media type is twisted pair."

If the fiber port is active, the output does not include this information.

Also, you can use the display this command in the view of each combo interface to display the combo

interface configuration:

If the fiber port is active, the combo enable fiber command exists in the output.

If the copper port is active, the combo enable fiber command does not exist in the output.

Changing the active port of a combo interface

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface
view.

interface interface-type interface-number

N/A

3.

Activate the copper
combo port or fiber

combo port.

combo enable { copper | fiber }

By default, the copper combo
port is active.