CloudEngine 6800&5800 V100R001C00 Configuration Guide - Interface Management 04.pdf

download CloudEngine 6800&5800 V100R001C00 Configuration Guide - Interface Management 04.pdf

of 48

Transcript of CloudEngine 6800&5800 V100R001C00 Configuration Guide - Interface Management 04.pdf

  • CloudEngine 6800&5800 Series SwitchesV100R001C00

    Configuration Guide - InterfaceManagement

    Issue 04Date 2013-07-10

    HUAWEI TECHNOLOGIES CO., LTD.

  • Copyright Huawei Technologies Co., Ltd. 2013. All rights reserved.No part of this document may be reproduced or transmitted in any form or by any means without prior writtenconsent of Huawei Technologies Co., Ltd. Trademarks and Permissions

    and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.All other trademarks and trade names mentioned in this document are the property of their respective holders. NoticeThe purchased products, services and features are stipulated by the contract made between Huawei and thecustomer. All or part of the products, services and features described in this document may not be within thepurchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,and recommendations in this document are provided "AS IS" without warranties, guarantees or representationsof any kind, either express or implied.

    The information in this document is subject to change without notice. Every effort has been made in thepreparation of this document to ensure accuracy of the contents, but all statements, information, andrecommendations in this document do not constitute a warranty of any kind, express or implied. Huawei Technologies Co., Ltd.Address: Huawei Industrial Base

    Bantian, LonggangShenzhen 518129People's Republic of China

    Website: http://enterprise.huawei.com

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    i

  • About This Document

    Intended AudienceThis document provides the basic concepts and configuration procedures of the interfacessupported by the device.This document is intended for:l Data configuration engineersl Commissioning engineersl Network monitoring engineersl System maintenance engineers

    Symbol ConventionsThe symbols that may be found in this document are defined as follows.

    Symbol Description

    DANGERIndicates a hazard with a high level or medium level of riskwhich, if not avoided, could result in death or serious injury.

    WARNINGIndicates a hazard with a low level of risk which, if notavoided, could result in minor or moderate injury.

    CAUTIONIndicates a potentially hazardous situation that, if notavoided, could result in equipment damage, data loss,performance deterioration, or unanticipated results.

    TIP Provides a tip that may help you solve a problem or save time.

    NOTE Provides additional information to emphasize or supplementimportant points in the main text.

    Command ConventionsThe command conventions that may be found in this document are defined as follows.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management About This Document

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    ii

  • Convention DescriptionBoldface The keywords of a command line are in boldface.Italic Command arguments are in italics.[ ] Items (keywords or arguments) in brackets [ ] are optional.{ x | y | ... } Optional items are grouped in braces and separated by

    vertical bars. One item is selected.[ x | y | ... ] Optional items are grouped in brackets and separated by

    vertical bars. One item is selected or no item is selected.{ x | y | ... }* Optional items are grouped in braces and separated by

    vertical bars. A minimum of one item or a maximum of allitems can be selected.

    [ x | y | ... ]* Optional items are grouped in brackets and separated byvertical bars. You can select one or several items, or selectno item.

    & The parameter before the & sign can be repeated 1 to n times.# A line starting with the # sign is comments.

    Interface Numbering ConventionsInterface numbers used in this manual are examples. In device configuration, use the existinginterface numbers on devices.

    Change HistoryChanges between document issues are cumulative. Therefore, the latest document versioncontains all updates made to previous versions.

    Changes in Issue 04 (2013-07-10)This version has the following updates:The following information is modified:l 2.2 Ethernet Interface Features

    Changes in Issue 03 (2013-05-10)This version has the following updates:The following information is modified:l 2.5.1 Configuring the 40GE/10GE Interface Mode

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management About This Document

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    iii

  • Changes in Issue 02 (2013-03-15)This version has the following updates:The following information is modified:l 2.5.6 Configuring Interface Isolation

    Changes in Issue 01 (2012-12-31)Initial commercial release.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management About This Document

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    iv

  • Contents

    About This Document.....................................................................................................................ii1 Basic Configuration for Interfaces.............................................................................................11.1 Interface Overview.........................................................................................................................................................21.2 Interface Features...........................................................................................................................................................31.3 Configuring Basic Interface Parameters.........................................................................................................................51.3.1 Entering the Interface View.........................................................................................................................................51.3.2 Configuring an Interface Description..........................................................................................................................51.3.3 Configuring the Traffic Statistics Collection Interval.................................................................................................61.3.4 Enabling or Disabling an Interface..............................................................................................................................71.3.5 Checking the Configuration.........................................................................................................................................81.4 Maintaining Interfaces....................................................................................................................................................91.4.1 Clearing Interface Traffic Statistics.............................................................................................................................92 Ethernet Interfaces Configuration............................................................................................102.1 Ethernet Interface Overview.........................................................................................................................................112.2 Ethernet Interface Features...........................................................................................................................................112.3 Default Configuration...................................................................................................................................................142.4 Configuring a Port Group.............................................................................................................................................162.5 Configuring Ethernet Interfaces...................................................................................................................................172.5.1 Configuring the 40GE/10GE Interface Mode...........................................................................................................172.5.2 Configuring Virtual Cable Test.................................................................................................................................192.5.3 Configuring the Auto-Negotiation Function.............................................................................................................202.5.4 Configuring Interface Rate........................................................................................................................................212.5.5 Configuring the Flow Control Function....................................................................................................................222.5.6 Configuring Interface Isolation.................................................................................................................................232.5.7 Configuring the IFG..................................................................................................................................................252.5.8 Configuring an Interface to Allow Jumbo Frames....................................................................................................252.5.9 Configuring the Delay in Reporting Interface Status Changes.................................................................................262.5.10 Configuring the Alarm Thresholds of the Outbound/Inbound Bandwidth Usage...................................................272.5.11 Configuring the Alarm Threshold of CRC-Error Packets.......................................................................................272.5.12 Configuring the EEE function.................................................................................................................................282.5.13 Configuring Interface Traffic Statistics to Include Inter-frame Gaps.....................................................................292.5.14 Configuring the Link Flapping Protection Function...............................................................................................29

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management Contents

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    v

  • 2.5.15 Configuring an Interface to Transit to the Error-Down State When the Optical Power Is Low.............................312.5.16 Configuring an Interface to Transit to the Error-Down State When the Number of Received CRC Error PacketsExceeds the Threshold........................................................................................................................................................312.5.17 Checking the Configuration.....................................................................................................................................322.6 Maintaining Ethernet Interfaces...................................................................................................................................332.6.1 Configuring Loopback Detection..............................................................................................................................332.6.2 Clearing Interface Statistics.......................................................................................................................................342.7 Configuring Examples..................................................................................................................................................352.7.1 Example for Configuring Interface Isolation.............................................................................................................353 Logical Interface Configuration................................................................................................383.1 Introduction to Logical Interfaces................................................................................................................................393.2 Configuring a Loopback Interface................................................................................................................................393.3 Configuring a NULL Interface.....................................................................................................................................40

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management Contents

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    vi

  • 1 Basic Configuration for InterfacesAbout This Chapter

    This section interface types, interface numbering rules, and configuration parameters to facilitateinterface management.1.1 Interface OverviewThis section describes the interface types and numbering rules.1.2 Interface FeaturesThis section describes the management interfaces, physical interfaces, and logical interfacessupported by the device.1.3 Configuring Basic Interface ParametersThis section describes how to configure basic interface parameters, including interfacedescription and traffic statistics collection interval, and how to shut down and enable an interface.1.4 Maintaining InterfacesTo view statistics about traffic sent and received on an interface within a period, first clearexisting traffic statistics on the interface.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 1 Basic Configuration for Interfaces

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    1

  • 1.1 Interface OverviewThis section describes the interface types and numbering rules.

    Interface TypeInterfaces of a device are used to exchange data and interact with other network devices.Interfaces are classified into management interface, physical interface, and logical interfaces.l Management interfaces

    Management interfaces are used to log in to devices. Users can use management interfacesto configure and manage devices. Management interfaces do not transmit service data.

    l Physical interfacesPhysical interfaces exist on interface cards and transmit service data.

    l Logical interfacesLogical interfaces are manually configured and do not physically exist. They can be usedto exchange data and transmit service data.

    NOTE

    Physical interfaces are sometimes called ports. This document uses the term interface.

    Management Interface Numbering RulesThe switch supports console and MEth management interfaces.The following table lists the numbers of the management interfaces.

    Table 1-1 Management interface numbersInterface NumberConsole interface console 0MEth interface MEth 0/0/0

    Physical Interface Numbering RulesPhysical interfaces are numbered in the following way:CloudEngine 6800&5800 Series switches use the slot ID/subcard ID/interface sequence numberto identify physical interfaces.l Slot ID: indicates the ID of a device in a stack. CloudEngine 6800&5800 Series switches

    support a maximum of 4 member devices in a stack, so the slot ID ranges from 1 to 4.l Subcard ID: indicates the ID of the subcard that the card supports. The card does not support

    any subcard, so the value is 0.l Interface sequence number: indicates the sequence number of an interface on the device.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 1 Basic Configuration for Interfaces

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    2

  • Table 1-2 Physical interface numbering ruleNumbering Diagram Description

    1

    2

    3

    4

    5

    6

    ......

    ...

    There are two rows of service interfaces on thedevice. These interfaces are numbered from top tobottom and left to right, starting from 1.For example, the interface on the top left isnumbered 1/0/1.

    However, there is an exception. You can split a 40GE interface on the CE6800 series switchesinto four 10GE interfaces. After a 40GE interface is split into four 10GE interfaces, the fourphysical interfaces are numbered as follows:If the 40GE interface is numbered 40GE x/0/n, the 10GE interfaces are numbered 10GE x/0/[48+ 4(n - 1) + z].l x: indicates the stack ID.l n: indicates the sequence number of a 40GE interface, starting from 1.l z: indicates the interface location. The value ranges from 1 to 4.For example: on a single switch, if a 40GE interface is numbered 1/0/1, the 10GE interfaces arenumbered 1/0/49, 1/0/50, 1/0/51, and 1/0/52.

    1.2 Interface FeaturesThis section describes the management interfaces, physical interfaces, and logical interfacessupported by the device.

    Management InterfacesNOTE

    This document provides only configuration of physical and logical interfaces. For the configuration ofmanagement interfaces, see the CloudEngine 6800&5800 Series Switches Configuration Guide -- BasicConfigurations.

    Table 1-3 describes the management interfaces.

    Table 1-3 Description of management interfacesInterface Description ApplicationConsoleinterface

    A data connection equipment(DCE) interface that complies withthe EIA/TIA-232 standard.

    The console interface is connected to theCOM serial interface of a configurationterminal to set up an on-site configurationenvironment.

    MEthinterface

    Complies with the 10/100BASE-TX standard.

    The MEth interface can be connected tothe network interface of the configurationterminal or network managementworkstation, setting up on-site or remoteconfiguration environments.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 1 Basic Configuration for Interfaces

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    3

  • Physical InterfacesTable 1-4 describes the physical interfaces that the switch supports.

    Table 1-4 Description of physical interfacesInterface DescriptionGE electrical interface A LAN-side GE electrical interface works at the data link

    layer, provides a maximum of 1000 Mbit/s transmissionrate, processes Layer 2 protocol packets, and implementsLayer 2 forwarding.

    10GE electrical interface A LAN-side 10GE electrical interface works at the data linklayer, provides a maximum of 10 Gbit/s transmission rate,processes Layer 2 protocol packets, and implements Layer2 forwarding.

    10GE optical interface A LAN-side 10GE optical interface works at the data linklayer, provides a maximum of 10 Gbit/s transmission rate,processes Layer 2 protocol packets, and implements Layer2 forwarding.

    40GE optical interface A LAN-side 40GE optical interface works at the data linklayer, provides a maximum of 40 Gbit/s transmission rate,processes Layer 2 protocol packets, and implements Layer2 forwarding. A 40GE optical interface can work as anindependent interface or be split into four 10GE opticalinterfaces.

    Logical InterfacesTable 1-5 describes the logical interfaces that the switch supports.

    Table 1-5 Description of logical interfacesInterface Description

    Eth-Trunk interfaceAn Eth-Trunk interface is formed by binding multiple Ethernetinterfaces to provide more bandwidth and higher transmissionreliability.

    VLANIF interface A VLANIF interface has Layer 3 features and enables VLANs tocommunicate after being assigned an IP address.

    Stack interface A stack interface is a logical interface used to implement thestacking function. The stacking function virtualizes multipleswitches into a logical switch to provide massive data forwardingand improve network reliability in data centers.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 1 Basic Configuration for Interfaces

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    4

  • Interface DescriptionLoopback interface A loopback interface is always Up and can be configured with a

    32-bit subnet mask.NULL interface A null interface is used to filter routes because any data packets

    received by the null interface are discarded.

    1.3 Configuring Basic Interface ParametersThis section describes how to configure basic interface parameters, including interfacedescription and traffic statistics collection interval, and how to shut down and enable an interface.

    1.3.1 Entering the Interface ViewContext

    To configure an interface, enter the interface view.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.interface-type interface-number specifies the type and number of an interface.

    NOTEIf the specified interface does not exist, this command creates the interface and displays the interface view.

    Step 3 (Optional) Run:commit

    The configuration is committed.You do not need to run this command if you only want to enter the interface view.----End

    1.3.2 Configuring an Interface DescriptionContext

    To facilitate device management and maintenance, you can configure descriptions for interfaces.An interface description can contain the device where the interface is located, interface type,and remote device. For example: To-[DeviceB]10GE-1/0/1 indicates that an interface of thisdevice is connected to 10GE1/0/1 of device B.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 1 Basic Configuration for Interfaces

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    5

  • ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    description description

    The description is configured for the interface.By default, an interface has no description.

    NOTE

    The interface description is displayed from the first non-space character.

    Step 4 Run:commit

    The configuration is committed.----End

    1.3.3 Configuring the Traffic Statistics Collection IntervalContext

    By setting the traffic statistics collection interval, you can collect and analyze packet statistics.According to traffic statistics, you can take measures to prevent network congestion and serviceinterruption.l When congestion occurs, you can set the statistics collection interval on an interface to 300

    seconds or less (30 seconds if congestion worsens). Then observe traffic distribution on theinterface within a short period of time. Take measures to data packets that cause congestionto control the rate of the packets.

    l When the network bandwidth is sufficient and services are running properly, set thestatistics collection interval on an interface to more than 300 seconds. If traffic parameterson an interface are out of the specified range, change the statistics collection interval toobserve the traffic statistics in real time.

    NOTE

    l The interval set in the system view takes effect on all the interfaces that use the default interval.l The interval set in the interface view takes effect only on this interface.l The interval set in the interface view takes precedence over the interval set in the system view.

    Procedurel Configure the global traffic statistics collection intervals in the system view.

    1. Run:system-view

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 1 Basic Configuration for Interfaces

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    6

  • The system view is displayed.2. Run:

    set flow-stat interval interval-time

    The global traffic statistics collection interval is set.By default, the global traffic statistics collection interval is 300s.

    3. Run:commit

    The configuration is committed.l Configure the traffic statistics collection interval on an interface.

    1. Run:system-view

    The system view is displayed.2. Run:

    interface interface-type interface-number

    The interface view is displayed.3. Run:

    set flow-stat interval interval-time

    The traffic statistics collection interval is set on the interface.By default, the traffic statistics collection interval on an interface is 300s.

    4. Run:commit

    The configuration is committed.----End

    1.3.4 Enabling or Disabling an InterfaceContext

    After modifying parameters of an interface, run the shutdown and undo shutdown commands,or run the restart command to make the modification take effect.When an interface is not connected to a cable or a fiber, disable the interface using theshutdown command to prevent exceptions caused by interference.

    NOTE

    l Running the shutdown and undo shutdown commands is equivalent to running the restart command.l A NULL interface is always Up and cannot be enabled or disabled by commands.l A loopback interface is always Up and cannot be enabled or disabled by commands.

    Procedurel Disable an interface.

    1. Run:system-view

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 1 Basic Configuration for Interfaces

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    7

  • The system view is displayed.2. Run:

    interface interface-type interface-number

    The interface view is displayed.3. Run:

    shutdown

    The interface is disabled.By default, an interface is enabled.

    4. Run:commit

    The configuration is committed.l Enable an interface.

    1. Run:system-view

    The system view is displayed.2. Run:

    interface interface-type interface-number

    The interface view is displayed.3. Run:

    undo shutdown

    The interface is enabled.By default, an interface is enabled.

    4. Run:commit

    The configuration is committed.----End

    1.3.5 Checking the ConfigurationProcedure

    l Run the display interface [ interface-type [ interface-number ] ] command to checkinformation about an interface, including interface running status, basic interfaceconfiguration, and packet forwarding on the interface.

    l Run the display interface brief command to check brief information about interfaces,including the physical status, protocol status, bandwidth usage in the inbound and outbounddirections during a certain period, and the number of error packets sent and received.

    l Run the display ip interface [ interface-type interface-number ] command to check the IPconfiguration of an interface.

    l Run the display default-parameter interface interface-type interface-number commandto check the default configuration of an interface.

    l Run the display interface description [ interface-type [ interface-number ] ] command tocheck the description of an interface.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 1 Basic Configuration for Interfaces

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    8

  • l Run the display interface [ interface-type [ interface-number ] ] counters [ inbound |outbound ] command to check traffic statistics on a physical interface.

    l Run the display interface [ interface-type [ interface-number ] ] counters rate[ inbound | outbound ] command to check the inbound and outbound traffic rates on aninterface.

    ----End

    1.4 Maintaining InterfacesTo view statistics about traffic sent and received on an interface within a period, first clearexisting traffic statistics on the interface.

    1.4.1 Clearing Interface Traffic StatisticsContext

    To monitor the status of an interface or locate faults on the interface, collect traffic statistics onthe interface. Before collecting traffic statistics on an interface within a period, clear the existingtraffic statistics on this interface.

    CAUTIONInterface statistics cannot be restored after they are cleared. Confirm your action before youperform the operations.

    Procedurel Run the reset counters interface [ interface-type [ interface-number ] ] command to clear

    the interface statistics.----End

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 1 Basic Configuration for Interfaces

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    9

  • 2 Ethernet Interfaces ConfigurationAbout This Chapter

    Ethernet is flexible, simple, and easy to implement, and therefore it becomes an important localarea network (LAN) networking technology. You need to configure Ethernet interfaces whenusing Ethernet technology to establish LANs.

    2.1 Ethernet Interface OverviewThis section describes the classification of Ethernet interfaces.2.2 Ethernet Interface FeaturesThis section describes the Ethernet interface features supported by the CE series switches.2.3 Default ConfigurationThis section describes the default configuration of common Ethernet interface parameters.2.4 Configuring a Port GroupPort groups can reduce interface configuration workload.2.5 Configuring Ethernet InterfacesThis section describes how to configure Ethernet interface parameters, such as the interfacerate, auto-negotiation function, and network cable type.2.6 Maintaining Ethernet InterfacesThis section describes how to maintain Ethernet interfaces, including using the loopbackfunction to check the interface and deleting interface statistics.2.7 Configuring ExamplesThis section provides Ethernet interface configuration examples, including networkrequirements, configuration roadmap, configuration procedure, and configuration files.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    10

  • 2.1 Ethernet Interface OverviewThis section describes the classification of Ethernet interfaces.Ethernet interfaces are provided by the CE series switches to transmit and receive data, and forusers to perform operations and configurations.Based on interface rates, Ethernet interfaces of the CloudEngine 6800&5800 Series switchescan be classified into:l GE interfacesl 10GE interfacesl 40GE interfacesBased on electrical attributes, Ethernet interfaces of the CloudEngine 6800&5800 Seriesswitches can be classified into:l Electrical interfacesl Optical interfaces

    2.2 Ethernet Interface FeaturesThis section describes the Ethernet interface features supported by the CE series switches.

    Ethernet interface featuresTable 2-1 lists the Ethernet interface types and features supported by the device.

    Table 2-1 Ethernet interface types and features supported by the deviceInterface Medium Rate

    (Mbit/s)Auto-Negotiation

    FlowControl

    FlowControlAuto-Negotiation

    DuplexMode

    GEelectricalinterface

    CAT-5twisted pair

    l 10l 100l 1000

    Auto-negotiation(can be set to non-auto negotiation)

    Y Y Full-duplex

    10GEelectricalinterface

    EnhancedCAT-6Atwisted pair

    l 100l 1000l 10000

    Auto-negotiation(can be set to non-auto negotiation)

    Y Y

    10GEopticalinterface

    SFP+ opticalmodule

    10,000 Non-autonegotiation(cannot be set toauto-negotiation)

    Y N

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    11

  • Interface Medium Rate(Mbit/s)

    Auto-Negotiation

    FlowControl

    FlowControlAuto-Negotiation

    DuplexMode

    Twinax cable 10,000 Non-autonegotiation(cannot be set toauto-negotiation)

    Y N

    SFP-GEopticalmodule

    1000 Auto-negotiation(can be set to non-auto negotiation)

    Y N

    SFP-GEelectricalmodule

    1000 Auto-negotiation(cannot be set tonon-autonegotiation)

    Y N

    40GEopticalinterface

    QSFP+opticalmodule

    40,000 Non-autonegotiation(cannot be set toauto-negotiation)

    Y N

    Twinax cable 40,000 Auto-negotiation(cannot be set tonon-autonegotiation)

    N

    NOTEY indicates supported. N indicates not supported.The CE5800 series switches do not support 10GE electrical interfaces, and the CE6800 series switches donot support GE electrical interfaces.The Ethernet interfaces of CE series switches all work in full-duplex mode and do not support the half-duplex mode.The auto-negotiation capability of 10GE optical interfaces varies according to the optical modules installed.Therefore, the auto-negotiation mode configured on the interface may be different from the one that takeseffect. You can run the display this interface command to check the auto-negotiation mode that takeseffect on the interface.

    Port GroupThe port group function of the CE series switches allow you to configure multiple interfaces atthe same time. A command executed in the port group view applies to all the interfaces in theport group, reducing your workload.

    Auto-negotiationThe auto-negotiation function allows interfaces on both ends of a link to select the same operatingparameters by exchanging capability information. Each interface sends its capability informationto the remote end and checks capabilities of the remote end. After both interfaces receive the

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    12

  • capability information from each other, they use the highest capability they support tocommunicate with each other.The interfaces negotiate the speed and flow control parameters. When the negotiation succeeds,the interfaces use the same speed and flow control parameters.

    Flow ControlAfter flow control is enabled on the local and the remote devices, the local device sends a pauseframe to the remote device to request it to stop sending packets if the local device is congested.After receiving the pause frame, the remote device temporarily stops sending packets to the localdevice.

    Splitting One 40GE Interfaces into Four 10GE InterfacesA 40GE interface on the CE6800 series switches can function as an independent interface or besplit into four 10GE interfaces. You only need to purchase a device to use 40GE interfaces onthe device or split a 40GE interface into four 10GE interfaces, which improves networkingflexibility and saves costs.

    VCTYou can use the virtual cable test (VCT) function to check whether the cable on an interface isfaulty. If the cable is normal, the VCT test result displays the cable length. If the cable is faulty,the VCT test result displays the type and location of the failure point to help in troubleshooting.The VCT function can verify whether a link failure is caused by a cable fault. Virtual cable testscause temporary service interruption. You are not advised to perform a virtual cable test whenservices are running normally.

    Interface LoopbackLoopback tests can verify that an interface is working normally. The interface cannot transmitdata packets during a loopback test. Interfaces of the CloudEngine 6800&5800 Series switchessupport internal loopback tests. During an internal loopback test, the device creates a self-loopin the PHY chip. The tested interface sends testing packets, which are then sent back to theinterface through the self-loop in the PHY chip. You can use this function to check whether anymodule related to the interface is faulty.

    Interface IsolationTo implement Layer 2 isolation between interfaces, you can add different interfaces to differentVLANs, which wastes VLAN resources.Interface isolation can isolate interfaces in the same VLAN. You can add interfaces to aninterface isolation group so that they will not send Layer 2 packets to each other. The isolationis bidirectional. For example, if you isolate interface A from interface B, packets sent frominterface A cannot reach interface B, and packets sent from interface B cannot reach interfaceA.The isolation can also be unidirectional. For example, if you isolate interface A from interfaceB, packets sent from interface A cannot reach interface B, but packets sent from interface B canreach interface A.Interface isolation provides secure and flexible networking schemes.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    13

  • 2.3 Default ConfigurationThis section describes the default configuration of common Ethernet interface parameters.

    Table 2-2 Default configuration of GE electrical interfacesParameter Default ValueAuto-negotiation Auto-negotiation (can be set to non-auto negotiation)Duplex Mode Full-duplexRate l Auto-negotiation mode: negotiated by the local and

    remote interfacesl Non-auto-negotiation mode: 1 Gbit/s

    Maximum Frame Length(Bytes)

    9216

    MDI AutoEEE Disabled

    (EEE is configurable only when an interface works in auto-negotiation mode.)

    Shutdown Or Not NoInternal Loopback DisabledFlow Control l Auto-negotiation mode: negotiated by the local and

    remote interfacesl Non-auto-negotiation mode: disabled

    Table 2-3 Default configuration of 10GE electrical interfacesParameter Default ValueAuto-negotiation Auto-negotiation (can be set to non-auto negotiation)Duplex Mode Full-duplexRate l Auto-negotiation mode: negotiated by the local and

    remote interfacesl Non-auto-negotiation mode: 10 Gbit/s

    Maximum Frame Length(Bytes)

    9216

    MDI Auto

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    14

  • Parameter Default ValueEEE Disabled

    (EEE is configurable only when an interface works in auto-negotiation mode.)

    Shutdown Or Not NoInternal Loopback DisabledFlow Control l Auto-negotiation mode: negotiated by the local and

    remote interfacesl Non-auto-negotiation mode: disabled

    Table 2-4 Default configuration of 10GE optical interfacesParameter Default ValueAuto-negotiation l With a SFP-GE optical module installed: Auto-

    negotiation (can be set to non-auto negotiation)l With a SFP-GE copper module installed: Auto-

    negotiation (cannot be set to non-auto negotiation)l With a SFP+ optical module installed: Non-auto

    negotiation (cannot be set to auto-negotiation)l With a 10GE cable connected: Non-auto negotiation

    (cannot be set to auto-negotiation)Duplex Mode Full-duplexRate l With a SFP-GE optical module installed: 1 Gbit/s (not

    configurable)l With a SFP-GE copper module installed: 1 Gbit/s (not

    configurable)l With a SFP+ optical module installed: 10 Gbit/s (not

    configurable)l With a 10GE cable connected: 10 Gbit/s (not

    configurable)Maximum Frame Length(Bytes)

    9216

    Shutdown Or Not NoInternal Loopback DisabledFlow Control Disabled

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    15

  • Table 2-5 Default configuration of 40GE optical interfacesParameter Default ValueAuto-negotiation l With a 40GE optical module installed: Non-auto

    negotiation (cannot be set to auto-negotiation)l With a 40GE cable connected: Auto-negotiation (cannot

    be set to non-auto negotiation)Duplex Mode Full-duplexRate l With a 40GE optical module installed: 40 Gbit/s (not

    configurable)l With a 40GE cable connected: 40 Gbit/s (not

    configurable)Maximum Frame Length(Bytes)

    9216

    Shutdown Or Not NoInternal Loopback DisabledFlow Control Disabled

    NOTE

    The CE5800 series switches do not support 10GE electrical interfaces, and the CE6800 series switches donot support GE electrical interfaces.The Ethernet interfaces of CE series switches all work in full-duplex mode and do not support the half-duplex mode.The auto-negotiation capability of 10GE optical interfaces varies according to the optical modules installed.Therefore, the auto-negotiation mode configured on the interface may be different from the one that takeseffect. You can run the display this interface command to check the auto-negotiation mode that takeseffect on the interface.

    2.4 Configuring a Port GroupPort groups can reduce interface configuration workload.

    ContextTo perform the same configuration on multiple Ethernet interfaces, add these Ethernet interfacesto a port group and run commands in the port group view to configure the Ethernet interfaces inbatches. This reduces the configuration workload.You can configure the following port groups:l Permanent port groupl Temporary port groupIf you exit from a temporary port group view, the system automatically deletes the group.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    16

  • Procedurel Configuring a permanent port group

    1. Run:system-viewThe system view is displayed.

    2. Run:port-group port-group-nameA permanent port group is created, and the port group view is displayed.

    3. Run:group-member { interface-type interface-number1 [ to interface-type interface-number2 ] } &An Ethernet interface is added to the permanent port group.

    4. Run:commitThe configuration is committed.

    l Configuring a temporary port group1. Run:

    system-viewThe system view is displayed.

    2. Run:port-group group-member { interface-type interface-number1 [ to interface-type interface-number2 ] } &A temporary port group is created, and the port group view is displayed.

    3. Run:commitThe configuration is committed.

    ----End

    Checking the ConfigurationRun the display port-group [ all | port-group-name ] command to check information about apermanent port group and interfaces in the group.

    2.5 Configuring Ethernet InterfacesThis section describes how to configure Ethernet interface parameters, such as the interfacerate, auto-negotiation function, and network cable type.

    2.5.1 Configuring the 40GE/10GE Interface ModeContext

    A 40GE interface on the CE6800 series switches can function as an independent interface or besplit into four 10GE interfaces. You only need to purchase a device to use 40GE interfaces onthe device or split a 40GE interface into four 10GE interfaces, which improves networkingflexibility and saves costs.When you split one 40GE interface into four 10GE interfaces, the 40GE interface no longerexists, and the four 10GE interfaces have the same configuration and features as common 10GE

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    17

  • optical interfaces except for the numbering rules. For details about interface numbering rules,see 1.1 Interface Overview. After a local 40GE interface is split, the 40GE interface needs toconnect to the remote 40GE interface using a one-to-four cable. If the remote 40GE interface isalso split, the local and remote 40GE interfaces can have the same 40GE Quad Small Form-Factor Pluggable Plus (QSFP+) optical modules installed and connect using a fiber. The one-to-four cable is not required in this case.

    CAUTION40GE interfaces on the CE5800 series switches cannot be split.The existing configuration will be deleted if you split a 40GE interface or merge the converted10GE interfaces. Confirm your action before you perform the operations.

    Procedurel

    1. Run:system-view

    The system view is displayed.2. Run:

    port split interface 40ge interface-number1 [ to interface-type interface-number2 ]

    One or more 40GE interfaces are split into 10GE interfaces.By default, a 40GE interface is used as an independent interface.

    3. Run:commit

    The configuration is committed.l Merging 10GE interfaces into 40GE interfaces

    1. Run:system-view

    The system view is displayed.2. Run:

    undo port split interface 40ge interface-number1 [ to interface-type interface-number2 ]

    10GE interfaces are merged into 40GE interfaces.3. Run:

    commit

    The configuration is committed.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    18

  • NOTEWhen you finish the operation, save the configurations and restart the device for the configurationsto take effect.After interface split is configured on a 40GE interface, the 40GE interface or 10GE interfacesconverted from the 40GE interface cannot be added to a stack interface, regardless of whether theconfiguration takes effect. If a 40GE interface has been added to a stack interface, the 40GE interfacecannot be split.When a 40GE interface on the local device is not split and connects to four 10GE interfaces on theremote device through a one-to-four cable, the local 40GE interface cannot go Up and the indicatoris off; the four 10GE interfaces on the remote device can go Up and their indicators are steady on.When 40GE interfaces on a stacked CE6800 switch are split into 10GE interfaces, the CE6800 switchis removed from the stack, and a new CE6800 switch of the same model and stack ID is added to thestack, the interface split configuration is restored on the new switch and the service configuration onthe converted 10GE interfaces is retained.The devive automatically delivers the configuration to thenew card without manual intervention. The time taken to start the card is longer than the time normallyused to start a card.

    ----End

    2.5.2 Configuring Virtual Cable Test

    ContextVirtual cable test (VCT) technology uses time domain reflectometry (TDR) to detect the cablestatus. When a pulse is transmitted to the end of a cable or a failure point in the cable, somepulse energies are reflected to the transmitting end. The VCT algorithm measures the time spenton transmitting pulses over a cable, reaching a failure point, and returning the pulses. Themeasured time is converted to the distance.VCT can detect the fault type of a network cable and identify failure points to help locate networkcable faults.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    virtual-cable-test

    The VCT function is configured.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    19

  • NOTE

    l Only electrical interfaces support the VCT configuration.l The test result is only for reference and may be inaccurate for cables from some vendors.l Running the virtual-cable-test command may affect services on the interface in a short period of time.l Before performing a virtual cable test, shut down the remote interface or remove the network cable

    between the local and remote interfaces. Otherwise, signals from the remote interface may make thetest result inaccurate.

    ----End

    2.5.3 Configuring the Auto-Negotiation Function

    ContextThe auto-negotiation function allows interfaces on both ends of a link to select the same operatingparameters by exchanging capability information. The parameters include the duplex mode andrate. When the negotiation succeeds, the two interfaces use the same duplex mode and work atthe same rate. In non-auto negotiation mode, the operating parameters must be set manually.For details about the auto-negotiation configuration supported by Ethernet interfaces, see 2.2Ethernet Interface Features.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Configure the auto-negotiation function.

    l Run:negotiation disableThe Ethernet interface is configured to work in non-auto negotiation mode.

    l Run:undo negotiation disableThe Ethernet interface is configured to work in auto-negotiation mode.

    For the default auto-negotiation mode of an Ethernet interface, see 2.3 DefaultConfiguration.

    NOTE

    The interfaces on both ends of a link must have the same negotiation mode.

    Step 4 Run:commit

    The configuration is committed.----End

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    20

  • 2.5.4 Configuring Interface Rate

    ContextFor details about the rates that Ethernet interfaces support, see 2.2 Ethernet InterfaceFeatures.You can configure the rates of GE and 10GE electrical interfaces in auto- and non-autonegotiation modes.l In auto-negotiation mode, interfaces on both ends negotiate their rate. You can set the rate

    auto-negotiation function to limit the negotiated rate.l In non-auto negotiation mode, you can set interface rates.

    NOTE10GE optical interfaces and 40GE optical interfaces do not support the rate configuration.

    ProcedureYou can perform the following operations to configure the GE and 10GE electrical interfaces:l In the auto-negotiation mode

    1. Run:system-view

    The system view is displayed.2. Run:

    interface interface-type interface-number

    The Ethernet interface view is displayed.3. GE electrical interface

    Run:speed auto { 10 | 100 | 1000 }*

    The rate auto-negotiation function is configured for the GE electrical interface. 10GE electrical interface

    Run:speed auto { 100 | 1000 | 10000 }*

    The rate auto-negotiation function is configured for the 10GE electrical interface.4. Run:

    commit

    The configuration is committed.l In the non-auto negotiation mode

    1. Run:system-view

    The system view is displayed.2. Run:

    interface interface-type interface-number

    The Ethernet interface view is displayed.3. Run:

    negotiation disable

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    21

  • The Ethernet interface is configured to work in non-auto negotiation mode.4. GE electrical interface

    Run:speed { 10 | 100 | 1000 }The rate of the GE electrical interface is configured. 10GE electrical interface

    Run:speed { 100 | 1000 | 10000 }The rate of the 10GE electrical interface is configured.

    5. Run:commitThe configuration is committed.

    By default, an Ethernet interface works at its maximum rate.

    2.5.5 Configuring the Flow Control FunctionContext

    Network congestion causes packet loss. Flow control is a method to prevent packet loss. Ifnetwork congestion occurs on the local device, the local device sends a message to the remotedevice, instructing the remote device to reduce the packet sending rate. After receiving themessage, the remote device reduces its packet sending rate, which prevents congestion.GE and 10GE electrical interfaces support flow control and flow control auto-negotiation. Thetwo negotiation functions cannot be enabled simultaneously on an interface.

    Procedurel Configuring the flow control function

    1. Run:system-view

    The system view is displayed.2. Run:

    interface interface-type interface-number

    The interface view is displayed.3. Run:

    flow-control

    The flow control function is enabled.By default, flow control is disabled on an Ethernet interface.

    NOTEFlow control takes effect when the flow control function is enabled for interfaces on both endsof a link.

    4. Run:commit

    The configuration is committed.l Configuring flow control auto-negotiation for Ethernet interfaces

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    22

  • 1. Run:system-view

    The system view is displayed.2. Run:

    interface interface-type interface-number

    The interface view is displayed.3. Run:

    undo negotiation disable

    The Ethernet interface is configured to work in auto-negotiation mode.4. Run:

    flow-control negotiation

    Flow control auto-negotiation is enabled on the Ethernet interfaces.By default, flow control auto-negotiation is disabled on a Ethernet interfaces.

    NOTE

    Flow control auto-negotiation takes effect only when the function is enabled for interfaces onboth ends of a link.

    5. Run:commit

    The configuration is committed.----End

    2.5.6 Configuring Interface Isolation

    ContextTable 2-6 describes the interface isolation methods and application scenarios.

    Table 2-6 Interface isolation methods and application scenariosIsolationMethod

    Application Scenario

    Configureunidirectionalisolationoninterfaces

    l When multiple hosts connect to different interfaces of the same device anda host with security risks sends many broadcast packets to the other hosts,isolate the host from the other hosts unidirectionally to prevent the otherhosts from receiving packets from this host.

    l Interfaces in an interface isolation group are isolated from each other, butinterfaces in different interface isolation groups can communicate. To isolateinterfaces in different interface isolation groups, configure unidirectionalisolation between these interfaces.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    23

  • IsolationMethod

    Application Scenario

    Configureaninterfaceisolationgroup

    To implement Layer 2 isolation between interfaces, you can add interfaces todifferent VLANs. This, however, wastes VLAN resources. Interface isolationcan also isolate interfaces in the same VLAN. You can add interfaces to aninterface isolation group to implement Layer 2 isolation between theseinterfaces. Interface isolation provides secure and flexible networking schemesfor customers.

    Procedurel Configuring unidirectional isolation on interfaces

    1. Run:system-view

    The system view is displayed.2. Run:

    interface interface-type interface-number

    The Ethernet interface view is displayed.3. Run:

    am isolate { interface-type interface-number }&

    Unidirectional isolation is configured on the Ethernet interface.By default, the unidirectional isolation function is disabled.

    NOTE

    If interface A is isolated from interface B unidirectionally, packets sent from interface A cannotreach interface B, but packets sent from interface B can reach interface A.

    4. Run:commit

    The configuration is committed.l Configuring an interface isolation group

    1. Run:system-view

    The system view is displayed.2. Run:

    interface interface-type interface-number

    The Ethernet interface view is displayed.3. Run:

    port-isolate enable group group-id

    Interface isolation is enabled on the Ethernet interface.By default, interface isolation is disabled.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    24

  • NOTE

    Interfaces in an interface isolation group are isolated from each other, but interfaces in differentinterface isolation groups can communicate. If group-id is not specified, interfaces are addedto interface isolation group 1.

    4. Run:commit

    The configuration is committed.----End

    2.5.7 Configuring the IFGContext

    The inter-frame gap (IFG) differentiates two data packets. Setting a proper IFG can adjust datapacket forwarding efficiency.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface { GE | 10GE | 40GE } interface-number

    The interface view is displayed.Step 3 Run:

    ifg ifg-value

    The IFG is configured.Step 4 Run:

    commit

    The configuration is committed.----End

    2.5.8 Configuring an Interface to Allow Jumbo Frames

    ContextEthernet frames longer than 1518 bytes and VLAN frames longer than 1522 bytes are calledJumbo frames.An interface may receive Jumbo frames during high-throughput data exchange, such as a filetransfer. The device discards all Jumbo frames. When the jumbo frame function is enabled, thesystem processes the received jumbo frames with the lengths within the specified range.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    25

  • ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The Ethernet interface view is displayed.Step 3 Run:

    jumboframe enable value

    Configuring the interface is configured to allow jumbo frames to pass through.By default, the maximum frame length allowed by an interface is 9216 bytes.

    Step 4 Run:commit

    The configuration is committed.----End

    2.5.9 Configuring the Delay in Reporting Interface Status Changes

    ContextAn Ethernet interface can be in the Up or Down state. Frequent interface status changes in ashort time causes extra system costs. To avoid this problem, configure a delay in reportinginterface status changes. During the delay period, the system cannot detect interface statuschanges. When the delay period times out, the physical layer notifies the system of the statuschange.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    carrier { up-hold-time | down-hold-time } interval

    The delay in reporting status changes is set.By default, the delay in reporting a port-Up event and the delay in reporting a port-Down eventare both 0 milliseconds.

    Step 4 Run:commit

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    26

  • The configuration is committed.----End

    2.5.10 Configuring the Alarm Thresholds of the Outbound/Inbound Bandwidth Usage

    ContextThe bandwidth usage represents the load on a device. If the bandwidth usage exceeds thethreshold, bandwidth on the device is sufficient for services and needs expansion. For example,if the bandwidth usage exceeds 95%, an alarm is generated to indicate that bandwidth resourcesare used up. Services may be interrupted before system expansion. You can expand devicecapacity to prevent service interruption.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    trap-threshold { input-rate | output-rate } bandwidth-in-use [ resume-rate resume-threshold ]

    The alarm thresholds for the outbound or inbound bandwidth usage on the interface areconfigured.By default, the alarm thresholds of the outbound and inbound bandwidth usage are both 100%.

    Step 4 Run:commit

    The configuration is committed.----End

    2.5.11 Configuring the Alarm Threshold of CRC-Error Packets

    ContextWhen an Ethernet interface receives CRC error packets, service packet loss may occur. Whenthe number of CRC error packets received within a specified period exceeds the upper threshold,an alarm is generated and sent to the NMS, which helps you rectify the fault in a timely manner.

    ProcedureStep 1 Run:

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    27

  • system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    trap-threshold crc-statistics threshold-value interval interval-value

    The alarm threshold for the number of CRC error packets received on the interface and theinterval for sending the alarm are configured.By default, the alarm threshold for the number of CRC error packets is 3 and the interval forsending the alarm is 10s.

    Step 4 Run:commit

    The configuration is committed.----End

    2.5.12 Configuring the EEE function

    ContextA device provides power for each interface. Even though an interface is idle, it consumes thesame power as working interfaces. This wastes power. After the Energy Efficient Ethernet (EEE)function is configured on an electrical interface, the system reduces the power on the interfacewhen the interface is idle and restores the power when the interface starts to transmit data. Thisreduces power consumption in the system.

    NOTE

    Only electrical interfaces support the EEE function.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    eee enable

    EEE function is enabled on the electrical interface.By default, the EEE function is disabled on an electrical interface.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    28

  • CAUTIONThis function takes effect only when it is configured on both ends of a link.

    Step 4 Run:commit

    The configuration is committed.----End

    2.5.13 Configuring Interface Traffic Statistics to Include Inter-frameGaps

    ContextThe system counts inter-frame gaps when calculating the traffic rate for QoS control on aninterface. However, interface traffic statistics do not include inter-frame gaps. Therefore, thetwo statistics results are different. To avoid this situation, configure the interface traffic statisticsto include inter-frame gaps.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    set flow-statistics include-interframe

    The interface traffic statistics include inter-frame gaps.By default, the interface flow statistics do not include inter-frame gaps.

    Step 4 Run:commit

    The configuration is committed.----End

    2.5.14 Configuring the Link Flapping Protection FunctionContext

    Cable faults or active/standby switchovers may cause frequent status changes on an interface,leading to network topology changes. If some Layer 2 protocols, such as STP, are configured

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    29

  • on an interface, the interface sends protocol packets, for example, TC packets, to update ARPentries. If ARP entries are not updated immediately, user services may be interrupted. You canconfigure the link flapping protection function to solve these problems.When the device receives messages a port-Up or port-Down message, it checks the followingparameters:l Link flapping intervall Number of times the link status flapsIf the link status flaps the specified number of times in a specified period, the interface is error-down. By default, an interface is error-down when its link status flaps five times in 10s.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    port link-flap trigger error-down

    Link flapping protection is enabled on the interface.By default, link flapping protection is disabled on an interface.

    Step 4 (Optional) Run:port link-flap { interval interval-value threshold threshold-value | interval interval-value | threshold threshold-value }

    The link flapping interval and the maximum number of times the link status flaps are set.By default, the link flapping interval is 10s, the maximum number of times the link status flapsis 5.

    Step 5 Run:commit

    The configuration is committed.

    ----End

    Follow-up ProcedureBy default, an interface cannot automatically restore to Up state after it is error-down. To restorethe interface, run the shutdown and undo shutdown commands on the interface in sequence.To enable the interface to restore to the Up state automatically, run the error-down auto-recovery cause link-flap command in the system view to set a recovery delay. After the delay,the interface goes Up automatically.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    30

  • 2.5.15 Configuring an Interface to Transit to the Error-Down StateWhen the Optical Power Is Low

    ContextLow optical power on an interface may cause intermittent interruption of services. To preventthis situation, configure an optical interface to transit to the error-down state when the opticalpower is too low. In this way, services can be switched to the backup link in a timely manner toensure normal service provisioning.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    port transceiver-power-low trigger error-down

    The interface is configured to transit to the error-down state when the optical power is low.By default, the Ethernet optical interface does not transit to the error-down state when the opticalpower is low.

    Step 4 Run:commit

    The configuration is committed.----End

    Follow-up ProcedureBy default, an interface in error-down state can only be restored manually using theshutdown and undo shutdown commands. To configure the interface to automatically restoreto the Up state, run the error-down auto-recovery cause transceiver-power-low intervalinterval-value command in the system view before the interface transitions to the error-downstate to set a recovery delay. After the delay, the interface goes Up automatically.

    2.5.16 Configuring an Interface to Transit to the Error-Down StateWhen the Number of Received CRC Error Packets Exceeds theThreshold

    ContextIf an interface receives CRC error packets, packet loss occur or other faults may occur on thelink. If a backup link is configured on an Ethernet interface, configure the interface to transit to

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    31

  • the error-down state when the number of received CRC error packets exceeds the threshold. Inthis way, services can be switched to the backup link in a timely manner to ensure reliable datatransmission.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    trap-threshold crc-statistics threshold-value interval interval-value

    The upper limit and alarm interval of CRC-error packets are configured.By default, the alarm threshold of CRC-error packets is 3 and the alarm interval is 10 seconds.

    Step 4 Run:port crc-statistics trigger error-down

    The interface is configured to transit to the error-down state when the number of received CRC-error packets exceeds the threshold.By default, an interface does not transit to the Error-down state when the number of receivedCRC-error packets exceeds the threshold.

    Step 5 Run:commit

    The configuration is committed.----End

    Follow-up ProcedureBy default, an interface in error-down state can only be restored manually using theshutdown and undo shutdown commands. To configure the interface to automatically restoreto the Up state, run the error-down auto-recovery cause crc-statistics interval interval-value command in the system view before the interface transitions to the error-down state to seta recovery delay. After the delay, the interface goes Up automatically.

    2.5.17 Checking the ConfigurationProcedure

    l Run the display interface [ interface-type [ interface-number ] ] command to checkinformation about an interface, including interface running status, basic interfaceconfiguration, and packet transmitted through the interface.

    l Run the display interface brief command to check brief information about interfaces,including the physical status, protocol status, bandwidth usage in the inbound and outbound

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    32

  • directions during a certain period of time, and the number of error packets sent and receivedon each interface.

    l Run the display interface description [ interface-type [ interface-number ] ] command tocheck the interface description.

    l Run the display interface ethernet brief command to check brief information aboutEthernet interfaces, including the physical status, negotiation mode, duplex mode, rate, andaverage bandwidth usage in the inbound and outbound directions on each interface withinthe last period of time.

    l Run the display port split [ slot slot-id ] command to check information about split of40GE interfaces and combination of the 10GE interfaces.

    l Run the display port-isolate group { group-id | all } command to check information aboutinterface isolation groups.

    l Run the display interface interface-type interface-number virtual-cable-test command tocheck the last cable test result on an Ethernet electrical interface.

    l Run the display error-down recovery [ interface interface-type interface-number ]command to check information about an error-down interface.

    l Run the display interface [ interface-type [ interface-number ] ] counters [ inbound |outbound ] command to check traffic statistics on a physical interface.

    l Run the display interface [ interface-type [ interface-number ] ] counters rate[ inbound | outbound ] command to view the inbound and outbound traffic rates on aninterface.

    ----End

    2.6 Maintaining Ethernet InterfacesThis section describes how to maintain Ethernet interfaces, including using the loopbackfunction to check the interface and deleting interface statistics.

    2.6.1 Configuring Loopback Detection

    Context

    CAUTIONl After the loopback detection is enabled on an interface using the loopback command, the

    Ethernet interface or link on the interface cannot function properly. When the loopbackdetection test is complete, run the undo loopback command to disable it immediately.

    Loopback detection needs to be enabled for special function testing, for example, Ethernetinterface diagnosis. When loopback detection is enabled on an Ethernet interface, the interfaceworks in the full-duplex mode. When loopback detection is disabled, the interface restores tothe default configuration.Table 2-7 describes the loopback detection classification.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    33

  • Table 2-7 Loopback detection classificationType DescriptionHardwareloopback

    Connect the transmit and receive ends with a cable to form a loop so thatthe device receives the signals sent by itself.

    Softwareloopback

    Remote loopback (external loopback)The local interface does not forward packets received from the remoteinterface based on their destination addresses. Instead, it sends the packetsback to the remote interface.Local loopback (internal loopback)Packets sent from an interface are sent back to the local device.

    NOTE

    An Ethernet interface does not support remote loopback.

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface interface-type interface-number

    The interface view is displayed.Step 3 Run:

    loopback internal

    Internal loopback detection is configured on the Ethernet interface.By default, loopback detection is disabled on an Ethernet interface.

    Step 4 Run:commit

    The configuration is committed.----End

    2.6.2 Clearing Interface Statistics

    ContextTo monitor the status of an interface or locate faults on the interface, collect traffic statistics onthe interface. Before collecting traffic statistics on an Ethernet interface, clear the existing trafficstatistics on this interface.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    34

  • CAUTIONInterface statistics cannot be restored after they are cleared. Confirm your action before youperform the operations.

    Procedurel Run the reset counters interface [ interface-type [ interface-number ] ] command to clear

    interface statistics.l Run the reset interface [ interface-type interface-number ] virtual-cable-test command

    to clear cable test results on all interfaces.----End

    2.7 Configuring ExamplesThis section provides Ethernet interface configuration examples, including networkrequirements, configuration roadmap, configuration procedure, and configuration files.

    2.7.1 Example for Configuring Interface Isolation

    Networking RequirementsAs show in Figure 2-1, Server1, Server2, and Server3 belong to VLAN 10. Server1 and Server2are not allowed to communicate with each other in VLAN10, but they are allowed tocommunicate with Server3.

    Figure 2-1 Networking diagram of interface isolation configurationSwitch

    Server1 Server2 Server3

    10GE1/0/310GE1/0/2

    10GE1/0/1

    10.10.10.1/24 10.10.10.2/24 10.10.10.3/24VLAN10

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    35

  • Configuration RoadmapThe configuration roadmap is as follows:1. Add the interfaces to the specified VLAN.2. By default, interfaces are isolated at Layer 2 but can communicate at Layer 3. You can add

    interfaces to an isolation group to implement Layer 2 isolation between these interfaces.

    ProcedureStep 1 Create VLAN 10 on Switch, and add interfaces to VLAN 10.

    system-view[~HUAWEI] sysname Switch[~HUAWEI] commit[~Switch] vlan 10[~Switch-vlan10] quit[~Switch] interface 10ge 1/0/1[~Switch-10GE1/0/1] port default vlan 10[~Switch-10GE1/0/1] quit[~Switch] interface 10ge 1/0/2[~Switch-10GE1/0/2] port default vlan 10[~Switch-10GE1/0/2] quit[~Switch] interface 10ge 1/0/3[~Switch-10GE1/0/3] port default vlan 10[~Switch-10GE1/0/3] quit[~Switch] commit

    Step 2 Configure interface isolation.# Configure interface isolation for 10GE1/0/1.[~Switch] interface 10ge 1/0/1[~Switch-10GE1/0/1] port-isolate enable group 1[~Switch-10GE1/0/1] quit[~Switch] commit

    # Configure interface isolation for 10GE1/0/2.[~Switch] interface 10ge 1/0/2[~Switch-10GE1/0/2] port-isolate enable group 1[~Switch-10GE1/0/2] quit[~Switch] commit

    Step 3 Verify the configuration.# Server1 and Server2 cannot ping each other.# Server1 and Server3 can ping each other.# Server2 and Server3 can ping each other.----End

    Configuration FilesConfiguration files of Switch#sysname Switch#vlan batch 10#interface 10GE1/0/1 port default vlan 10

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    36

  • port-isolate enable group 1#interface 10GE1/0/2 port default vlan 10 port-isolate enable group 1#interface 10GE1/0/3 port default vlan 10 #return

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 2 Ethernet Interfaces Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    37

  • 3 Logical Interface ConfigurationAbout This Chapter

    The information provided here on logical interface types, and configuration procedures can helpyou make full use of logical interfaces.3.1 Introduction to Logical InterfacesLogical interfaces do not exist physically. They are manually configured for data exchange.3.2 Configuring a Loopback InterfaceThe loopback interface is always Up to ensure network reliability.3.3 Configuring a NULL InterfaceA NULL interface is always Up once created automatically by the system. It does not forwardpacket but can be used to filter packet.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 3 Logical Interface Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    38

  • 3.1 Introduction to Logical InterfacesLogical interfaces do not exist physically. They are manually configured for data exchange.This topic describes logical interfaces supported by CloudEngine 6800&5800 Series.

    Table 3-1 Logical interfacesInterface DescriptionConfiguration

    ReferenceConfiguration Reference

    Eth-Trunkinterface

    An Eth-Trunk is formed by bindingmultiple Ethernet interfaces to providemore bandwidth and higher transmissionreliability.

    For details about how to configurean Eth-Trunk interface, see LinkAggregation Configuration in theCloudEngine 6800&5800 SeriesSwitches Configuration Guide:LAN .

    VLANIFinterface

    has Layer 3 features and enables VLANsto communicate after being assigned anIP address.

    For details about how to configure aVLANIF interface, see VLANConfiguration in the CloudEngine6800&5800 Series SwitchesConfiguration Guide: LANConfiguration.

    Stackinterface

    A stack interface is a logical interfaceused to implement the stacking function.The stacking function virtualizesmultiple switches into a logical switch toprovide massive data forwarding andimprove network reliability in datacenters.

    For details about how to configure astack interface, see iStackConfiguration in the CloudEngine6800&5800 Series SwitchesConfiguration Guide: DeviceManagement Configuration.

    Loopbackinterface

    A loopback interface is always Up andcan be configured with a 32-bit subnetmask.

    -

    NULLinterface

    used in route filtering because anynetwork packets sent to this interface arediscarded.

    -

    3.2 Configuring a Loopback InterfaceThe loopback interface is always Up to ensure network reliability.

    ContextThe loopback interface has the following features:l The loopback interface is always Up and has the loopback feature.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 3 Logical Interface Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    39

  • l The loopback interface can be configured with the mask of all 1s.Based on the preceding features, the loopback interface has the following applications.l The IP address of a loopback interface is specified as the source address of packets to

    improve network reliability.l When no Router ID is configured for dynamic routing protocols, the maximum IP address

    of the loopback interface is configured as the router ID automatically.l The loopback interface is configured as the source interface to send boarder gateway

    protocol (BGP) packets to ensure that the BGP session functions correctly when thephysical interface is faulty.

    l The loopback interface can be configured with the mask of 255.255.255.255 to save IPaddress resources.

    Pre-ConfigurationBefore configuring a loopback interface, complete the following task:l Powering on the device and performing self-check

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface loopback loopback-number

    A loopback interface is created and the loopback interface view is displayed.You can create or delete loopback interface dynamically. After a loopback interface is created,the link-layer protocol is always up unless the loopback interface is deleted.

    Step 3 Run:ip address ip-address { mask | mask-length }

    The IP address of the loopback interface is configured.Step 4 Run:

    commit

    Commit the configuration.----End

    Checking the Configurationl Run the display interface loopback [ loopback-number ] command to check the status of

    a loopback interface.

    3.3 Configuring a NULL InterfaceA NULL interface is always Up once created automatically by the system. It does not forwardpacket but can be used to filter packet.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 3 Logical Interface Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    40

  • ContextA NULL0 interface is created automatically. The NULL0 interface is always Up and cannotforward packets. Any packets sent to the NULL0 interface are discarded. If the next hop of astatic route to a network segment is a null interface, all the data packets destined for this networksegment are discarded. Therefore, the packets that you want to filter out can be sent to the NULL0interface directly without configuring the access control list.For example, run the following static route configuration command to discard packets sent tothe network segment of 192.101.0.0.[~HUAWEI] ip route-static 192.101.0.0 255.255.0.0 NULL 0

    Pre-ConfigurationBefore configuring a NULL interface, complete the following task:l Powering on the device and performing self-check

    ProcedureStep 1 Run:

    system-view

    The system view is displayed.Step 2 Run:

    interface null 0

    The NULL interface view is displayed.The NULL interface stays in the Up state. It cannot forward data packets. You cannot configurean IP address for it or encapsulate it with protocols.----End

    Checking the Configurationl Run the display interface null [ 0 ] command to check the status of a null interface.

    CloudEngine 6800&5800 Series SwitchesConfiguration Guide - Interface Management 3 Logical Interface Configuration

    Issue 04 (2013-07-10) Huawei Proprietary and ConfidentialCopyright Huawei Technologies Co., Ltd.

    41

    About This DocumentContents1 Basic Configuration for Interfaces1.1 Interface Overview1.2 Interface Features1.3 Configuring Basic Interface Parameters1.3.1 Entering the Interface View1.3.2 Configuring an Interface Description1.3.3 Configuring the Traffic Statistics Collection Interval1.3.4 Enabling or Disabling an Interface1.3.5 Checking the Configuration

    1.4 Maintaining Interfaces1.4.1 Clearing Interface Traffic Statistics

    2 Ethernet Interfaces Configuration2.1 Ethernet Interface Overview2.2 Ethernet Interface Features2.3 Default Configuration2.4 Configuring a Port Group2.5 Configuring Ethernet Interfaces2.5.1 Configuring the 40GE/10GE Interface Mode2.5.2 Configuring Virtual Cable Test2.5.3 Configuring the Auto-Negotiation Function2.5.4 Configuring Interface Rate2.5.5 Configuring the Flow Control Function2.5.6 Configuring Interface Isolation2.5.7 Configuring the IFG2.5.8 Configuring an Interface to Allow Jumbo Frames2.5.9 Configuring the Delay in Reporting Interface Status Changes2.5.10 Configuring the Alarm Thresholds of the Outbound/Inbound Bandwidth Usage2.5.11 Configuring the Alarm Threshold of CRC-Error Packets2.5.12 Configuring the EEE function2.5.13 Configuring Interface Traffic Statistics to Include Inter-frame Gaps2.5.14 Configuring the Link Flapping Protection Function2.5.15 Configuring an Interface to Transit to the Error-Down StateWhen the Optical Power Is Low2.5.16 Configuring an Interface to Transit to the Error-Down StateWhen the Number of Received CRC Error Packets Exceeds the Threshold2.5.17 Checking the Configuration

    2.6 Maintaining Ethernet Interfaces2.6.1 Configuring Loopback Detection2.6.2 Clearing Interface Statistics

    2.7 Configuring Examples2.7.1 Example for Configuring Interface Isolation

    3 Logical Interface Configuration3.1 Introduction to Logical Interfaces3.2 Configuring a Loopback Interface3.3 Configuring a NULL Interface