H3C Campus Fixed-Port Switches CLI-Based Quick Start Configuration Guide-6W101

HomeSupportQuick StartH3C Campus Fixed-Port Switches CLI-Based Quick Start Configuration Guide-6W101
Table of Contents
Related Documents
09-Ethernet Interface Quick Start Configuration Guide

Ethernet Interface Quick Start Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2022 New H3C Technologies Co., Ltd. All rights reserved.

No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd.

Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.

The information in this document is subject to change without notice.



Activating the copper port or fiber port of a combo interface

Introduction

The following information uses an example to describe the basic procedure for activating the copper port or fiber port of a combo interface.

Network configuration

Activate the copper port or fiber port of a combo interface at the CLI.

Restrictions and guidelines

A combo interface is a logical interface that physically comprises one fiber combo port and one copper combo port on the device panel. The two ports share one forwarding interface and one interface view. As a result, they cannot work simultaneously. When you activate one port, the other port is automatically disabled.

Procedure

# Activate the copper combo port of GigabitEthernet 1/0/1, and connect a twisted pair cable to the interface.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] combo enable copper

[Sysname-GigabitEthernet1/0/1] quit

# Activate the fiber combo port of GigabitEthernet 1/0/1, and connect a fiber to the interface.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] combo enable fiber

[Sysname-GigabitEthernet1/0/1] quit

Verifying the configuration

# When a combo interface is connected to a cable or transceiver module, use the display interface command to view information about the interface. If Media type is twisted pair is displayed in the command output, the copper port is activated. If not, the fiber port is activated.

[Sysname] display interface GigabitEthernet 1/0/1

GigabitEthernet1/0/1

Current state: DOWN

Line protocol state: DOWN

IP packet frame type: Ethernet II, hardware address: 00ff-00ff-0139

Description: GigabitEthernet1/0/1 Interface

Bandwidth: 1000000 kbps

Loopback is not set

Media type is twisted pair

Port hardware type is 1000_BASE_T

Unknown-speed mode, unknown-duplex mode

Link speed type is autonegotiation, link duplex type is autonegotiation

Configuration files

#

interface GigabitEthernet1/0/1

 port link-mode bridge

 combo enable copper

#

Related documentation

·     Ethernet interface configuration in the Layer 2—Ethernet switching configuration guide for the device.

·     Ethernet interface commands in the Layer 2—Ethernet switching command reference for the device.

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网