beautypg.com

Configuring a combo interface, Introduction to combo interfaces, Configuration prerequisites – H3C Technologies H3C SecPath F1000-E User Manual

Page 3: Changing the active port of a combo interface, Configuring an ethernet interface

background image

2

Configuring a Combo Interface

Introduction to Combo interfaces

A Combo interface is a logical interface that comprises one optical (fiber) port and one electrical

(copper) port. The two ports share one forwarding interface and thus cannot work simultaneously. When

you enable the electrical port, the optical port is disabled automatically and vice versa.
The optical and electrical ports of a Combo interface share one interface view, in which you can activate

the optical or electrical port, and configure other port attributes, such as the interface rate and duplex
mode.

Configuration prerequisites

Find out the Combo interfaces on your device by checking the product specifications and identify

the two physical interfaces that comprise each Combo interface.

Use the display interface command to find out which port (optical or electrical) of the current

Combo interface is currently active. If the output includes “Media type is twisted pair, Port hardware

type is 1000_BASE_T”, the electrical port is active; if the output includes “Media type is not sure,
Port hardware type is No connector”, the optical port is active.

Changing the active port of a Combo interface

Follow these steps to change the active port of a Combo interface:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter the Ethernet interface view

interface interface-type

interface-number

Activate the electrical or optical
port of the Combo interface

combo enable { copper |
fiber
}

Optional
By default, the electrical port of a

Combo interface is active.

Configuring Basic Settings of an Ethernet

Interface/Subinterface

Configuring an Ethernet interface

You can set an Ethernet interface to operate in one of the following duplex modes:

Full-duplex mode (full). Interfaces operating in this mode can send and receive packets
simultaneously.

Half-duplex mode (half). Interfaces operating in this mode cannot send and receive simultaneously.

Auto-negotiation mode (auto). Interfaces operating in this mode negotiate a duplex mode with their
peers.

Similarly, you can set the speed of an Ethernet interface or enable it to automatically negotiate a speed

with its peer. For a 100-Mbps or 1000-Mbps Layer 2 Ethernet interface, you can also set speed options

for auto negotiation. The two ends can pick a speed only from the available options.
Follow these steps to configure an Ethernet interface: