0% found this document useful (0 votes)
259 views133 pages

CX311 Switch Module V100R001C00 User Guide 22

Uploaded by

sreenivasan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
259 views133 pages

CX311 Switch Module V100R001C00 User Guide 22

Uploaded by

sreenivasan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 133

CX311 Switch Module

V100R001C00

User Guide

Issue 01
Date 2018-09-20

HUAWEI TECHNOLOGIES CO., LTD.


Copyright © Huawei Technologies Co., Ltd. 2018. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior written
consent 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.

Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase 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
representations of any kind, either express or implied.

The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.

Huawei Technologies Co., Ltd.


Address: Huawei Industrial Base
Bantian, Longgang
Shenzhen 518129
People's Republic of China

Website: http://e.huawei.com

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. i


CX311 Switch Module
User Guide About This Document

About This Document

Purpose
This document describes the CX311 10GE/FCoE converged switch module of the E9000
server in terms of its features, installation, removal, and configuration.

The product features and commands for the Ethernet switching plane of the switch modules
vary according to the software version. For details, see the documents listed in the following
table.

NOTE

Run the display version command on the switching plane CLI and select a reference document based on
the Switch Version or Software Version displayed in the command output.

Huawei Support Website Ethernet Switching Reference Document


Version Plane Software Version

V100R001C00 or 1.1.3.300.3 See this document.


V100R001C00SPCxxx
1.1.3.301.6

1.1.3.330.13

V100R001C10 or 1.2.1.0.39 See the CX311 Switch


V100R001C10SPCxxx Module V100R001C10
Versions in the x.xx format, User Guide.
such as 2.05.
NOTE
2.05 and later versions are
displayed in the x.xx format.

Intended Audience
This document is intended for:

l Technical support engineers


l Installation and commissioning engineers
l Field maintenance engineers
l System maintenance engineers

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. ii


CX311 Switch Module
User Guide About This Document

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

Symbol Description

Indicates an imminently hazardous situation which, if


not avoided, will result in death or serious injury.

Indicates a potentially hazardous situation which, if not


avoided, could result in death or serious injury.

Indicates a potentially hazardous situation which, if not


avoided, may result in minor or moderate injury.

Indicates a potentially hazardous situation which, if not


avoided, could result in equipment damage, data loss,
performance deterioration, or unanticipated results.
NOTICE is used to address practices not related to
personal injury.

Calls attention to important information, best practices


and tips.
NOTE is used to address information not related to
personal injury, equipment damage, and environment
deterioration.

Change History
Issue Date Description

22 2018-09-20 This issue is the twenty-second official release.

21 2018-07-18 This issue is the twenty-first official release,


and includes the following changes:
l Modified 2.2 Appearance.
l Modified 3.1 Installing the CX311.

20 2018-03-30 This issue is the twentieth official release.

19 2017-09-14 This issue is the nineteenth official release.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. iii


CX311 Switch Module
User Guide About This Document

Issue Date Description

18 2017-03-27 This issue is the eighteenth official release, and


includes the following changes:
l Added product model description to 2.2
Appearance.
l Modified the relationships between
switching plane software versions and
reference documents in About This
Document.

17 2017-02-17 This issue is the seventeenth official release,


and includes the following changes:
Modified the operation scenario description
and VLAN configuration query result in 4.4.11
Changing the VLAN ID and Domain ID.

16 2016-08-31 This issue is the sixteenth official release, and


includes the following changes:
Modified 6.14 Using the CLI to Collect
FCoE Gateway Information.

15 2016-03-31 This issue is the fifteenth official release, and


includes the following changes:
l Added 6.8 Configuring an FTP Server
and 6.12 Using the CLI to Collect
Converged Switching Plane Information.
l Added 6.7 Logging In to the Web Tools of
the MX510, 6.13 Using the Web Tools to
Collect FCoE Gateway Information, and
6.14 Using the CLI to Collect FCoE
Gateway Information.
l Added the rates and quantities of internal
and external ports in the logical structure
diagram in 2.6 Logical Architecture.

14 2015-10-19 This issue is the fourteenth official release.

13 2015-07-17 This issue is the thirteenth official release, and


includes the following changes:
Added the reference to the throughput to 2.9
Technical Specifications.

12 2015-02-16 This issue is the twelfth official release, and


includes the following changes:
Added the reference to the Networking
Assistant to 2.7 Internal Chassis Networking.

11 2014-11-10 This issue is the eleventh official release, and


includes the following changes:
Added 4.2 Default Information.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. iv


CX311 Switch Module
User Guide About This Document

Issue Date Description

10 2014-09-15 This issue is the tenth official release, and


includes the following changes:
Deleted "Tecal" from the product document.

09 2014-07-30 This issue is the ninth official release, and


includes the following changes:
Updated the storage temperature and altitude in
2.9 Technical Specifications.

08 2014-05-13 This issue is the eighth official release.

07 2014-03-07 This issue is the seventh official release.

06 2014-01-01 This issue is the sixth official release, and


includes the following changes:
l Added operations of MM910 later than
(U54) 2.20 on the web user interface
(WebUI).
l Modified the procedure in 4.5 Backing Up
the Configuration File.

05 2013-11-18 This issue is the fifth official release, and


includes the following changes:
l Changed the networking figure in 2.7
Internal Chassis Networking.
l Modified the sequence for removing an
optical cable and optical module in 3.2
Removing the CX311.

04 2013-09-30 This issue is the fourth official release, and


includes the following changes:
l Added the description of the MZ311
mezzanine module to 2.7 Internal Chassis
Networking and 2.8 Software and
Hardware Compatibility.
l Added the Jumbo item to Network
switching specifications in 2.9 Technical
Specifications.
l Added the note for periodical password
change to 4.3.4 Changing Initial User
Passwords.
l Deleted the description of the MZ110 and
MZ316 mezzanine modules from 2.7
Internal Chassis Networking and 2.8
Software and Hardware Compatibility.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. v


CX311 Switch Module
User Guide About This Document

Issue Date Description

03 2013-08-20 This issue is the third official release, and


includes the following changes:
l Added 6.1 Logging In to a Compute Node
or a Switch Module over MM910 SOL
and 6.5 Using the Local KVM Connected
to the MM910.
l Added the GE optical port description to
the function description of Ethernet features
in 2.1 Functions.
l Added the description of Reference
Manuals to 4.1 Configuration Overview.
l Deleted the function description of
Monitor Link from 2.1 Functions.

02 2013-06-05 This issue is the second official release, and


includes the following changes:
l Added 2.7 Internal Chassis Networking
and 2.8 Software and Hardware
Compatibility.
l Added the password complexity description
to 4.3.4 Changing Initial User Passwords.
l Changed the names of service planes.
l Modified the product function description
in 2.1 Functions.
l Changed the marks of the data transmission
status indicator and connectivity status
indicator in 2.4 Indicators.
l Modified the description of the network
switching performance in 2.9 Technical
Specifications.
l Changed the management network port
number in 4.3.1 Setting an IP Address for
the Management Network Port and
deleted the Telnet configuration process
from 4.3.1 Setting an IP Address for the
Management Network Port.

01 2013-04-01 This issue is the first official release.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. vi


CX311 Switch Module
User Guide Contents

Contents

About This Document.....................................................................................................................ii


1 Safety Instructions.........................................................................................................................1
2 Overview......................................................................................................................................... 5
2.1 Functions........................................................................................................................................................................ 5
2.2 Appearance................................................................................................................................................................... 11
2.3 Ports.............................................................................................................................................................................. 15
2.4 Indicators...................................................................................................................................................................... 18
2.5 Hardware Structure.......................................................................................................................................................21
2.6 Logical Architecture..................................................................................................................................................... 22
2.7 Internal Chassis Networking........................................................................................................................................ 23
2.8 Software and Hardware Compatibility......................................................................................................................... 27
2.9 Technical Specifications............................................................................................................................................... 27

3 Installing and Removing the CX311........................................................................................ 31


3.1 Installing the CX311.....................................................................................................................................................31
3.2 Removing the CX311................................................................................................................................................... 37

4 Configuring the CX311............................................................................................................... 43


4.1 Configuration Overview............................................................................................................................................... 43
4.2 Default Information...................................................................................................................................................... 44
4.3 Configuring the Converged Switching Plane............................................................................................................... 46
4.3.1 Setting an IP Address for the Management Network Port........................................................................................ 46
4.3.2 Logging In to the CLI of Each Switching Plane....................................................................................................... 48
4.3.3 Checking the Switching Plane................................................................................................................................... 51
4.3.4 Changing Initial User Passwords...............................................................................................................................52
4.3.5 Adding a User............................................................................................................................................................ 57
4.3.6 Configuring Switching Service Data......................................................................................................................... 60
4.4 Configuring the FCoE Gateway................................................................................................................................... 62
4.4.1 Configuring the IP Address of the Management Network Port................................................................................ 62
4.4.2 Checking the FCoE Gateway.................................................................................................................................... 63
4.4.3 Changing the Initial User Password.......................................................................................................................... 64
4.4.4 Disabling SNMP........................................................................................................................................................65
4.4.5 Adding a User............................................................................................................................................................ 66
4.4.6 Configuring the System Time and Time Zone.......................................................................................................... 67

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. vii


CX311 Switch Module
User Guide Contents

4.4.7 Configuring the Work Mode......................................................................................................................................67


4.4.8 Configuring the Port Mapping...................................................................................................................................69
4.4.9 Viewing Port Connection Status................................................................................................................................73
4.4.10 Configuring Zones................................................................................................................................................... 75
4.4.11 Changing the VLAN ID and Domain ID.................................................................................................................77
4.5 Backing Up the Configuration File.............................................................................................................................. 81

5 Restoring the Configuration File..............................................................................................85


6 Common Operations...................................................................................................................89
6.1 Logging In to a Compute Node or a Switch Module over MM910 SOL.....................................................................89
6.2 Logging In to the MM910 CLI over a Network Port by Using PuTTY.......................................................................92
6.3 Logging In to a Device over a Serial Port by Using PuTTY........................................................................................94
6.4 Powering On or Off a Switching Plane........................................................................................................................ 97
6.5 Using the Local KVM Connected to the MM910........................................................................................................ 99
6.6 Logging In to the HMM WebUI................................................................................................................................. 101
6.7 Logging In to the Web Tools of the MX510...............................................................................................................105
6.8 Configuring an FTP Server.........................................................................................................................................106
6.9 Transferring Files Using WinSCP.............................................................................................................................. 108
6.10 Transferring Files Using SFTP................................................................................................................................. 109
6.11 Using the HMM WebUI to Collect Converged Switching Plane Information......................................................... 110
6.12 Using the CLI to Collect Converged Switching Plane Information......................................................................... 111
6.13 Using the Web Tools to Collect FCoE Gateway Information...................................................................................116
6.14 Using the CLI to Collect FCoE Gateway Information............................................................................................. 118

A Appendix....................................................................................................................................121
A.1 BIOS Operations........................................................................................................................................................121
A.1.1 Logging In to the CX311 BIOS.............................................................................................................................. 121
A.2 Logging In to the CX311 DFx................................................................................................................................... 122

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. viii


CX311 Switch Module
User Guide 1 Safety Instructions

1 Safety Instructions

General Instructions
l Comply with all local laws and regulations when installing the hardware. These Safety
Instructions are only a supplement.
l Observe the instructions that accompany all "DANGER", "WARNING", "CAUTION",
and "NOTE" symbols in this document. Follow them in conjunction with these Safety
Instructions.
l Observe all safety instructions provided on the device labels when installing hardware.
Follow them in conjunction with these Safety Instructions.
l Operations involving high voltages or moving equipment must be performed by
authorized, qualified personnel.
l Take protective measures against radio interference before operating the device in
residential areas.

Personal Safety
l Only personnel certified or authorized by Huawei are allowed to install the hardware.
l Discontinue any dangerous operations and take protective measures. Report anything
that could cause personal injury or equipment damage to a project supervisor.
l Do not move devices or install racks and power cables in hazardous weather conditions.
l Wear clean protective gloves, ESD clothing, a protective hat, and protective shoes, as
shown in Figure 1-1.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 1


CX311 Switch Module
User Guide 1 Safety Instructions

Figure 1-1 Protective clothing

l For lifting or carrying hardware, ensure load limits and manpower provisions conform to
legal specifications.
Remove any conductive objects (such as watches and jewelry), as shown in Figure 1-2.

Figure 1-2 Conductive objects to be removed

Figure 1-3 shows how to wear an ESD wrist strap.


1. Secure the wrist strap around your wrist.
2. Fasten the strap buckle and ensure that the ESD wrist strap is snug against the skin.
3. Insert the attached ground terminal into the jack on the grounded rack or chassis.

Figure 1-3 Wearing a wrist strap

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 2


CX311 Switch Module
User Guide 1 Safety Instructions

l Exercise caution when using tools that could cause personal injury.
l Use a stacker when lifting hardware above shoulder height.
l Avoid any contact with high-voltage cables.
l Ensure that a device is properly grounded before powering it on.
l Do not use a ladder alone.
l Do not look into optical ports without eye protection.

Equipment Safety
l Use the recommended power cables.
l Use power cables only as intended.
l Hold hardware by the handles or bottom when moving it.
l Exercise caution when using tools.
l Connect the power cables to separate power distribution units (PDUs) for active/standby
operation. This makes power supply more reliable.

Transportation Precautions
l Use a logistics company that complies with international standards for transporting
electronics.
l Transport hardware in its original packaging.
l If the original packaging is unavailable, package heavy, bulky parts (such as chassis and
blades) and fragile parts (such as PCIe GPUs and SSDs) separately.
NOTE

Use the Huawei Server Compatibility Checker to check the parts supported by a compute node or
server.
l Power off all hardware before transportation.

Weight Limits Per Person

CAUTION
To reduce the risk of personal injury, comply with local regulations with regard to the
maximum weight one person is permitted to carry.

Table 1-1 lists the maximum weight each person is permitted to carry by standards
organization.

Table 1-1 Maximum handling weight


Organization Weight (kg/lb)

European Committee for Standardization (CEN) 25/55.13

International Organization for Standardization (ISO) 25/55.13

National Institute for Occupational Safety and Health (NIOSH) 23/50.72

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 3


CX311 Switch Module
User Guide 1 Safety Instructions

Organization Weight (kg/lb)

Health and Safety Executive (HSE) 25/55.13

General Administration of Quality Supervision, Inspection and l Men: 15/33.08


Quarantine of the People's Republic of China (AQSIQ) l Women: 10/22.05

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 4


CX311 Switch Module
User Guide 2 Overview

2 Overview

2.1 Functions
2.2 Appearance
2.3 Ports
2.4 Indicators
2.5 Hardware Structure
2.6 Logical Architecture
2.7 Internal Chassis Networking
2.8 Software and Hardware Compatibility
2.9 Technical Specifications

2.1 Functions
The CX311 is a switching control unit that provides data switching functionality for compute
node slots in the system and centrally provides service and management ports to connect to
external devices.
The CX311 switch modules are installed in the rear slots of the E9000 chassis and connected
to compute nodes, storage nodes, and management modules through the E9000 midplane. The
switch modules perform switching of internal data packets and control and management
packets to provide high-speed data transmission.
Table 2-1 describes functions of the CX311 converged switching plane. Table 2-2 describes
functions of the CX311 FCoE gateway.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 5


CX311 Switch Module
User Guide 2 Overview

Table 2-1 Converged switching plane function description


Function Description

Ethernet Ethernet l Operating modes of full-duplex and auto-


features negotiation
l Ethernet ports of GE and 10GE rates
NOTE
10GE optical ports support passive direct attached
cables (DACs), GE and 10GE multi-mode and single-
mode optical modules, and SFP electrical modules.
l Port traffic control
l Jumbo frames
l Link aggregation
l Load balancing among links within a trunk
l Interface isolation and forwarding
restrictions
l Broadcast storm suppression

Virtual Local Area l Multiple interface types: Access, Trunk,


Network (VLAN) Hybrid, and 802.1Q-in-802.1Q (QinQ)
l Default VLAN

Media Access l Automatic learning and aging of MAC


Control (MAC) addresses
l Static, dynamic, and blackhole MAC
address entries
l Packet filtering based on source MAC
addresses
l Interface-based MAC learning limits

Link Layer LLDP


Discovery Protocol
(LLDP)

Ethernet loop Multiple Spanning l Spanning Tree Protocol (STP)


protection Tree Protocol l Rapid Spanning Tree Protocol (RSTP)
(MSTP)
l MSTP
l Bridge protocol data unit (BPDU)
protection, root protection, and loop
protection
l Partitioned STP and BPDU tunneling

IP features Address Resolution l Static and dynamic ARP entries


Protocol (ARP) l ARP in a VLAN
l Aging of ARP entries

Dynamic Host l DHCP snooping


Configuration l DHCP relay
Protocol (DHCP)

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 6


CX311 Switch Module
User Guide 2 Overview

Function Description

IPv4 Unicast routing l Static route


forwarding features l Routing Information Protocol version 1
(RIPv1) and RIPv2
l Open Shortest Path First (OSPF)
l Intermediate System to Intermediate System
(IS-IS)
l Border Gateway Protocol version 4 (BGP4)
l Policy-based Routing (PBR) and routing
policies
l Unicast Reverse Path Forwarding (URPF)
check

Multicast routing l Internet Group Management Protocol


features version 1/2/3 (IGMPv1/v2/v3)
l Protocol Independent Multicast-Sparse
Mode (PIM-SM)
l Protocol Independent Multicast Source-
Specific Multicast (PIM-SSM)
l Multiprotocol BGP (MBGP)
l Multicast Source Discovery Protocol
(MSDP)
l Multicast routing policies
l Reverse Path Forwarding (RPF)

Device Bidirectional l Basic BFD functions


reliability Forwarding Detection l Association between BFD and OSPF
(BFD)
l Association between BFD and IS-IS
l Association between BFD and BGP
l Association between BFD and PIM

Others l Virtual Router Redundancy Protocol


(VRRP)
l Device Link Detection Protocol (DLDP)

Layer 2 Layer 2 multicast l IGMP snooping


multicast features l IGMP proxy
features
l Fast leave
l Multicast traffic control

Quality of Traffic classification l Traffic classification based on combination


Service (QoS) of the L2 protocol header, IP 5-tuple,
features outbound interface, and 802.1p priority
l Traffic classification based on the C-VID
and C-PRI of QinQ packets

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 7


CX311 Switch Module
User Guide 2 Overview

Function Description

Traffic behavior l Access control after traffic classification


l Traffic policing based on traffic classifiers
l Packet re-marking based on the traffic
classification result
l Class-based packet queuing
l Association between traffic classifiers and
traffic behaviors (actions)

Queue scheduling l Priority queuing (PQ) scheduling


l Deficit round robin (DRR) scheduling
l PQ+DRR scheduling
l Weighted round robin (WRR) scheduling
l PQ+WRR scheduling

Congestion Weighted Random Early Detection (WRED)


avoidance

Rate limiting on Rate limiting on outbound interfaces


outbound interfaces

Virtualization Many-to-one l Intelligent Stack (iStack)


virtualization l Stack split and merge
l Dual-active detection
l Version and configuration synchronization
l Network Time Protocol (NTP) clock
synchronization

Data center Transparent TRILL features


features Interconnection of
Lots of Links
(TRILL)

Data Center Bridging l Data Center Bridging Exchange Protocol


(DCB) (DCBX)
l Priority-based Flow Control (PFC)
l Enhanced Transmission Selection (ETS)

Fibre Channel over FCoE Initialization Protocol Snooping Bridge


Ethernet (FCoE) (FSB)

Virtual machine l Virtualization detection


(VM) detection l Automatic policy deployment
l Automatic policy migration

Forwarding mode Traffic forwarding mode based on VEPA


based on Virtual
Ethernet Port
Aggregator (VEPA)

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 8


CX311 Switch Module
User Guide 2 Overview

Function Description

Configuration Terminal service l Configuration using command lines


and l Messages and help information in English
maintenance
l Login through console and Telnet terminals
l Send function and data communications
between terminal users

File system l Directory and file management


l File upload and download using File
Transfer Protocol (FTP), Trivial File
Transfer Protocol (TFTP), and Secure File
Transfer Protocol (SFTP)

Debugging and l Unified management of logs, alarms, and


maintenance debugging information
l Electronic labels
l User operation logs
l Detailed debugging information for network
fault diagnosis
l Network test tools such as tracert and ping
commands
l Port mirroring and traffic mirroring

Version upgrade l Device software loading and in-service


software loading
l In-service upgrade using the basic input/
output system (BIOS) menu
l In-service patching
NOTE
To ensure secure service application, periodically
upgrade the switch module software version.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 9


CX311 Switch Module
User Guide 2 Overview

Function Description

Security and System security l Hierarchical command-line protection based


management on user levels, preventing unauthorized
users from accessing switch modules
l Secure Shell (SSH)
l Remote Authentication Dial In User Service
(RADIUS) and Huawei Terminal Access
Controller Access Control System
(HWTACACS) authentication for login
users
l Access control list (ACL) filtering
l Dynamic ARP inspection (DAI)
l DHCP packet filtering (appending the
Option 82 field)
l Defense against control packet attacks
l Defense against attacks of source address
spoofing, LAND, SYN flood (TCP SYN),
smurf, ping flood (Internet Control Message
Protocol Echo), teardrop, and ping of death

Network l Internet Control Message Protocol (ICMP)-


management based ping and tracert
l Simple Network Management Protocol
version 1/2c/3 (SNMPv1/v2c/v3)
l Standard management information base
(MIB)
l Remote network monitoring (RMON)
l Network quality analysis (NQA)

Table 2-2 FCoE gateway function description


Function Description

Fibre Channel FC optical port Supports 4G/8G FC autonegotiation, full duplex, and
(FC) switching the storage port function.

Switching Supports full fabric mode and transparent mode.

NPIV Supports N_Port ID virtualization (NPIV). A physical


port supports access of multiple virtual N_Port_IDs.

FC switching Load sharing Supports load sharing.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 10


CX311 Switch Module
User Guide 2 Overview

Function Description

Configuration Configuration l Supports configurations using command lines.


and and l Supports the HTTPS-based Webtool (graphical
maintenance management user interface).
modes
l Supports Simple Network Management Protocol
version 1/3 (SNMPv1/v3).
l Supports the FC Fabric Element management
information base (MIB).

Connection l Supports Ethernet connection (over SSH, SNMP,


mode or Web).
l Supports serial over LAN (SOL) connection.

Version Supports in-service upgrades for software. Services


upgrade are not interrupted during an upgrade. The upgrade
takes effect after the reset.
NOTE
To ensure secure service application, periodically upgrade the
switch module software version.

Network System l Supports hierarchical rights management based on


security security user levels, preventing unauthorized users from
accessing switch modules.
l Supports Secure Shell (SSH) and Secure Sockets
Layer (SSL).
l Supports SNMPv1/v3.
l Supports Remote Authentication Dial In User
Service (RADIUS) for user logins.

2.2 Appearance
Figure 2-1 Appearance

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 11


CX311 Switch Module
User Guide 2 Overview

Installation Positions
The CX311 can be installed in the four slots at the rear of the E9000 chassis. The four slots
are 1E, 2X, 3X, and 4E.

Figure 2-2 Installation positions and slots

Panel

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 12


CX311 Switch Module
User Guide 2 Overview

Figure 2-3 Panel

1 Product model 2 Slide-out label plate (with an


ESN label)

3 BMC serial port 4 Stacking status indicator

5 HLY indicator 6 Offline button/indicator

7 SYS serial port 8 10GE optical port

9 Connection status indicator 10 Data transmission status


for the 10GE optical port indicator for the 10GE optical
port

11 8G FC optical port 12 Connection status indicator


for the 8G FC optical port

13 Data transmission status - -


indicator for the 8G FC
optical port

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 13


CX311 Switch Module
User Guide 2 Overview

NOTE

The numbers on the left side are port numbers. The arrow direction of a triangle indicates the direction
of a port.

ESN
An Equipment Serial Number (ESN) uniquely identifies a server. An ESN is required when
you apply for technical support from Huawei.

Figure 2-4 ESN example

Callout No. Description

1 ESN ID (two characters), which is 21 by default.

2 Material identification code (eight characters), that is, processing code.

3 Vendor code (two characters). The code 10 indicates Huawei, and other
values indicate outsourcing vendors.

4 Year and month (two characters).


l The first character indicates the year, where:
– Digits 1 to 9 indicate 2001 to 2009, respectively.
– Letters A to H indicate 2010 to 2017, respectively.
– Letters J to N indicate 2018 to 2022, respectively.
– Letters P to Y indicate 2023 to 2032, respectively.
NOTE
The years from 2010 are represented by upper-case letters excluding I, O, and Z
because the three letters are similar to the digits 1, 0, and 2.
l The second character indicates the month, where:
– Digits 1 to 9 indicate January to September, respectively.
– Letters A to C indicate October to December, respectively.

5 Serial number (six characters).

6 RoHS compliance (one character). Y indicates environmental protection


processing.

7 Internal model, that is, product name.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 14


CX311 Switch Module
User Guide 2 Overview

2.3 Ports
The CX311 provides ports for users to operate and configure. The ports are used to send and
receive data.
The CX311 Ethernet ports are numbered in Slot number/Subcard number/Port number
format.
l Slot number: indicates the slot number of the current switch module. Its value ranges
from 1 to 4, from left to right mapping to slot numbers 1E, 2X, 3X, and 4E.
l Subcard number: indicates the number of a subcard supported by switching service ports.
The value ranges from 1 to 20.
l Port number: indicates the sequence number of a port on a subcard.
For details about subcard numbers and port numbers, see Table 2-3 and Table 2-4.
For example, if the CX311 is in slot 2X, the first GE port on the upper right on the panel is
numbered 10GE 2/17/16, as shown in Figure 2-5.
The numbers of the FC optical ports on the CX311 are Ext1:0 to Ext8:7, which map to ports 1
to 8 for FC optical ports on the panel, as shown in Figure 2-5.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 15


CX311 Switch Module
User Guide 2 Overview

Figure 2-5 Port naming rules

Table 2-3 describes the external ports on the CX311.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 16


CX311 Switch Module
User Guide 2 Overview

Table 2-3 External ports


Port T Qu Su Port Number Description
y ant bc
p ity ar
e d
N
u
m
be
r

Seri R 2 - - The serial ports include the baseboard


al J management controller (BMC) serial port and
port 4 the SYS serial port. These ports comply with
5 RS232, and do not have an indicator.
l BMC serial port: Used to log in to the BMC
command-line interface (CLI).
l SYS serial port: Used to manage, maintain,
and commission the converged switching
plane and FCoE gateway.
The SYS serial port connects to the
converged switching plane by default. You
can run systemcom to switch the plane on
the BMC CLI.
The BMC serial port and the serial port of the
converged switching plane support a baud rate
of 115,200 bit/s.
The serial port of the FCoE gateway supports a
baud rate of 9,600 bit/s.

10G S 16 17 The value ranges The sixteen ports higher up on the panel are
E F from 1 to 16. used to exchange data with an external
opti P The ports are network.
cal + numbered from Two indicators are provided for each port. The
port 1 in ascending orange indicator is the data transmission status
(upp order from left indicator, and the green indicator is the
er) to right and then connectivity status indicator.
from bottom to
top.

8G S 8 - - The eight ports lower down on the panel are


FC F used to connect to an FC storage network.
opti P Two indicators are provided for each port. The
cal + orange indicator is the data transmission status
port indicator, and the green indicator is the
(low connectivity status indicator.
er)

Table 2-4 describes the internal ports on the CX311.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 17


CX311 Switch Module
User Guide 2 Overview

Table 2-4 Internal ports


Port Quan Subc Port Description Example
tity ard Num
Num ber
ber

10GE 32 1–16 1 or 2 The ports connect to the If the CX311 is in slot


port front half-width slots 01 2X, the ports connected
to 16, and map to to the compute node in
subcard numbers from 1 slot 1 are 10GE 2/1/1 and
to 16. 10GE 2/1/2.

40GE 1 18 1 The port is used to If the CX311 is in slot


port connect switch modules 2X, the port is numbered
in the 1E and 4E slots or 40GE 2/18/1.
in the 2X and 3X slots.

GE 2 19 1 or 2 Two GE ports connect to If the CX311 is in slot


port two MM910s 2X, the ports are
respectively. They are numbered GE 2/19/1 and
used to communicate GE 2/19/2.
with eth0 and eth2 in the
MM910.

10GE 8 20 1 to 8 The ports connect to the If the CX311 is in slot


port MX510. 2X, the ports are
numbered 10GE 2/20/1
to 10GE 2/20/8.

2.4 Indicators
By observing the indicators, you can determine the current operating status of the CX311.

Table 2-5 Indicators


Silkscreen Meaning Color Description

STAT Stacking status Green l Off: The CX311 is not powered


indicator on.
l Blinking green for 10 times:
The CX311 is being powered
on.
l Blinking green: The CX311 is
in standby or slave state in a
stack and is operating properly.
l Steady green: The CX311 is in
the active state in a stack or is
not stacked, and is operating
properly.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 18


CX311 Switch Module
User Guide 2 Overview

Silkscreen Meaning Color Description

HLY Health status Red and green l Off: The CX311 is not powered
indicator on.
l Steady green: The CX311 is
operating properly or has minor
alarms.
l Blinking red (1 Hz): A major
alarm is generated.
l Blinking red (4 Hz): A critical
alarm is generated.
l Blinking red (5 Hz): The
CX311 is not securely
installed.
NOTE
It is difficult to identify the difference
between blinking frequencies of 4 Hz
and 5 Hz. If the indicator is blinking
red quickly, you are advised to check
whether the device has been installed
properly and then check whether a
critical alarm has been generated.

OFL Offline button/ N/A N/A


indicator
(reserved)

and Connection Green l Off: The port is not properly


status indicator connected.
for the 10GE l Steady green: The port is
optical port properly connected.

and Data Orange l Off: No data is being


transmission transmitted over the port.
status indicator l Blinking orange: Data is being
for the 10GE sent or received over the port.
optical port

A Data Orange l Off: No data is being


transmission transmitted over the port.
status indicator l Blinking orange (twice/
for the 8G FC second): If the green indicator
optical port (L) is blinking twice per
second at the same time, a high
temperature alarm is generated.
l Blinking orange (over two
times/second): Data is being
sent or received over the port.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 19


CX311 Switch Module
User Guide 2 Overview

Silkscreen Meaning Color Description

L Connection Green l Off: No optical module is


status indicator installed, or an exception
for the 8G FC occurs when the port is
optical port receiving optical signals.
l Steady green: The link is
properly connected.
l Blinking green (once/second):
The device is being registered
or the port is in the diagnosis
state.
l Blinking green (twice/second):
The port is not properly
connected or the port is faulty.
If the orange indicator (A) is
blinking twice per second at
the same time, a high
temperature alarm is generated.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 20


CX311 Switch Module
User Guide 2 Overview

2.5 Hardware Structure


Figure 2-6 Components

1 CPU 2 Converged switch module

3 Heat sink 4 MX510 mezzanine switch


module

5 Midplane signal connector 6 Midplane power connector

Table 2-6 Description of components


No. Component Description

1 CPU A high-performance processor that


processes protocol packets and manages
configurations.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 21


CX311 Switch Module
User Guide 2 Overview

No. Component Description

2 Converged switch module A functional module of the CX311, which is


used to forward a huge number of service
packets.

3 Heat sink Cools a CPU. Each CPU is configured with


one heat sink.

4 MX510 mezzanine switch Exchanges storage service data and provides


module external ports for the storage switching
plane. It corresponds to the internal FCoE
gateway.

5 Midplane signal connector Exchanges data between the CX311 and


nodes in the front slots.

6 Midplane power connector Supplies 12 V DC power for the CX311.

2.6 Logical Architecture


The CX311 logical architecture consists of four modules: the baseboard management
controller (BMC) module, CPU system module, converged switch module, and MX510
mezzanine module.
l The BMC module is a management module that powers on or off the node, monitors the
system, and upgrades components.
l The CPU system module is the controlling core that processes network protocol packets
and manages user configurations.
l The converged switch module is the data processing core that forwards data between
internal data processing modules and external network devices.
l The MX510 mezzanine module exchanges storage service data between compute nodes,
storage nodes, and management modules.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 22


CX311 Switch Module
User Guide 2 Overview

Figure 2-7 Logical architecture

2.7 Internal Chassis Networking


Figure 2-8 shows the internal chassis networking for the CX311 and compute nodes. Ports on
compute nodes for connecting to the CX311 are provided by two mezzanine modules as
follows:
l Mezz 1 connects to the converged switching plane of the CX311s in slots 2X and 3X.
l Mezz 2 connects to the converged switching plane of the CX311s in slots 1E and 4E.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 23


CX311 Switch Module
User Guide 2 Overview

Figure 2-8 Mapping between the CX311s and mezzanine modules on compute nodes

For details, see the E9000 Blade Server Mezzanine Module-Switch Module Interface
Mapping Tool.
The following describes the mapping between the CX311s and mezzanine modules. For
example, the CX311s are installed in slots 2X and 3X and connect to Mezz 1.

Port Mapping Between a Switch Module and a Mezzanine Module


Mapping between the CX311s and ports on the MZ311
The MZ311 provides four 10GE optical ports (ports 1 to 4). Ports 1 and 3 map to the
converged switching plane of the CX311 in slot 2X. Ports 2 and 4 map to the converged
switching plane of the CX311 in slot 3X.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 24


CX311 Switch Module
User Guide 2 Overview

Figure 2-9 Mapping between the CX311s and ports on the MZ311

Mapping between the CX311s and ports on the MZ510


The MZ510 provides two 10GE ports (ports 1 and 2). Ports 1 and 2 map to the converged
switching plane of the CX311s in slots 2X and 3X respectively.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 25


CX311 Switch Module
User Guide 2 Overview

Figure 2-10 Mapping between the CX311s and ports on the MZ510

Mapping between the CX311s and ports on the MZ512


The MZ512 provides four 10GE optical ports (ports 1 to 4). Ports 1 and 3 map to the
converged switching plane of the CX311 in slot 2X. Ports 2 and 4 map to the converged
switching plane of the CX311 in slot 3X.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 26


CX311 Switch Module
User Guide 2 Overview

Figure 2-11 Mapping between the CX311s and ports on the MZ512

2.8 Software and Hardware Compatibility


Use the Huawei Server Compatibility Checker to check the software and hardware that are
compatible with the CX311.

2.9 Technical Specifications


Table 2-7 Technical specifications
Category Item Specifications

Physical Dimensions (H 388.55 mm x 35.06 mm x 272.15 mm (15.30 in. x


specifications x W x D) 1.38 in. x 10.71 in.)

Color Silver

Weight 3 kg (6.62 lb)

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 27


CX311 Switch Module
User Guide 2 Overview

Category Item Specifications

Environmental Temperature l Operating temperature: 5°C to 40°C (41°F to


specifications 104°F) (ASHRAE Class A3 compliant)
l Storage temperature: –40°C to +65°C (–40°F to
+149°F)
l Long-term storage temperature: 21°C to 27°C
(69.8°F to 80.6°F)
l Temperature change rate: < 20°C/h (36°F/h)

Relative l Operating humidity: 5% RH to 85% RH (non-


humidity condensing)
l Storage humidity: 5% RH to 95% RH (non-
condensing)
l Long-term storage humidity: 30% RH to 69% RH
(non-condensing)
l Humidity change rate: < 20% RH/h

Altitude At an altitude of 900 m (2952.72 ft), the highest


operating temperature is 40°C (104°F).
When the device is used at an altitude of 900 m to
5000 m (2952.72 ft to 16,404 ft), the highest
operating temperature decreases by 1°C (1.8°F) for
every increase of 300 m (984.24 ft).

Corrosive air l Corrosion rate of the copper test piece: < 300 Å/
pollutant month (in compliance with the ANSI/
ISA-71.04-2013 gaseous corrosion level G1)
l Corrosion rate of the silver test piece: < 200 Å/
month

Particulate l The ISO14664-1 Class 8 requirements are met.


pollutant It is recommended that a professional company
monitor particulate pollutants in the equipment
room.
l There is no explosive, conductive, magnetic, or
corrosive dust in the equipment room.

Input power Rated input 12 V DC


supply voltage

Power Maximum 172 W


consumption power
consumption

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 28


CX311 Switch Module
User Guide 2 Overview

Table 2-8 Network switching specifications


Attribute Service Specifications
Feature

Device Number of l One BMC serial port and one SYS serial port
performance ports on the l Sixteen 10GE optical ports
panel
l Eight 8G FC optical ports

Port rate 10GE optical ports and GE optical ports are


supported.

Service port Two 40GE ports on two switch modules can be


stacking stacked. (10GE ports and 40GE ports cannot be
stacked into one logical interface.)

Switching 1.28 Tbit/s


capability
(throughput)

Packet 960 Mpps


forwarding rate

Ethernet service Number of 131,072


Media Access
Control (MAC)
addresses

Number of 4063
VLANs NOTE
A switch module reserves 31 internal virtual local area
networks (VLANs). The default value ranges from 4064 to
4094. The reserved VLANs are in a consecutive range.

Number of Eth- 128 Eth-Trunk interfaces. Each Eth-Trunk interface


Trunk supports a maximum of 16 member interfaces.
interfaces

Number of 16,384
Address
Resolution
Protocols
(ARPs) for the
device

Jumbo frame 9216


length (in byte)

Quality of Number of 8
service (QoS) queues for a
port

Number of l Ingress: 2048


Committed l Egress: 1024
Access Rate
(CAR)

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 29


CX311 Switch Module
User Guide 2 Overview

Attribute Service Specifications


Feature

Packet cache 4 MB

ACL ACLv4 l Pre-Ingress: 750


l Ingress: 1500
l Egress: 1000

L3VPN VPN routing 128


and forwarding Multiprotocol Label Switching (MPLS) is not
(VRF) supported.

Number of 16,384
virtual private
network (VPN)
routes

IP address Number of 16,384


unicast route entries

Number of 16,384
IPV4
forwarding
information
bases (FIBs)

Multicast Number of 8192


layer 2
multicast
forwarding
entries

Reliability Bidirectional Forwarding Detection (BFD)


service
Virtual Router l Number of VRRP backup groups: 64
Redundancy l Number of VRRP management groups: 64
Protocol
(VRRP) l Number of virtual IP addresses for each VRRP
backup group: 16

Multiple Maximum number of instances in the device: 48


Spanning Tree
Protocol
(MSTP)

Enhanced Transparent l Number of network nodes: 512


Ethernet Interconnection l Number of CE-VLANs: 4062
of Lots of Links
(TRILL) l Load-sharing specifications: 16 links

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 30


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

3 Installing and Removing the CX311

3.1 Installing the CX311


3.2 Removing the CX311

3.1 Installing the CX311


Prerequisites
Tools
l Protective gloves
l Electrostatic discharge (ESD) gloves
l Phillips screwdriver (PH3 is 8 mm or 0.31 in.)

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 31


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

Workflow

Figure 3-1 Installation process

Procedure
Step 1 Install the chassis.

Step 2 Determine the position for installing the CX311 in the chassis.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 32


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

Figure 3-2 Slot numbers

Step 3 Remove the switch module filler panel.


1. Use a Phillips screwdriver to loosen the two M3 captive screws on the switch module
filler panel. See (1) in Figure 3-3.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 33


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

Figure 3-3 Removing the switch module filler panel

2. Raise the two ejector levers on the switch module filler panel completely, and pull the
filler panel horizontally out of the chassis. See (2) and (3) in Figure 3-3.
3. Store the switch module filler panel for future use.
Step 4 Install the CX311.
1. Raise the two ejector levers on the CX311 completely and push the CX311 horizontally
into the chassis as far as it will go. See (1) and (2) in Figure 3-4.

Figure 3-4 Installing the CX311

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 34


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

2. Lower the two ejector levers on the CX311 until the CX311 is completely inserted. See
(3) in Figure 3-4.
3. Use a Phillips screwdriver to tighten the two M3 captive screws on the CX311. See (4) in
Figure 3-4.
Step 5 Determine the connection relationships between signal cables and ports.

Figure 3-5 Port types and numbers

1 BMC serial port 2 SYS serial port

3 10GE optical port 4 8G FC optical port

Step 6 (Optional) Connect a serial cable.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 35


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

Figure 3-6 Connecting a serial cable

NOTE

The BMC serial port and SYS serial port are standard RJ45 ports and are connected in the same way.

Step 7 Connect an optical module and cable.


1. Determine the optical module type and the optical port to be connected depending on site
requirements.
2. Insert the optical module into the optical port until the optical module is locked.

Figure 3-7 Installing an optical module

3. Remove the dust-proof caps from the optical cable. See (1) in Figure 3-8.

Figure 3-8 Connecting an optical cable

4. Insert the optical cable into the optical module. See (2) in Figure 3-8.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 36


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

NOTE

The methods for connecting an optical cable to a 10GE optical port and an 8G FC optical port are
the same.

Step 8 Check the indicator status after the CX311 is powered on. For details, see Table 2-5.
Step 9 Configure the CX311. For details, see 4 Configuring the CX311.

----End

3.2 Removing the CX311


To replace a switch module, see section "Replacing a Switch Module" in the E9000 Server
V100R001 User Guide.

Impact on the System


After the switch module is removed, all services running on the switch module stop.

Prerequisites
Tools
l Protective gloves
l Electrostatic discharge (ESD) gloves
l Phillips screwdriver (PH2 is 6 mm or 0.24 in.)

Workflow

Figure 3-9 Removal process

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 37


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

Procedure
Step 1 Determine the CX311 to be removed.

Figure 3-10 Slot numbers

Step 2 Determine the connection relationships between signal cables and ports on the CX311.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 38


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

Figure 3-11 Port types and numbers

1 BMC serial port 2 SYS serial port

3 10GE optical port 4 8G FC optical port

Step 3 (Optional) Remove a serial cable.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 39


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

Figure 3-12 Removing a serial cable

NOTE

The BMC serial port and SYS serial port are standard RJ45 ports and are disconnected in the same way.

Step 4 Remove an optical cable and optical module.


1. Determine the optical module type and the optical port to be removed depending on site
requirements.
2. Remove the optical cable from the optical module. See (1) and (2) in Figure 3-13.
3. Install the dust-proof cap for the optical cable. See (3) in Figure 3-13.

Figure 3-13 Removing an optical cable

4. Remove the optical module horizontally from the optical port, as shown in Figure 3-14.
NOTE

The methods for removing an optical cable from a 10GE optical port and an 8G FC optical port
are the same.

Figure 3-14 Removing an optical module

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 40


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

If 10GE or FC optical modules and fibers have been removed and 40GE optical modules
and fibers do not need to be removed, go to Step 5.
Step 5 Remove the CX311.
1. Use a Phillips screwdriver to loosen the two M3 captive screws. See (1) in Figure 3-15.

Figure 3-15 Removing the switch module

2. Raise the two ejector levers on the CX311 completely and pull the switch module
horizontally out of the chassis. See (2) and (3) in Figure 3-15.
3. Lower the ejector levers on the CX311. See (4) in Figure 3-15.

NOTICE
An ESD bag holds only one switch module.

4. Place the removed switch module into an ESD bag.


Step 6 Install a switch module filler panel.
1. Raise the two ejector levers on the switch module filler panel and push the filler panel
horizontally into the chassis as far as it will go. See (1) in Figure 3-16.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 41


CX311 Switch Module
User Guide 3 Installing and Removing the CX311

Figure 3-16 Installing a switch module filler panel

2. Lower the two ejector levers on the switch module filler panel. See (2) in Figure 3-16.
3. Use a Phillips screwdriver to tighten the two M3 captive screws on the switch module
filler panel. See (3) in Figure 3-16.

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 42


CX311 Switch Module
User Guide 4 Configuring the CX311

4 Configuring the CX311

4.1 Configuration Overview


4.2 Default Information
4.3 Configuring the Converged Switching Plane
4.4 Configuring the FCoE Gateway
4.5 Backing Up the Configuration File

4.1 Configuration Overview


Configuration Process

Figure 4-1 Configuration process

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 43


CX311 Switch Module
User Guide 4 Configuring the CX311

The converged switching plane and FCoE gateway of the CX311 must be configured
respectively.
FCoE gateway refers to the MX510 in the CX311. This section describes the features
supported by the FCoE gateway and common configurations such as zone configuration.
For details about FCoE gateway configuration, see the MX510 Mezzanine Module Command
Reference, such as:
l User Account Configuration
l Managing MX510 Mezzanine Module Services
l Installing Firmware
l Event Log Configuration
l Zoning Configuration
l Port Configuration
l Creating a Support File
l Command Reference

Related Documents
Related documents of the converged switching plane in the CX311 are as follows:
l For details about commands of the converged switching plane, see the CX110 and
CX31x Series Switch Modules V100R001C00 Command Reference.
l For details about log description of the converged switching plane, see the CX110 and
CX31x Series Switch Modules V100R001C00 Log Reference.
l For details about how to configure converged switching plane features, see the CX110
and CX31x Series Switch Modules V100R001C00 Configuration Guide.
l For details about how to handle converged switching plane alarms, see the E9000 Server
V100R001 Alarm Handling.
l For details about how to rectify converged switching plane system faults and replace the
CX311, see the Huawei Servers Troubleshooting.
Related documents of the FCoE gateway in the CX311 are as follows:
l For details about commands of the FCoE gateway, and how to configure FCoE gateway
features, upgrade the FCoE gateway, and handle FCoE gateway alarms, see the MX510
Mezzanine Module Command Reference.
l For details about how to use the FCoE gateway GUI management tool (QuickTools), see
the MX510 Mezzanine Module QuickTool User Guide.

4.2 Default Information


Table 4-1 lists the default IP address of the CX311 FCoE gateway. Other switching planes
and the BMC do not have default IP addresses.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 44


CX311 Switch Module
User Guide 4 Configuring the CX311

Table 4-1 Default IP address

Parameter Default Value

IP address 192.168.1.100

Subnet mask 255.255.255.0

Default gateway 0.0.0.0

Table 4-2 describes the default information of the CX311.

Table 4-2 Default information

User User Description Default User Type User Login


Nam Password Status Method
e

root A BMC user Huawei12#$ Administrative Enabled Remote


user or local
login

- A user that logs in to Huawei12#$ Administrative Enabled Local


the basic input/output for U.S. user login
system (BIOS) setup English or
menu. French
The user has no user keyboard
name. Huawei12£$
for UK English
keyboard
NOTE
You can press
F5 during
system boot to
select a
keyboard.

root A user that logs in to Huawei12#$ Administrative Enabled Remote


the converged user or local
switching plane. login
No user name is
needed for login over
a serial port.

admi A user that logs in to Huawei12#$ Administrative Enabled Remote


n the FCoE gateway. user or local
Log in to the FCoE login
gateway at the first
time as user admin
to perform basic
configuration tasks.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 45


CX311 Switch Module
User Guide 4 Configuring the CX311

NOTE

Switch modules have a virtual serial port COM1. The virtual serial port is used by the built-in software
system in a switch module to manage the switch module. Note the following about the virtual serial port:
l Users cannot log in to the virtual serial port.
l The default password is Huawei#123.
l Do not set or change the virtual serial port password. Otherwise, some switch module functions fail.
l If the password is changed, run the undo authentication-mode or undo set authentication
password command to delete the new login password.

4.3 Configuring the Converged Switching Plane

4.3.1 Setting an IP Address for the Management Network Port


l The IP address of the converged switching plane management network port can be set on
the HMM WebUI. For details, see Procedure.
l On the converged switching plane CLI, run the ip address command to set the IP
address of the converged switching plane management network port. For details, see the
CX110 and CX31x Series Switch Modules V100R001C00 Command Reference.
l On the MM910 CLI, run the swipcontrol command to set IP address of the converged
switching plane management network port. For details, see the MM910 Management
Module V100R001 Command Reference.

Prerequisites
Data

Table 4-3 Required data


Name Description Example Value

IP address, subnet mask, and You can log in to the l IP address:


gateway of the converged converged switching plane 192.168.101.120
switching plane CLI from a PC by using the l Subnet mask:
management network port IP address of the 255.255.255.0
management network port.
l Gateway: 192.168.101.1

Table 4-4 Default data


Name Default Data Description

Initial user name and l User name: root The default user of the
password of the MM910 l Password: Huawei12#$ MM910 has all OS rights.

Software
PuTTY.exe: free software. PuTTY 0.60 or later is required for login over a serial port.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 46


CX311 Switch Module
User Guide 4 Configuring the CX311

Procedure
Step 1 Log in to the BMC CLI.
Step 2 Log in to the HMM WebUI. For details, see 6.6 Logging In to the HMM WebUI.
Step 3 Perform operations based on the MM910 versions.
l If the MM910 version is (U54) 2.20 or earlier, go to Step 4.
l If the MM910 version is later than (U54) 2.20, go to Step 8.
You can run the smmget -l smm -d version command on the MM910 CLI to check the
software version.
Step 4 In the navigation tree on HMM Web, choose System Management > Network
Management.
The Network Management page is displayed.
Step 5 Click the swiN tab.
The IP Address page is displayed, as shown in Figure 4-2.
l N indicates the slot number of the current switch module. Its value ranges from 1 to 4,
mapping to slot numbers 1E, 2X, 3X, and 4E from left to right.
l fabric indicates the converged switching plane.

Figure 4-2 IP Address page

Step 6 Select a switching plane for which the IP address is to be configured, and enter the IP address
and subnet mask.
Step 7 Click Modify, and complete the modification as prompted. Then click Query to check that
the settings take effect.
The IP address configuration is complete.
Step 8 On HMM Web, choose Chassis Settings.
The Chassis Settings page is displayed.
Step 9 In the navigation tree on the left, choose Network Settings > Swi.
Step 10 Click Edit to edit the IP addresses of management network ports of the converged switching
plane in specific slots.
Fabric indicates the converged switching plane.
Step 11 Click Deliver.
The IP addresses of converged switching plane management network ports are successfully
set.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 47


CX311 Switch Module
User Guide 4 Configuring the CX311

Step 12 (Optional) Configure the switching plane gateway.


1. Connect to the MM910 floating IP address over SSH to log in to the MM910 CLI.
PuTTY is used as an example for login over SSH. For details, see 6.2 Logging In to the
MM910 CLI over a Network Port by Using PuTTY.
2. Configure a gateway address for the Ethernet switching plane so that the switching plane
can properly communicate with the PC.
smmset -l swiN:fruM -d route -v targetvalue maskvalue gatewayvalue
The parameters are described as follows:
– N: specifies the slot number of a switch module. Its value ranges from 1 to 4,
mapping to switch module slots 1E, 2X, 3X, and 4E from left to right.
– M: indicates the ID of a switching plane. The value of the converged switching
plane is 2.
– targetvalue: specifies the target network segment IP address of the switching plane.
– maskvalue: specifies the subnet mask of the switching plane.
– gatewayvalue: specifies the gateway IP address of the switching plane.

----End

4.3.2 Logging In to the CLI of Each Switching Plane


Log in to the CLI of the CX311 converged switching plane and FCoE gateway by using one
of the following methods:

l Over SSH: Remotely log in to the CLI of the converged switching plane and FCoE
gateway over Ethernet.
l Over SOL: Log in to the serial port of the converged switching plane and FCoE gateway
through the MM910 SOL screen.
l Over a serial port: Connect a serial cable to the SYS serial port of the CX311 and log in
to the CLI. The IP address is not needed.

Prerequisites
Data

Table 4-5 Default data


Name Default Data Login Method

Converged switching plane l User name: root SSH


l Password: Huawei12#$

l No user name l Serial port


l Password: Huawei12#$ l SOL

FCoE gateway l User name: admin l Serial port


l Password: Huawei12#$ l SSH
l SOL

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 48


CX311 Switch Module
User Guide 4 Configuring the CX311

Tools
If you want to log in to a server CLI over a serial port, prepare the following hardware:
l PC with an RS232 serial port
l DB9-RJ45 cable

Procedure
l Log in to the switching plane CLI over SSH.

Step 1 Connect the Ethernet port on a PC to the MGMT ports on active and standby MM910s over a
local area network (LAN).
Step 2 Connect to the IP address of a switching plane over SSH to log in to the switching plane CLI.
PuTTY is used as an example for login over SSH. For details, see 6.2 Logging In to the
MM910 CLI over a Network Port by Using PuTTY.

----End
l Log in to the switching plane CLI over SOL.

Step 1 Connect the Ethernet port on a PC to the MGMT port on the active or standby MM910 over a
LAN. Figure 4-3 shows the network connections.

Figure 4-3 Network connections

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 49


CX311 Switch Module
User Guide 4 Configuring the CX311

NOTE

l For MM910 (U54) 2.25 or earlier, the MM910 communicates with external network devices through
the ports on switch modules in slots 2X and 3X by default. For MM910 later than (U54) 2.25, the
MM910 communicates with external network devices through the MGMT port by default. To query
the MM910 version, see the MM910 Management Module V100R001 User Guide.
l You can run the outportmode command to change the MM910 management network port
connection mode. If the MM910 communicates with external network devices through the ports on
switch modules in slots 2X and 3X, do not connect the MM910 MGMT port and the switch module
ports to the same network. Otherwise, a network storm will occur and the network will be
interrupted. For details, see the MM910 Management Module V100R001 Command Reference.

Step 2 Connect to the MM910 floating IP address over SSH to log in to the MM910 CLI.

PuTTY is used as an example for login over SSH. For details, see 6.2 Logging In to the
MM910 CLI over a Network Port by Using PuTTY.

Step 3 Log in to the switching plane CLI over MM910 SOL.

For details, see 6.1 Logging In to a Compute Node or a Switch Module over MM910
SOL.

----End

l Log in to the switching plane CLI over a serial port.

Step 1 Connect the PC RS232 serial port to the BMC serial port on the CX311 panel by using a
DB9-RJ45 cable.

Step 2 Log in to the BMC CLI by using a serial port communication tool.

Set the key communication parameters as follows:

l Serial Line to connect to: COMn


l Speed (baud): 115200
l Data bits: 8
l Stop bits: 1
l Parity: None
l Flow control: None
NOTE

n indicates the serial port number and is an integer.

PuTTY is used as an example for login over a serial port. For details, see 6.3 Logging In to a
Device over a Serial Port by Using PuTTY.

NOTE

To log in to the BMC CLI through SOL, see 6.1 Logging In to a Compute Node or a Switch Module
over MM910 SOL.

Step 3 Run the following command on the BMC CLI to switch the SYS serial port to the switching
plane you want to log in to:

ipmcset -d systemcom -v <option>

In the command, option indicates the switching plane ID. The value ranges from 0 to 2.

l 0: Base COM. This value is meaningless.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 50


CX311 Switch Module
User Guide 4 Configuring the CX311

l 1: Fabric COM. This value corresponds to the CX311 converged switching plane.
l 2: Thirty COM. This value corresponds to the CX311 FCoE gateway.
For example, run the following command to switch the SYS serial port to the converged
switching plane.
root@BMC:/#ipmcset -d systemcom -v 1
If the switching is successful, the following information is displayed:
Set systemcom successfully!
Serial port direction is:Fabric Com

Step 4 Use a DB9-RJ45 cable to connect the RS232 serial port of the PC to the SYS serial port on
the CX311 panel.
Step 5 Use a serial port communication tool to log in to the CLI of a switching plane.
Set the key communication parameters as follows:
l Serial line to connect to: COMn
l Speed (baud): 115200 (converged switching plane) or 9600 (FCoE gateway)
l Data bits: 8
l Stop bits: 1
l Parity: None
l Flow control: None
NOTE

n indicates the serial port number and is an integer.

PuTTY is used as an example for login over a serial port. For details, see 6.3 Logging In to a
Device over a Serial Port by Using PuTTY.

----End

4.3.3 Checking the Switching Plane


Check the converged switching plane operating status of the CX311 and ensure that the
converged switching plane meets the basic requirements of data configuration.

Procedure
Step 1 Log in to the converged switching plane CLI.
Step 2 Run the following command on the converged switching plane CLI to check the current
version of the converged switching plane:
<HUAWEI> display version
The command output is as follows:
Huawei Versatile Routing Platform Software
VRP (R) software, Version 8.50 (OSCA V100R001C03)
Copyright (C) 2012-2013 Huawei Technologies Co., Ltd.
HUAWEI OSCA uptime is 0 day, 0 hours, 1 minutes

CX311(Master) 1 : uptime is 0 day, 0 hours, 1 minutes


StartupTime 2013/05/16 17:43:57
Memory Size : 2048 M bytes
FLASH Size : 1024 M bytes
CX311 version information

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 51


CX311 Switch Module
User Guide 4 Configuring the CX311

1. PCB Version : CX311 VER B


2. MAB Version : 0
3. Board Type : CX311
4. CPLD1 Version : 001
5. BIOS Version : 2.42
6. Software Version : 1.01

Software Version indicates the current software version.

Step 3 Check whether the software version is consistent with the planned one.
l If yes, go to Step 4.
l If no, contact Huawei technical support.

Step 4 Query the alarms of the converged switching plane.

<HUAWEI> display alarm active

The command output is as follows:


1:Critical 2:Major 3: Minor 4:Warning
------------------------------------------------------------------
Sequence AlarmId Level Date Time Description
------------------------------------------------------------------

The parameters are described as follows:

l Critical: critical alarm


l Major: major alarm
l Minor: minor alarm
l Warning: warning alarm
l Sequence: alarm sequence
l AlarmId: alarm ID
l Level: alarm severity
l Date Time: date and time at which an alarm is generated
l Description: alarm description

If no information is displayed, no alarm is generated.

Step 5 Check whether an alarm is generated.


l If yes, go to Step 6.
l If no, no further action is required.

Step 6 Handle the alarm. For details, see the E9000 Server V100R001 Alarm Handling.

----End

4.3.4 Changing Initial User Passwords


Change all the initial user passwords in the CX311, including the initial user passwords of the
BMC, converged switching plane, and BIOS, to enhance system operation and maintenance
(O&M) security.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 52


CX311 Switch Module
User Guide 4 Configuring the CX311

NOTE

l The password complexity check is enabled by default.


l Use passwords that meet complexity requirements.
l For security purposes, change the initial password upon the first login, and then change the password
periodically.

The BIOS initializes hardware, such as serial ports or dual in-line memory modules
(DIMMs), reads the kernel image from the flash memory to the random access memory
(RAM), and starts the operating system (OS).

Prerequisites
Conditions
l You have logged in to the converged switching plane CLI.
l You have logged in to the BMC CLI.
Data

Table 4-6 Default data


Name Default Data Description

Converged switching plane l User name: root A user who logs in to the
l Password: Huawei12#$ converged switching plane
over Secure Shell (SSH) and
has all rights of the
converged switching plane.

l No user name A user who logs in to the


l Password: Huawei12#$ converged switching plane
over a serial port and has all
rights of the converged
switching plane.

BIOS l No user name A BIOS user has no user


l Password: Huawei12#$ name. Enter only the
password to enter the BIOS.

BMC l User name: root Default BMC user, who has


l Password: Huawei12#$ all rights of the BMC.

Procedure
l Change the initial password for logging in to the converged switching plane over a serial
port.

Step 1 On the converged switching plane CLI, run the following command to go to the system view:
<HUAWEI> system-view
The command output is as follows:
Enter system view, return user view with return command.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 53


CX311 Switch Module
User Guide 4 Configuring the CX311

Step 2 Go to the user serial port view.


[~HUAWEI] user-interface console 0
Step 3 Open the user interface (UI) for changing the password.
[~HUAWEI-ui-console0] set authentication password
The command output is as follows:
Please configure the login password (6-16)
Enter Password:

Step 4 Enter a new password.


The password is case-sensitive and must meet the following requirements:
l Contain 6 to 16 characters.
l Contain at least two types of the following characters:
– Uppercase letters A to Z
– Lowercase letters a to z
– Digits 0 to 9
– One of the following special characters:
`~!@#$%^&*()-_=+\|[{}];:'",<.>/
l Cannot be the same as the user name or the user name in reverse order.
The following information is displayed:
Confirm Password:

NOTE

The password you entered will not be displayed on the terminal screen.

Step 5 Enter the new password again. The following information is displayed:
Info: The password of ui-console0 will be changed, please verify the old password.
Please enter old password:

Step 6 Enter the old password. The following information is displayed:


Info: Change the password successfully.

Step 7 Submit the configuration.


[~HUAWEI-ui-console0] commit
Step 8 Exit the user serial port view.
[~HUAWEI-ui-console0] quit
Step 9 Exit the system view.
[~HUAWEI] quit
Step 10 Save the settings.
<HUAWEI> save
Warning: The current configuration will be written to the device. Continue? [Y/N]:

Enter Y to save the configuration. The following information is displayed:


Now saving the current configuration to the slot 1 .
Info: Save the configuration successfully.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 54


CX311 Switch Module
User Guide 4 Configuring the CX311

begin synchronize configuration to SMM ...


slot 1: upload configuration to SMM successfully.
<HUAWEI>

----End
l Change the initial password for logging in to the converged switching plane over SSH.

Step 1 On the converged switching plane CLI, run the following command to go to the page for
changing a password:
<HUAWEI> local-user change-password
The command output is as follows:
Please enter old password:

Step 2 Enter the old password.


The following information is displayed:
Please enter new password:

Step 3 Enter a new password.


The password is case-sensitive and must meet the following requirements:
l Contain 6 to 128 characters.
l Contain at least two types of the following characters:
– Uppercase letters A to Z
– Lowercase letters a to z
– Digits 0 to 9
– One of the following special characters:
`~!@#$%^&*()-_=+\|[{}];:'",<.>/
l Cannot be the same as the user name or the user name in reverse order.
The following information is displayed:
Please confirm new password:

Step 4 Enter the new password again.


If the following information is displayed, the password is successfully changed:
Info: The password is changed successfully.

Step 5 Save the settings.


<HUAWEI> save
Warning: The current configuration will be written to the device. Continue? [Y/N]:

Enter Y to save the configuration. The following information is displayed:


Now saving the current configuration to the slot 1 .
Info: Save the configuration successfully.

begin synchronize configuration to SMM ...


slot 1: upload configuration to SMM successfully.
<HUAWEI>

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 55


CX311 Switch Module
User Guide 4 Configuring the CX311

l Change the initial passwords of BIOS.

NOTICE
1. When the software version of the switching plane is earlier than 1.2.1.0.39, you must
remember the new BIOS password to reset a password.
2. The BIOS can be accessed only from the CLI of the switching plane after you log in to the
CLI over a serial port.

Step 1 Run the following command on the converged switching plane CLI to restart the converged
switching plane:
<HUAWEI> reboot
The command output is as follows:
Warning: Current configuration will be saved to the next startup saved-
configuration file! Continue? [Y/N]:

Enter Y to save the configuration. The command output is as follows:


Now saving the current configuration.
Save the configuration successfully.

begin synchronize configuration to SMM ...


slot 4: configuration is the same with SMM, needn't sync to SMM.

System will reboot! Continue? [Y/N]:

Enter Y to restart the converged switching plane.


Step 2 Press Ctrl+B when the system displays "Press CTRL+B to enter BIOS menu".
The command output is as follows:
Password:

Step 3 Enter the BIOS login password.


The BIOS menu screen is displayed:
BIOS Menu (Version: 017)

1. Continue to boot
2. Update from serial interface
3. Update from ethernet interface
4. Modify startup parameters
5. File system
6. Modify BIOS password
7. Modify console password
8. Reboot

Enter your choice(1-8):

Step 4 Press 6 to go to the page for changing the BIOS password.


The following information is displayed:
Old password:

Step 5 Enter the initial password of BIOS.


The following information is displayed:

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 56


CX311 Switch Module
User Guide 4 Configuring the CX311

password must contain at least two types of characters.


New password:

Step 6 Enter a new BIOS password.


The following information is displayed:
Confirm password:

Step 7 Enter the new password again.


If the following information is displayed, the initial user password is successfully changed.
The password is changed successfully.

----End
l Change the initial password of the BMC.

Step 1 On the BMC CLI, run the following command to go to the page for changing the root user
password:
root@BMC:/#ipmcset -d password -v root
The command output is as follows:
Input your password:

Step 2 Enter the initial password.


The following information is displayed:
New password:

Step 3 Enter a new password.


The password must meet the following requirements:
l Contain 8 to 20 characters.
l Contain a space or one of the following special characters:
`~!@#$%^&*()-_=+\|[{}];:'",<.>/?
l Contain at least two types of the following characters:
– Uppercase letters A to Z
– Lowercase letters a to z
– Digits 0 to 9
l Cannot be the same as the user name or the user name in reverse order.
Step 4 Enter the new password again.
If the following information is displayed, the initial user password is successfully changed.
Set user password successfully.

----End

4.3.5 Adding a User


Scenarios
Add a user in the CX311 converged switching plane. The new user can log in to the
converged switching plane CLI to carry out routine maintenance.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 57


CX311 Switch Module
User Guide 4 Configuring the CX311

Table 4-7 describes the command levels of the converged switching plane.

Table 4-7 Command levels

Com Level Description


mand Name
Level

0 Visit level Network diagnosis tool commands (such as ping and tracert) and
external device access commands.

1 Monitoring System maintenance commands, such as display.


level NOTE
Not all display commands are on the monitoring level. For details about the
command levels, see the CX110 and CX31x Series Switch Modules
V100R001C00 Command Reference.

2 Configurati Service configuration commands, including router commands and


on level the commands at different network layers. The commands are used
to provide direct network services to users.

3 to 15 Manageme Commands of the management level are used for basic system
nt level running to support services, for example, commands of the file
system, FTP, and Trivial File Transfer Protocol (TFTP), and
commands for switching configuration files, managing users,
setting command levels, setting internal system parameters, as well
as debugging commands for diagnosing service faults.

Prerequisites
Data

Table 4-8 Required data

Name User Name and Permission Example


Password Example

converged switching plane l User name: user123 Configuration level


l Password: Huawei12#$

Procedure
Step 1 Log in to the converged switching plane CLI.

Step 2 On the converged switching plane CLI, run the following command to go to the system view:

<HUAWEI> system-view

The command output is as follows:


Enter system view, return user view with return command.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 58


CX311 Switch Module
User Guide 4 Configuring the CX311

Step 3 Go to the AAA view.

[~HUAWEI] aaa

Step 4 Add a local user on the converged switching plane.

local-user User name password irreversible-cipher Password

For example, run the following command to set the user name to user123 and the password to
Huawei12#$ in cipher text:
[~HUAWEI-aaa] local-user user123 password irreversible-cipher Huawei12#$
Info: A new user is added.

NOTE

The user name must contain at least six characters.

Step 5 Set the level of the user user123 to 2.

[~HUAWEI-aaa] local-user user123 level 2

Step 6 Set the user access type.

local-user User name service-type { [ terminal | telnet | ftp | ssh ] * | all }

For example, if you want to set the access type of user user123 to SSH, run the following
command:

[~HUAWEI-aaa] local-user user123 service-type ssh

Step 7 Submit the configuration.

[~HUAWEI-aaa] commit

Step 8 Query information about all users and check that the new user is successfully created.

[~HUAWEI-aaa] display aaa local-user

The command output is as follows:


[~HUAWEI-aaa] display aaa local-user

Type: F - Ftp, T - Telnet, M - Terminal, S - Ssh, N - Snap, X - Dotlx


-----------------------------------------------------------------------
Username State Type Access-limit Online Admin-level User-group-id
-----------------------------------------------------------------------
root Active S -- 0 3 --
user123 Active S -- 0 2 --
-----------------------------------------------------------------------
[~HUAWEI-aaa]

Step 9 Exit the AAA view.

[~HUAWEI-aaa] quit

Step 10 Exit the system view.

[~HUAWEI] quit

Step 11 Run the save command and enter y as prompted to save the configuration.

<HUAWEI> save

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 59


CX311 Switch Module
User Guide 4 Configuring the CX311

4.3.6 Configuring Switching Service Data


Procedure
Configure the features of the CX311 converged switching plane.
The following lists the feature configurations of the converged switching plane. For details,
see the CX110 and CX31x Series Switch Modules V100R001C00 Configuration Guide.
l Interface Management
– Basic Configuration for Interfaces
– Ethernet Interfaces Configuration
– Logical Interface Configuration
l Ethernet Switching
– MAC Address Table Configuration
– Link Aggregation Configuration
– VLAN Configuration
– QinQ Configuration
– VLAN Mapping Configuration
– STP/RSTP Configuration
– MSTP Configuration
– Loopback Detection Configuration
l IP Service
– IP Address Configuration
– ARP Configuration
– DHCP Configuration
– DNS Configuration
– UDP Helper Configuration
– IP Performance Configuration
l IP Routing
– IP Routing Basic Configuration
– Static Route Configuration
– RIP Configuration
– OSPF Configuration
– OSPFv3 Configuration
– IPv4 IS-IS Configuration
– BGP Configuration
– Routing Policy Configuration
– MCE Configuration
l IP Multicast
– IGMP Configuration
– PIM (IPv4) Configuration
– MSDP Configuration

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 60


CX311 Switch Module
User Guide 4 Configuring the CX311

– Multicast Route Management (IPv4) Configuration


– IGMP Snooping Configuration
– Static Multicast MAC Address Configuration
– Multicast Network Management
l QoS
– Priority Mapping Configuration
– Traffic Policing and Traffic Shaping Configurations
– Congestion Avoidance and Congestion Management Configuration
– Traffic Policy Configuration
l Security
– AAA Configuration
– ACL Configuration
– Local Attack Defense Configuration
– MFF Configuration
– Traffic Suppression and Storm Control Configuration
– ARP Security Configuration
– DHCP Snooping Configuration
– IPSG Configuration
– URPF Configuration
– Keychain Configuration
l Reliability
– BFD Configuration
– VRRP Configuration
– DLDP Configuration
l Device Management
– Displaying the Device Status
– Hardware Management
– Information Center Configuration
– Fault Management Configuration
– Energy-Saving Management
– Mirroring Configuration
– iStack Configuration
l Network Management
– SNMP Configuration
– RMON Configuration
– NETCONF Configuration
– LLDP Configuration
– NTP Configuration
– Ping and Tracert Configuration
– NQA Configuration

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 61


CX311 Switch Module
User Guide 4 Configuring the CX311

– Packet Capture Configuration


l FCoE&DCB
– FCoE Configuration
– DCB Configuration
– Configuring the CX311 to Connect to the FCoE Gateway
l TRILL
l Virtual Perception

4.4 Configuring the FCoE Gateway


For details about more configuration methods, see the MX510 Mezzanine Module Command
Reference and the MX510 Mezzanine Module QuickTool User Guide.

4.4.1 Configuring the IP Address of the Management Network


Port
l Configure the IP address of the FCoE gateway on the FCoE gateway CLI. For details,
see Procedure.
l Configure the IP address of the management network port for the FCoE gateway by
running the swipcontrol command on the MM910 CLI. For details, see the MM910
Management Module Command Reference.

Prerequisites
Data

Table 4-9 Required data


Name Description Value Example

IP address, subnet mask, and You can log in to the FCoE l IP address:
gateway of the FCoE gateway CLI from a PC by 192.168.101.123
gateway using the IP address. l Subnet mask:
255.255.255.0
l Gateway: 192.168.101.1

Software
PuTTY.exe: free software. The PuTTY used to log in over a serial port must be 0.60 or later.

Procedure
Step 1 Log in to the FCoE gateway CLI.
For details, see 4.3.2 Logging In to the CLI of Each Switching Plane.
Step 2 Set the IP address of the management network port for the FCoE gateway.
FCoE_GW: admin> admin start

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 62


CX311 Switch Module
User Guide 4 Configuring the CX311

FCoE_GW (admin): admin> set setup system ipv4

Set the static IPv4 address of the FCoE gateway based on command instructions.
EthIPv4NetworkDiscovery (1=Static, 2=Bootp, 3=Dhcp, 4=Rarp) :1
EthIPv4NetworkAddress (dot-notated IP Address) : 192.168.101.123
EthIPv4NetworkMask (dot-notated IP Address) : 255.255.255.0
EthIPv4GatewayAddress (dot-notated IPv4 Address) : 192.168.101.254
Do you want to save and activate this system setup? (y/n): [n] y

Step 3 Query the static IPv4 address of the FCoE gateway.

FCoE_GW (admin): admin> show setup system ipv4

The command output is as follows:


System Information
------------------
Eth1IPv4NetworkDiscovery Static
Eth1IPv4NetworkAddress 192.168.101.123
Eth1IPv4NetworkMask 255.255.255.0
Eth1IPv4GatewayAddress 192.168.101.254

----End

4.4.2 Checking the FCoE Gateway

Procedure
Step 1 Log in to the FCoE gateway CLI.

Step 2 Run the following command on the FCoE gateway CLI to check the current version of the
FCoE gateway:

FCoE_GW: admin> show version

The command output is as follows:


*****************************************************
* *
* Command Line Interface SHell (CLISH) *
* *
*****************************************************

SystemDescription Huawei FCoE-FC Gateway module


HostName <undefined>
Eth1IPv4NetworkAddr 192.168.96.96
Eth1IPv6NetworkAddr fe80::2c0:ddff:fe24:21fe
MAC1Address 00:c0:dd:24:21:fe
WorldWideName 10:00:00:c0:dd:24:21:fd
SerialNumber 2198080446DQCB46F882
SymbolicName FCoE_GW
ActiveSWVersion V9.8.0.10.0
ActiveTimestamp Fri May 17 21:19:51 2013
POSTStatus Passed
SwitchMode Full Fabric

l Eth1IPv4NetworkAddr: specifies the IP address of the management network port.


l ActiveSWVersion: specifies the software version.
l SwitchMode: specifies the work mode.

Step 3 Check whether the software version is consistent with the planned one.
l If yes, go to Step 4.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 63


CX311 Switch Module
User Guide 4 Configuring the CX311

l If no, contact Huawei technical support.


Step 4 Query the alarms of the FCoE gateway.
FCoE_GW: admin> show alarm
If the following information is displayed, no alarm is generated.
Current Faults: None

Step 5 Check whether an alarm is generated.


l If yes, go to Step 6.
l If no, no further action is required.
Step 6 Handle the alarm. For details, see the MX510 Mezzanine Module QuickTool User Guide.

----End

4.4.3 Changing the Initial User Password


Scenarios
Change the initial password of the FCoE gateway upon the first login to the CX311. This
improves system operation and maintenance (O&M) security.

NOTE

l The password complexity check is enabled by default.


l Use passwords that meet complexity requirements.
l For security purposes, change the initial password upon the first login, and then change the password
periodically.

Prerequisites
Data

Table 4-10 Default data


Name Default Data Description

FCoE gateway l User name: A user who logs in to the FCoE gateway over
admin a serial port, Telnet, or Secure Shell (SSH) has
l Password: all rights of the FCoE gateway.
Huawei12#$ NOTE
The Telnet functions on the FCoE gateway are
disabled by default. After the Telnet functions are
enabled, you can use the default user account to log
in to the FCoE gateway over Telnet.

Procedure
Step 1 Log in to the FCoE gateway CLI.
Step 2 Run the following command on the FCoE gateway CLI to go to the screen for changing the
password of user admin for the FCoE gateway:

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 64


CX311 Switch Module
User Guide 4 Configuring the CX311

FCoE_GW: admin>passwd admin


The command output is as follows:
Press 'q' and the ENTER key to abort this command.
account OLD password :

Step 3 Enter the old password.


The command output is as follows:
account NEW password (8-20 chars) :

Step 4 Enter a new password.


The password must contain 8 to 20 characters.
The command output is as follows:
please confirm account NEW password:

Step 5 Enter the new password again.


If the following information is displayed, the user name and password are successfully
changed:
password has been changed.

----End

4.4.4 Disabling SNMP


Procedure
Step 1 Log in to the FC switching plane CLI.
Step 2 Log in to the MX510 using the default management account.
Step 3 Run the set setup snmp common command on the CLI, and set SnmpEnabled to False to
disable SNMP.
FCoE_GW (admin): admin> set setup snmp common
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current value. If
you wish to terminate this process before reaching the end of the list press 'q'
or 'Q' and the ENTER key to do so.
Current Values:
SnmpEnabled False
Contact <sysContact undefined>
Location <sysLocation undefined>
ReadCommunity public
WriteCommunity private
AuthFailureTrap False
ProxyEnabled True
SNMPv3Enabled False
New Value (press ENTER to not specify value, 'q' to quit):
SnmpEnabled (True / False) :
Contact (string, max=64 chars):
Location (string, max=64 chars):
ReadCommunity (string, max=32 chars):
WriteCommunity (string, max=32 chars):
AuthFailureTrap (True / False) :
ProxyEnabled (True / False) :
SNMPv3Enabled (True / False) :
Do you want to save and activate this snmp setup? (y/n): [y]

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 65


CX311 Switch Module
User Guide 4 Configuring the CX311

4.4.5 Adding a User

Scenarios
Add a user for the CX311 FCoE gateway. The new user can log in to the FCoE gateway CLI
to carry out routine maintenance.

The validity period of the users newly added on the CX311 FCoE gateway is from 0 days to
2000 days. 0 indicates that the users are valid permanently. The local users are classified as
follows:

l Administrators: have permissions to query and set information.


l Non-administrators: have permissions to query information.

Prerequisites
Data

Table 4-11 Required data

Name User Name and Permission Example


Password Example

FCoE gateway l User name: user1 Administrator


l Password: Huawei12#$

Procedure
Step 1 Log in to the FCoE gateway CLI.

Step 2 On the FCoE gateway CLI, run the following command to go to the screen for adding a user:

FCoE_GW: admin> user add

Step 3 Create a user (for example, user1) with administrator rights and a validity period of 100 days.

The password must contain 8 to 20 characters.


Press 'q' and the ENTER key to abort this command.

account name (1-15 chars) : user1


account password (8-20 chars) : **********

please confirm account password: **********

set account expiration in days (0-2000, 0=never): [0] 100

should this account have admin authority? (y/n): [n] y

OK to add user account 'user1' with admin authority


and to expire in 100 days?

Please confirm (y/n): [n] y

Confirm the user information, and enter Y.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 66


CX311 Switch Module
User Guide 4 Configuring the CX311

Step 4 Query information about all users and check that the new user is successfully created.
FCoE_GW: admin> user accounts
The command output is as follows:
Current list of user accounts
-----------------------------
admin (admin authority = True , never expires)
user1 (admin authority = True , expires in < 100 days)

Step 5 Save configuration data of the FCoE gateway to the configuration file.
FCoE_GW: admin> config backup

----End

4.4.6 Configuring the System Time and Time Zone


Procedure
Step 1 Log in to the FCoE gateway CLI.
Step 2 Configure the system time.
1. Configure the system time.
FCoE_GW: admin> admin start
FCoE_GW (admin): admin> date MMDDhhmmYYYY

In the command output, MM indicates the month, DD indicates the day, hh indicates the
hour, mm indicates the minute, and YYYY indicates the year.
2. View the system time.
FCoE_GW (admin): admin> date

Tue Jan 7 14:51:49 UTC 2014

Step 3 Configure the system time zone.


1. Configure the system time zone.
FCoE_GW (admin): admin> set timezone
Africa America
Antarctica Asia
Atlantic Australia
CET EET
Etc Europe
Extended Indian
MET Pacific
UTC WET

Press ENTER for more options or 'q' to make a selection.

2. View the system time zone.


FCoE_GW (admin): admin> show timezone

America/Chicago

----End

4.4.7 Configuring the Work Mode


Scenarios
Configure the FCoE gateway work mode.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 67


CX311 Switch Module
User Guide 4 Configuring the CX311

FCoE gateway supports two work modes: Full Fabric (default) and Transparent. Table 4-12
describes the mapping between the FCoE gateway work modes and the devices to be
connected.

Table 4-12 Mapping between the FCoE gateway work modes and the devices to be connected
Device To Be Connected Model FCoE Gateway Work
Mode

Storage device - Full Fabric

QLogic Fibre Channel (FC) l QLogic 3000 Full Fabric


switch l QLogic 5000
l QLogic 9000

Cisco FC switch l MDS series: Transparent


– MDS9100
– MDS9500
l Nexus series:
– Nexus 5000
– Nexus 7000

Brocade switch l FC switch: Transparent


– Brocade 300
– Brocade 5000
– Brocade 7500
l Fibre Channel over
Ethernet (FCoE)
switch:
– Brocade 6700
– Brocade 8000

Procedure
Step 1 Log in to the FCoE gateway CLI.
Step 2 Enter the configuration mode.
FCoE_GW: admin> admin start
FCoE_GW (admin): admin> config edit

Step 3 Configure the work mode.


FCoE_GW (admin-config): admin>set config switch
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.

TransparentMode (True / False) [False ]


true //Type true or false, and press Enter.
AdminState (1=Online, 2=Offline, 3=Diagnostics) [Online ]
//Press Enter.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 68


CX311 Switch Module
User Guide 4 Configuring the CX311

SymbolicName (string, max=32 chars) [FCoE_GW ]


//Press Enter.

ConfigDescription (string, max=64 chars) [Default Config]


//Press Enter.

Finished configuring attributes.


This configuration must be saved (see config save command) and
activated (see config activate command) before it can take effect.
To discard this configuration use the config cancel command.

FCoE_GW (admin-config): admin>

l If the value of TransparentMode is true, the work mode is Transparent.


l If the value of TransparentMode is false, the work mode is Full Fabric.

Step 4 Save the configuration.


FCoE_GW (admin-config): admin> config save

The config named default has been saved.

FCoE_GW (admin): admin>

Step 5 Activate the configuration.

NOTICE
After the FCoE gateway work mode is changed and activated, the factory configurations of
the new work mode take effect and certain configurations (such as VLAN configuration) of
the original work mode are lost.

After the configuration is activated, the FCoE gateway restarts.


FCoE_GW (admin): admin> config activate

The currently active configuration will be activated.


Please confirm (y/n): [n] y

FCoE_GW (admin): admin>

----End

4.4.8 Configuring the Port Mapping

Scenarios
Configure the FCoE gateway port mapping in Transparent mode.

l When the FCoE gateways work in Full Fabric mode, there is no port mapping.
l When the FCoE gateways work in Transparent mode and connect to external FC
switches, it is recommended that each FCoE gateway connect to only one FC switch.
– In Transparent mode, the FCoE gateway registers converged network adapters
(CNAs) or host bus adapters (HBAs) with external FC switches and transparently
transmits data over only one connected external port. Though the FCoE gateway
simultaneously connects to multiple FC switches, the CNAs or HBAs are registered
with one FC switch. The connected links and FC switches do not share loads.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 69


CX311 Switch Module
User Guide 4 Configuring the CX311

– When the FCoE gateway connects to multiple FC switches, the links support
failovers. However, the FC switch with which the CNAs or HBAs are registered is
randomly selected, which causes troubles for network management and
configuration.
l In Transparent mode, external ports on the FCoE gateway connect to the FC switch,
and internal ports on the FCoE gateway connect to CNAs or HBAs. The default mapping
between external and internal ports is as follows:
– Each internal port is mapped to all external ports.
– The FCoE gateway selects one external port for registering CNAs or HBAs with the
external FC switch.
– When the FCoE gateway works in Transparent mode, the FCoE gateway uses
multiple external ports (up to eight ports) to connect one FC switch for load sharing.
As the registration port is randomly selected, multiple CNAs or HBAs may be
registered with the external FC switch over the same port, causing uneven traffic
distribution. When multiple links connect to an FC switch, manually change the
FCoE gateway port mapping to achieve even traffic distribution.

The following takes the networking shown in Figure 4-4 as an example to illustrate the FCoE
gateway port mapping in Transparent mode.

l The E9000 chassis houses a maximum of 16 CNAs (MZ510) and two CX311s in slots
2X and 3X.
l Two external ports (Ext1:0 and Ext2:1) on each FCoE gateway connect to one external
FC switch. Two FC switches connect to FC storage devices respectively.
l Port 1 on the MZ510 connects to the FCoE gateway on the CX311 in slot 2X, and port 2
on the MZ510 connects to the FCoE gateway on the CX311 in slot 3X.
l The FCoE gateway does not directly connect to the FCoE gateway. Eight internal ports
on the FCoE gateway are evenly distributed for CNA registration. You can change the
mapping between internal ports and external ports to evenly distribute traffic for CNA
registration.
l Four internal ports (connected to the converged switching plane) as a group are mapped
to one external port. Primary mapping (PrimaryTFPortMap) and backup mapping
(BackupTFPortMap) must be specified for external ports. The FCoE gateway in slot 2X
is used as an example. Table 4-13 describes the mapping between the internal and
external ports. Port mapping for the FCoE gateway in slot 3X is similar to that in Table
4-13.

Figure 4-4 Networking

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 70


CX311 Switch Module
User Guide 4 Configuring the CX311

Table 4-13 Port mapping


10GEX/20/Y FCoE Gateway FCoE Gateway FCoE Gateway
(X: Switch Internal Port External Port External Port
Module Slot) Number Number Number
(Y: Port Number) (PrimaryTFPortM (BackupTFPortMa
ap) p)

10GE2/20/1 Int1:12 Ext1:0 Ext2:1

10GE2/20/2 Int2:13 Ext1:0 Ext2:1

10GE2/20/3 Int3:14 Ext1:0 Ext2:1

10GE2/20/4 Int4:15 Ext1:0 Ext2:1

10GE2/20/5 Int5:16 Ext2:1 Ext1:0

10GE2/20/6 Int6:17 Ext2:1 Ext1:0

10GE2/20/7 Int7:18 Ext2:1 Ext1:0

10GE2/20/8 Int8:19 Ext2:1 Ext1:0

NOTE

FCoE gateway port numbering rules:


l ExtX:Y: ExtX indicates the X external port on the FCoE gateway. Y indicates the port number.
l IntX:Y: IntX indicates the FCoE gateway port connected to the converged switching plane. Y
indicates the FCoE gateway port number.

Prerequisites
Data
The mapping between internal and external ports described in Table 4-13.

Procedure
Step 1 Log in to the FCoE gateway CLI.
Step 2 Configure the work mode.
Set the FCoE gateway work mode to Transparent.
For details, see 4.4.7 Configuring the Work Mode.
Step 3 Configure the port mapping.
1. Enter the configuration mode.
FCoE_GW: admin> admin start
FCoE_GW (admin): admin> config edit

2. Configure the port mapping.


FCoE_GW (admin-config): admin>set config port internal port number
For example, set the mapping for internal port 12 against Table 4-13 by performing the
following operations:

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 71


CX311 Switch Module
User Guide 4 Configuring the CX311

FCoE_GW (admin-config): admin> set config port 12

A list of attributes with formatting and current values will follow.


Enter a new value or simply press the ENTER key to accept the current
value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.

Configuring Port Number: 12


------------------------

AdminState (1=Online, 2=Offline, 3=Diagnostics, 4=Down) [Online]


// Press Enter.
PortType (TH) [TH]
// Press Enter.
EthLinkSpeed (10=10Gb/s) [10Gb/s]
// Press Enter.
PrimaryTFPortMap (decimal value for port, N=no mapping)
[0,1,2,3,4,5,6,7]
0 // Type the external port against Table 1 and press Enter.
BackupTFPortMap (decimal value for port, N=no mapping) [None]
1 // Type the external port against Table 1 and press Enter.
SymPortName (string, max=32 chars) [Port12]
// Press Enter.
DCBXEnabled (True / False) [False]
// Press Enter.
PfcPriority (decimal value, 0-7) [3]
// Press Enter.
FCoESingleAttach (True / False) [False]
// Press Enter.

Finished configuring attributes.


This configuration must be saved (see config save command) and
activated (see config activate command) before it can take effect.
To discard this configuration use the config cancel command.

3. Repeat Step 3.2 against Table 4-13 to set mapping for other ports.
4. Check that the port mapping is correct by viewing port configuration information.
FCoE_GW (admin-config): admin>show config port internal port number
FCoE_GW: admin> show config port 12

Configuration Name: default


-------------------

Port Number: 12
------------
AdminState Online
PortType TH
EthLinkSpeed 10Gb/s
PrimaryTFPortMap 0
BackupTFPortMap 1
SymbolicName Port12
DCBXEnabled False
PfcPriority 3
FCoESingleAttach False

5. Save the configuration.


FCoE_GW (admin-config): admin> config save

The config named default has been saved.

FCoE_GW (admin): admin>

6. Activate the configuration.


The configuration takes effect immediately without a restart.
FCoE_GW (admin): admin> config activate

The currently active configuration will be activated.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 72


CX311 Switch Module
User Guide 4 Configuring the CX311

Please confirm (y/n): [n] y

FCoE_GW (admin): admin>

----End

4.4.9 Viewing Port Connection Status


Scenarios
View the FCoE gateway port connection status.

Procedure
Step 1 Log in to the FCoE gateway CLI.

Step 2 View port connection status.


FCoE_GW: admin> show port

Fibre Channel / Passthrough Ethernet

Admin Operational Login Config Running Link Link


Port State State Status Type Type State Speed
---- ----- ----------- ------ ------ ------- ----- ---
Ext1:0 Online Online LoggedIn TF TF Active 8Gb/s

Ethernet

Admin Operational Config Link Link


Port State State Type State Speed MACAddress
---- ----- ----------- ------ ----- ----- ----------
Int1:12 Online Online TH Active 10Gb/s 00:c0:dd:30:89:79

If the value of Operational State is Online, Login State is LoggedIn, and Link State is
Active for a port, the port connection is normal.
l In Full Fabric mode, Operational State and Login Status indicate the registration
status of the HBA or CNA node on the FCoE gateway. If Operational State and Login
Status are Online and LoggedIn respectively, the HBA or CNA node is registered
successfully.
l In Transparent mode:
– Config Type and Running Type indicate the operating mode of the port. The
internal ports work in TH mode, and the external ports work in TF mode.
– For external ports, Operational State and Login Status indicate the registration
status of the FCoE gateway on the external FC switch. If Operational State and
Login Status are Online and LoggedIn respectively, the FCoE gateway is
registered successfully.
– For internal ports, Operational State and Login Status indicate the registration
status of the HBA or CNA node on the external FC switch through the FCoE
gateway. If Operational State and Login Status are Online and LoggedIn
respectively, the HBA or CNA node is registered successfully.
l Link State indicates the connection status of a physical link. If Link State is Active, a
connection is established.
Step 3 View the node registration information.
FCoE_GW: admin> show ns

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 73


CX311 Switch Module
User Guide 4 Configuring the CX311

Seq Domain Port Port


No ID ID Type COS PortWWN NodeWWN
--- ------ ------ ---- --- ------- -------
1 1 (0x1) 010600 N 3 20:18:32:33:33:34:35:36 21:00:32:33:33:34:35:36
2 1 (0x1) 010b00 N 3 10:00:e4:68:a3:57:1a:2f 20:00:e4:68:a3:57:1a:2f
3 1 (0x1) 011101 N 2,3 24:30:00:0c:29:00:12:5a 24:30:00:0c:29:00:03:5a

Total: 3

The show ns command takes effect only when the FCoE gateway works in Full Fabric mode.
PortWWN indicates the world wide port number (WWPN) of a device that is registered with
the FCoE gateway.
Step 4 View the node topology information.
FCoE_GW: admin> show topology

Unique ID Key
-------------
A = ALPA, D = Domain ID, P = Port ID

Loc Local Rem Remote Unique


Port Type PortWWN Type NodeWWNID
---- ---- ------- ---- ------- ------
Ext7:6 F 20:06:00:c0:dd:30:89:72 N 21:00:32:33:33:34:35:36 010600 P
Int16:11 F 20:0b:00:c0:dd:30:89:72 N 20:00:e4:68:a3:57:1a:2f 010b00 P
Int6:17 F 20:11:00:c0:dd:30:89:72 N 24:30:00:0c:29:00:03:5a 011101 P

The show topology command is valid only when the FCoE gateway works in Full Fabric
mode and is used to view the mapping between the device that is registered with the FCoE
gateway and ports on the FCoE gateway.
l Port: indicates the FCoE gateway port number.
– ExtX:Y: ExtX indicates the X external port on the FCoE gateway. Y indicates the
port number.
– IntX:Y: IntX indicates the FCoE gateway port connected to the converged
switching plane. Y indicates the FCoE gateway port number.
l Remote NodeWWN: indicates the WWPN of a device registered over the corresponding
port.
l Unique ID: indicates the port ID obtained by running the show ns command.
FCoE_GW: admin> show transparent links

Transparent Links

Port Type WWPN Port ID Routed To


---- ---- ----------------------- ------- ---------
Ext1:0 TF 20:00:00:c0:dd:29:3d:4d 700007 0
10:00:e4:68:a3:57:1a:0b 700005 16
10:00:e4:68:a3:57:1a:73 700006 19
Ext2:1 TF None
Ext3:2 TF None
Ext4:3 TF None
Ext5:4 TF None
Ext6:5 TF None
Ext7:6 TF None
Ext8:7 TF None
Int1:12 TH None
Int2:13 TH None
Int3:14 TH None
Int4:15 TH None
Int5:16 TH 10:00:e4:68:a3:57:1a:0b 700005 0
Int6:17 TH None
Int7:18 TH None
Int8:19 TH 10:00:e4:68:a3:57:1a:73 700006 0

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 74


CX311 Switch Module
User Guide 4 Configuring the CX311

The show transparent links command is valid only when the FCoE gateway works in
Transparent mode and is used to view the FCoE gateway transparent transmission link
information, including information about eNodes registered with the external FC switch,
connections between the eNodes and FCoE gateway TH ports, and mappings between the
eNodes and TF ports.
l Port: indicates the FCoE gateway port number.
– ExtX:Y: ExtX indicates the X external port on the FCoE gateway. Y indicates the
port number.
– IntX:Y: IntX indicates the FCoE gateway port connected to the converged
switching plane. Y indicates the FCoE gateway port number.
l WWPN: indicates the FCoE gateway port WWPN or the WWPN of the device
registered through the corresponding port.
l Port ID: indicates the FCoE gateway port FC_ID or FC_ID of the device registered
through the corresponding port.

----End

4.4.10 Configuring Zones

Scenarios
Zone configuration is required only when a network requires isolated nodes for security
purposes. In this way, access permission to different devices that are connected to the same
switch is configured.
l Zone set
– A zone set contains a group of zones.
– Multiple zone sets can be configured. However, only one zone set is active.
l Zone
– A zone is a set of ports or devices that can communicate with each other.
– Devices in a zone can communicate only with the other devices in the same zone.
– A device can belong to multiple zones.
l Members
Devices in a zone can be identified by device WWPNs.
NOTE

l The FCoE gateway supports zone configuration only when working in Full Fabric mode.
l Do not configure zones based on port numbers in the CX311. Otherwise, the configuration fails after
the CX311 restarts. Configure zones based on WWPNs.

Procedure
Step 1 Log in to the FCoE gateway CLI.

Step 2 Run the show ns command to obtain WWPNs of devices for zone configuration. For details,
see 4.4.9 Viewing Port Connection Status.
Step 3 Configure zones.
1. Open the zone editing mode.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 75


CX311 Switch Module
User Guide 4 Configuring the CX311

FCoE_GW: admin>admin start


FCoE_GW (admin): admin>zoning edit
2. Create a zone.
FCoE_GW (admin-zoning): admin>zone create [zone name]
For example, create a zone named zone_01 by running the following command:
FCoE_GW (admin-zoning): admin>zone create zone_01

3. Add members to the zone.


FCoE_GW (admin-zoning): admin>zone add [zone name] [member1] [member2] …
Create zones based on the device WWPNs. For example, add devices with the WWPNs
20:18:32:33:33:34:35:36 and 10:00:e4:68:a3:57:1a:2f to zone_01 by running the
following command:
FCoE_GW (admin-zoning): admin>zone add zone_01 20:18:32:33:33:34:35:36
10:00:e4:68:a3:57:1a:2f

4. Create a zone set.


FCoE_GW (admin-zoning): admin>zoneset create [zoneset name]
For example, create a zone set named zoneset_01 by running the following command:
FCoE_GW (admin-zoning): admin>zoneset create zoneset_01

5. Add members to the zone set.


FCoE_GW (admin-zoning): admin>zoneset add [zoneset name] [zone name 1] [zone
name 2] …
For example, add zone_01 created in 2. to zoneset_01 created in 4. by running the
following command:
FCoE_GW (admin-zoning): admin>zoneset add zoneset_01 zone_01

6. Save the configuration.


FCoE_GW (admin-zoning): admin>zoning save
7. Activate the zone set.
FCoE_GW (admin): admin>zoneset activate [zoneset name]
For example, activate zoneset_01 created in 4. by running the following command:
FCoE_GW (admin): admin>zoneset activate zoneset_01

8. View zone configurations.


FCoE_GW (admin): admin> zoning list

Active (enforced) ZoneSet Information

ZoneSet Zone ZoneMember


------- ---- ----------
zoneset_01
zone_01
20:18:32:33:33:34:35:36
10:00:e4:68:a3:57:1a:2f

Configured (saved in NVRAM) Zoning Information

ZoneSet Zone ZoneMember


------- ---- ----------
zoneset_01
zone_01
20:18:32:33:33:34:35:36
10:00:e4:68:a3:57:1a:2f

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 76


CX311 Switch Module
User Guide 4 Configuring the CX311

4.4.11 Changing the VLAN ID and Domain ID


Scenarios
When switch modules are stacked, change the default virtual local area network (VLAN) ID
(1002) and domain ID (1) for internal ports (connected to the converged switching plane) on
the FCoE gateway in the standby switch module. The following assumes that the FCoE
gateway works in Full Fabric mode. If the FCoE gateway works in Transparent mode, you
only need to modify the VLAN ID.
In the network shown in Figure 4-5, the CX311s and converged switching planes are stacked
but the FCoE gateways are not stacked. After the stacking system is complete, the FCoE
gateway assigns a virtual Media Access Control (MAC) address to each host port for
transmitting FCoE gateway packets based on the FCoE gateway domain ID and MAC
addresses of the internal ports on the FCoE gateway. By default, the domain ID for FCoE
gateways is 1, which leads to identical virtual MAC addresses. The converged switching
planes are stacked, all FCoE gateway packets are forwarded in the same converged switching
plane, and the default VLAN ID 1002 is used. These conditions may cause exceptions in data
forwarding.

Figure 4-5 Networking

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 77


CX311 Switch Module
User Guide 4 Configuring the CX311

Prerequisites
Data
l Domain ID of the FCoE gateway in the standby switch module, for example, 3.
l VLAN ID for the internal ports on the FCoE gateway in the standby switch module, for
example, 1003.

Procedure
Step 1 Log in to the FCoE gateway CLI.
Step 2 Change the domain ID.
1. Enter the configuration mode.
FCoE_GW: admin> admin start
FCoE_GW (admin): admin> config edit

2. Change the domain ID.


FCoE_GW (admin-config): admin>set config switch
A list of attributes with formatting and current values will follow.
Enter a new value or simply press the ENTER key to accept the current
value.
If you wish to terminate this process before reaching the end of the list
press 'q' or 'Q' and the ENTER key to do so.

TransparentMode (True / False)


[False ]
//Press Enter.

AdminState (1=Online, 2=Offline, 3=Diagnostics) [Online ]


//Press Enter.

BroadcastEnabled (True / False)


[True ]
//Press Enter.

FdmiEnabled (True / False)


[True ]
//Press Enter.

FdmiEntries (decimal value, 0-1000)


[1000 ]
//Press Enter.

DefaultDomainID (decimal value, 1-239)


[1 ]
3 //Type a new domain ID, and press Enter.

DomainIDLock (True / False)


[False ]
//Press Enter.

SymbolicName (string, max=32 chars)


[FCoE_GW ]
//Press Enter.

PrincipalPriority (decimal value, 1-255)


[254 ]
//Press Enter.

ConfigDescription (string, max=64 chars) [Default


Config]
//Press Enter.

Finished configuring attributes.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 78


CX311 Switch Module
User Guide 4 Configuring the CX311

This configuration must be saved (see config save command) and


activated (see config activate command) before it can take effect.
To discard this configuration use the config cancel command.

FCoE_GW (admin-config): admin>

3. Save the configuration.


FCoE_GW (admin-config): admin> config save

The config named default has been saved.

FCoE_GW (admin): admin>

4. Activate the configuration.


The configuration takes effect immediately without a restart.
FCoE_GW (admin): admin> config activate

The currently active configuration will be activated.


Please confirm (y/n): [n] y

FCoE_GW (admin): admin>

Step 3 Change the VLAN ID for the internal ports on the FCoE gateway.
1. Configure zones.
FCoE_GW: admin> admin start
FCoE_GW (admin): admin> config edit

2. Create a VLAN ID.


FCoE_GW (admin-config): admin> vlan VLAN ID create
For example, set the VLAN ID for the internal ports on the FCoE gateway to 1003 by
running the following command:
FCoE_GW (admin-config): admin> vlan 1003 create

3. Remove internal ports 12 to 19 (connected to the converged switching plane) on the


FCoE gateway from VLAN 1002.
FCoE_GW (admin-config): admin> vlan 1002 remove port 12
FCoE_GW (admin-config): admin> vlan 1002 remove port 13
FCoE_GW (admin-config): admin> vlan 1002 remove port 14
FCoE_GW (admin-config): admin> vlan 1002 remove port 15
FCoE_GW (admin-config): admin> vlan 1002 remove port 16
FCoE_GW (admin-config): admin> vlan 1002 remove port 17
FCoE_GW (admin-config): admin> vlan 1002 remove port 18
FCoE_GW (admin-config): admin> vlan 1002 remove port 19

4. Configure a new VLAN for internal ports 12 to 19 on the FCoE gateway.


FCoE_GW (admin-config): admin> vlan VLAN ID add port port number
For example, create VLAN 1003 for internal ports 12 to 19 on the FCoE gateway by
running the following commands:
FCoE_GW (admin-config): admin> vlan 1003 add port 12
FCoE_GW (admin-config): admin> vlan 1003 add port 13
FCoE_GW (admin-config): admin> vlan 1003 add port 14
FCoE_GW (admin-config): admin> vlan 1003 add port 15
FCoE_GW (admin-config): admin> vlan 1003 add port 16
FCoE_GW (admin-config): admin> vlan 1003 add port 17
FCoE_GW (admin-config): admin> vlan 1003 add port 18
FCoE_GW (admin-config): admin> vlan 1003 add port 19

5. Delete the default VLAN 1002 from the FCF module.


FCoE_GW (admin-config): admin> fcf 0EFC00 remove vlan 1002

6. Add a VLAN to the FCoE gateway.


FCoE_GW (admin-config): admin> fcf 0EFC00 add vlan VLAN ID
For example, set the VLAN ID for the internal ports on the FCoE gateway to 1003 by
running the following command:

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 79


CX311 Switch Module
User Guide 4 Configuring the CX311

FCoE_GW (admin-config): admin> fcf 0EFC00 add vlan 1003

7. Save the configuration.


FCoE_GW (admin-config): admin> config save

The config named default has been saved.

FCoE_GW (admin): admin>

8. Activate the configuration.


The configuration takes effect immediately without a restart.
FCoE_GW (admin): admin> config activate

The currently active configuration will be activated.


Please confirm (y/n): [n] y

FCoE_GW (admin): admin>

9. Run the vlan list command to view port VLANs.


FCoE_GW: admin> vlan list

Active VLAN Information


VLAN 1002
Ports None
VLAN 1003
Ports 12-19

10. Run the fcf list command to view the port FCF information, including VLAN
information.
FCoE_GW: admin> fcf list
Active FCF (FCoE Forwarder) Information
FCF 0EFC00
EnforceKeepAliveTimer True
KeepAliveTimer 8
FIPPriority 128
VLAN 1003
NumMacs None

Step 4 Add all ports on the converged switching plane that are connected to the server to a VLAN.
1. Log in to the converged switching plane CLI.
For details, see 4.3.2 Logging In to the CLI of Each Switching Plane.
2. Add all ports that are connected to the server to a VLAN.
[~CX311_C] interface port number
[~CX311_C-port number] port hybrid tagged vlan VLAN ID
For example, add port 10ge 3/1/1 to VLAN 1003 (for internal ports on the FCoE
gateway) by running the following commands:
[~CX311_C] interface 10ge 3/1/1
[~CX311_C-10ge 3/1/1] port hybrid tagged vlan 1003

Step 5 Add all internal ports on the converged switching plane that are connected to the FCoE
gateway to a VLAN.

Ports 10ge 3/20/1 to 10ge 3/20/8 on the converged switching plane are connected to the FCoE
gateway. These ports are added to the VLAN for the internal ports on the FCoE gateway.

For example, add port 10ge 3/20/1 to VLAN 1003 (VLAN for the internal ports on the FCoE
gateway) by running the following commands:
[~CX311_C] interface 10ge 3/20/1
[~CX311_C-10ge 3/20/1] port hybrid tagged vlan 1003

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 80


CX311 Switch Module
User Guide 4 Configuring the CX311

4.5 Backing Up the Configuration File


Use one of the following methods to back up the converged switching plane configuration
file:

l Run the save command to save configuration data to the CX311 and MM910.
l Run the reboot command and enter N as prompted to ensure that the configuration file is
synchronized to the MM910.
l Export the configuration file of the MM910, and download the configuration file from
the MM910 to a PC by using a cross-platform file transfer tool, for example, WinSCP.

After saving configuration data for the FCoE gateway, download the configuration file from
the FCoE gateway to a PC by using a cross-platform file transfer tool, for example, SFTP. For
details, see Procedure.

Prerequisites
Software

WinSCP.exe (third-party free software)

Procedure
Step 1 Log in to the converged switching plane CLI.

Step 2 Log in to the FCoE gateway CLI.

Step 3 Log in to the MM910 CLI.

Step 4 Configure the converged switching plane.

Step 5 Configure the FCoE gateway.

Step 6 Save the configuration file.


l Save the configuration file of the converged switching plane.
a. Run the following command on the converged switching plane CLI to view the
configuration file required for the next startup of the converged switching plane:
<HUAWEI> display startup
The command output is as follows:
MainBoard: Configured startup system software: flash:/xxx.cc
Startup system software: flash:/xxx.cc
Next startup system software: flash:/xxx.cc
Startup saved-configuration file: NULL
Next startup saved-configuration file: flash:/vrpcfg.zip
Startup paf file: default
Next startup paf file: default
Startup patch package: NULL
Next startup patch package: NULL

Next startup saved-configuration file indicates the configuration file for the next
startup. The displayed information indicates that the configuration file is
vrpcfg.zip.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 81


CX311 Switch Module
User Guide 4 Configuring the CX311

NOTE

The configuration file must be a *.zip or *.cfg file. If the configuration file is a *.dat file, ths
file cannot be synchronized to the MM910.
If the configuration file is a *.dat file, perform the following operations:
1. Run the save Configuration file name command to convert the configuration file into a
*.zip or *.cfg file.
2. Run the startup saved-configuration Configuration file name command to set the
configuration file used for the next startup to the saved *.zip or *.cfg file.
For details, see the CX110 and CX31x Series Switch Modules V100R001C00 Command
Reference.
b. Save the converged switching plane configuration file from the CX311 to the
MM910.
<HUAWEI> save
The command output is as follows:
Warning: The current configuration will be written to the device.
Continue? [Y/N]:Y
Now saving the current configuration to the slot 1
Info: Save the configuration successfully.

begin synchronize configuration to SMM ...


slot 1: upload configuration to SMM successfully.
<HUAWEI>

c. Check whether the configuration file is synchronized to the MM910 successfully.


<HUAWEI> reboot
If the following information is displayed, the configuration file is successfully
synchronized.
slot 2:
Next startup system software: flash:/xxx.cc
Next startup saved-configuration file: flash:/vrpcfg.zip
Next startup paf file: default
Next startup patch package: NULL

begin synchronize configuration to SMM ...


slot 2: upload configuration to SMM successfully.

System will reboot! Continue? [Y/N]:

NOTICE
If a configuration file synchronization failure message is displayed, contact Huawei
technical support.

d. Enter N to reject the restart.


e. Connect the Ethernet port on a PC to the MGMT ports on the active and standby
MM910s over a local area network (LAN).
f. Connect to the MM910 floating IP address over SSH to log in to the MM910 CLI.
PuTTY is used as an example for login over SSH. For details, see 6.2 Logging In
to the MM910 CLI over a Network Port by Using PuTTY.
g. Query the version of the MM910.
smmget -l smm -d version
The information is displayed as follows:

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 82


CX311 Switch Module
User Guide 4 Configuring the CX311

SMM Version Information:


Uboot Version :(U54)012
CPLD Version :(U1082)008 121120
PCB Version :SMMA REV B
BOM Version : 003
FPGA Version :(U1049)007 121116
Software Version :(U54)2.0
IPMI Module Built:Mar 14 2013 22:31:44

The value of the parameter Software Version is the software version of the
MM910.
h. Select an operation based on the MM910 software version.
n If the software version is earlier than (U54) 3.00, go to Step 6.i.
n If the software version is (U54) 3.00 or later, perform Step 6.j to Step 6.k.
i. Use a cross-platform file transfer tool, and enter the MM910 floating IP address to
download the configuration file to the PC in binary file transmission mode.
n The configuration file of the converged switching plane on the MM910 is
34_1_1.cfg. The file name is different from that on the switch module.
n The path for storing the configuration file is /common/flash/bladecfg/swiN.
N is the CX311 slot number that ranges from 1 to 4, mapping to the logical slot
numbers 1E, 2X, 3X, and 4E from left to right.
WinSCP is used as the cross-platform file transfer tool. For details, see 6.9
Transferring Files Using WinSCP.
NOTE

Set the WinSCP transfer mode to the binary mode as follows: Press the shortcut keys Ctrl
+Alt+P. The Preferences window is displayed. In the navigation tree on the left, choose
Transfer, and click Binary and OK.
j. Run the following command on the MM910 CLI to export the configuration file of
the converged switching plane:
root@SMM:/# swiconfexport swiN
N is the slot number of a switch module. Its value ranges from 1 to 4, mapping to
switch module slots 1E, 2X, 3X, and 4E from left to right.
The following information is displayed with the configuration file name and
directory.
Succeed
Please check "/tmp/exchang/swiN/swiN.tar.gz"

k. Use a cross-platform file transfer tool, and enter the MM910 floating IP address to
download the configuration file shown in the command output to the PC in binary
file transmission mode.
WinSCP is used as the cross-platform file transfer tool. For details, see 6.9
Transferring Files Using WinSCP.
NOTE

Set the WinSCP transfer mode to the binary mode as follows: Press the shortcut keys Ctrl
+Alt+P. The Preferences window is displayed. In the navigation tree on the left, choose
Transfer, and click Binary and OK.
After the configuration file is downloaded to the PC and decompressed, the
converged switching plane configuration file is 34_1_1.cfg.
l Save the FCoE gateway configuration file.
a. Run the following commands to activate the current configuration data on the FCoE
gateway CLI:

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 83


CX311 Switch Module
User Guide 4 Configuring the CX311

FCoE_GW: admin> admin start


FCoE_GW (admin): admin> config activate
The command output is as follows:
The currently active configuration will be activated. Please confirm
(y/n): [n]

Enter Y to activate the current configuration.


b. Save configuration data for the FCoE gateway to the configuration file.
FCoE_GW (admin): admin> config backup
c. On an SFTP tool, enter the FCoE gateway IP address (which can be queried by
referring to 4.4.2 Checking the FCoE Gateway), user name (images), and
password (Huawei12#$) to open the FCoE gateway SFTP session, and copy the
configuration file configdata to the PC. For details, see 6.10 Transferring Files
Using SFTP.
The following is an example:
> sftp images@ip_address
Connecting to ip_address
Password: Huawei12#$
sftp> get configdata
Fetching //configdata to configdata
sftp: received 105 KB in 0.03 seconds
sftp> quit

NOTE

It is recommended that you change the configuration file name on the workstation to the
MX510 name and date, for example, config_mx510_06302015.

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 84


CX311 Switch Module
User Guide 5 Restoring the Configuration File

5 Restoring the Configuration File

Scenarios
Restore the configuration file to the CX311.

Use one of the following methods to restore the configuration file on the converged switching
plane:

l Power on the converged switching plane. The system automatically uses the
configuration file of the MM910 to restore configuration data. This section does not
describe the automatic restoration.
l Upload and load the configuration file of the converged switching plane to the MM910
and restart the converged switching plane. The system automatically uses the
configuration file of the MM910 to restore configuration data. For details, see
Procedure.

Upload the configuration file of the FCoE gateway from the PC to the CX311 and run the
restoration command in the FCoE gateway to restore the configuration file. For details, see
Procedure.

Prerequisites
Conditions

The PC contains a configuration file.

Procedure
l Restore the converged switching plane configuration file.

Step 1 Log in to the converged switching plane CLI.

Step 2 Log in to the MM910 CLI.

Step 3 Connect the Ethernet port on a PC to the MGMT ports on the active and standby MM910s
over a local area network (LAN).

Step 4 Connect to the MM910 floating IP address over SSH to log in to the MM910 CLI.

PuTTY is used as an example for login over SSH. For details, see 6.2 Logging In to the
MM910 CLI over a Network Port by Using PuTTY.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 85


CX311 Switch Module
User Guide 5 Restoring the Configuration File

Step 5 Query the version of the MM910.


smmget -l smm -d version
The information is displayed as follows:
SMM Version Information:
Uboot Version :(U54)012
CPLD Version :(U1082)008 121120
PCB Version :SMMA REV B
BOM Version : 003
FPGA Version :(U1049)007 121116
Software Version :(U54)2.0
IPMI Module Built:Mar 14 2013 22:31:44

The value of the parameter Software Version is the software version of the MM910.
Step 6 Select an operation based on the MM910 software version.
l If the software version is earlier than (U54) 3.00, perform Step 7 to Step 9.
l If the software version is (U54) 3.00 or later, perform Step 10 to Step 11.
Step 7 Run the following command on the converged switching plane CLI to disable converged
switching plane configuration synchronization to the MM910 before a restart:
<HUAWEI> config-sync disable before-reboot
If the following information is displayed, the setting is successful:
XCU won't synchronize configuration to SMM before reboot.

Step 8 Use a cross-platform file transfer tool and enter the floating IP address of the MM910 to
transfer the configuration file on the PC to the MM910 in binary file transmission mode.
NOTE

You are advised to back up and rename the existing configuration file on the MM910 before the upload,
because it will be replaced by the uploaded configuration file. For details about how to back up the
configuration file, see 4.5 Backing Up the Configuration File.
l The configuration file name is 34_1_1.cfg.
l The path for storing the configuration file is /common/flash/bladecfg/swiN.
N ranges from 1 to 4, mapping to switch module slots 1E, 2X, 3X, and 4E from left to
right.
WinSCP is used as the cross-platform file transfer tool. For details, see 6.9 Transferring Files
Using WinSCP.

NOTE

Set the WinSCP transfer mode to the binary mode as follows: Press the shortcut keys Ctrl+Alt+P. The
Preferences window is displayed. In the navigation tree on the left, choose Transfer, and click Binary
and OK.

Step 9 Run the following command on the converged switching plane CLI to restart the converged
switching plane:
<HUAWEI> reboot
The command output is as follows:
slot 4:
Next startup system software: flash:/xxx.cc
Next startup saved-configuration file: flash:/vrpcfg.zip
Next startup paf file: default

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 86


CX311 Switch Module
User Guide 5 Restoring the Configuration File

Next startup patch package: NULL


Warning: Current configuration will be saved to the next startup
saved-configuration file! Continue? [Y/N]:

Enter N. The following information is displayed:


System will reboot! Continue? [Y/N]:

Enter Y. The converged switching plane restarts and the configuration file is automatically
restored after the restart.

Step 10 Use a cross-platform file transfer tool and enter the floating IP address of the MM910 to
transfer the configuration file on the PC to the MM910 in binary file transmission mode.
NOTE

You are advised to back up and rename the existing configuration file on the MM910 before the upload.
Otherwise, it will be replaced by the uploaded configuration file. For details about how to back up the
configuration file, see 4.5 Backing Up the Configuration File.
l The configuration file name is 34_1_1.cfg.
l The upload path of the configuration file is /tmp/exchang/swiN.
N ranges from 1 to 4, mapping to switch module slots 1E, 2X, 3X, and 4E from left to
right.

WinSCP is used as the cross-platform file transfer tool. For details, see 6.9 Transferring Files
Using WinSCP.

NOTE

Set the WinSCP transfer mode to the binary mode as follows: Press the shortcut keys Ctrl+Alt+P. The
Preferences window is displayed. In the navigation tree on the left, choose Transfer, and click Binary
and OK.

Step 11 Run the following command on the MM910 CLI to load the configuration file of the
converged switching plane:

root@SMM:/#smmset -l swiN -d offlineconfig -v bladetype planenum filename

The parameters are described as follows:

l N: specifies the slot number of a switch module. Its value ranges from 1 to 4, mapping to
switch module slots 1E, 2X, 3X, and 4E from left to right.
l bladetype: indicates the type of the blade where the configuration file is to be loaded.
The value of the CX311 is 34.
l planenum: indicates the switching plane number. The value of the converged switching
plane is 1.
l filename: indicates the name of the configuration file to be loaded.

The following information is displayed:


In this condition,if offline configuration success,the blade will reboot.
Do you want to continue?[Y/N]:y
Success

The converged switching plane restarts automatically after the configuration file is
successfully loaded to the MM910, and the configuration file is automatically restored after
the restart.

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 87


CX311 Switch Module
User Guide 5 Restoring the Configuration File

l Restore the FCoE gateway configuration file.

Step 1 Log in to the FCoE gateway CLI.

Step 2 Enter the FCoE gateway IP address, user name (images), and password (Huawei12#$) to go
to the FCoE gateway SFTP session screen, and upload the configuration file to the FCoE
gateway by using the SFTP tool as the client.
For example, to upload the configuration file config_mx510_06302015 from the PC, run the
following commands:
> sftp images@ip_address
Connecting to ip_address
Password: Huawei12#$
sftp> put config_mx510_06302015 configdata
Uploading configdata to remote://configdata
sftp: sent 105 KB in 0.03 seconds
Uploading config_mx510_06302015 to remote://config_mx510_06302015
sftp: sent 105 KB in 0.03 seconds
sftp> quit

Step 3 Run the following commands on the FCoE gateway CLI to restore the configuration file:
FCoE_GW: admin> admin start
FCoE_GW (admin): admin> config restore
The command output is as follows:
The switch will be reset after restoring the configuration.
This process will cause a disruption to I/O traffic.
Please confirm (y/n): [n] y

Enter Y to start the restoration.

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 88


CX311 Switch Module
User Guide 6 Common Operations

6 Common Operations

6.1 Logging In to a Compute Node or a Switch Module over MM910 SOL


6.2 Logging In to the MM910 CLI over a Network Port by Using PuTTY
6.3 Logging In to a Device over a Serial Port by Using PuTTY
6.4 Powering On or Off a Switching Plane
6.5 Using the Local KVM Connected to the MM910
6.6 Logging In to the HMM WebUI
6.7 Logging In to the Web Tools of the MX510
6.8 Configuring an FTP Server
6.9 Transferring Files Using WinSCP
6.10 Transferring Files Using SFTP
6.11 Using the HMM WebUI to Collect Converged Switching Plane Information
6.12 Using the CLI to Collect Converged Switching Plane Information
6.13 Using the Web Tools to Collect FCoE Gateway Information
6.14 Using the CLI to Collect FCoE Gateway Information

6.1 Logging In to a Compute Node or a Switch Module


over MM910 SOL
Prerequisites
Data

l User name and password for logging in to the MM910 to be connected. The default user
name is root and password is Huawei12#$.
l User name and password for logging in to the compute nodes to be connected. The
default user name is root and password is Huawei12#$.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 89


CX311 Switch Module
User Guide 6 Common Operations

l Password for logging in to the switch modules to be connected. The default password is
Huawei12#$.

Procedure
Step 1 Use a network cable to connect a PC to the MGMT port of the MM910.

Step 2 Log in to the MM910 CLI over SSH using the MM910 floating IP address.
NOTE

PuTTY is used as the SSH login tool. For details about how to use PuTTY, see 6.2 Logging In to the
MM910 CLI over a Network Port by Using PuTTY.

Step 3 Log in to the SOL CLI.

telnet 0 1101

The command output is as follows:


*=====================================================================*
* Welcome to SMM SOL Server *
* Please log in with SMM account and password. *
*=====================================================================*

user name:

NOTE

If you want to power off the service terminal after logging in to the SOL CLI, you must exit the SOL
CLI first. Otherwise, you will fail to log in to the SOL CLI next time.

Step 4 Enter the user name and password.

The CLI for selecting a slot is displayed.


Log in Success!

*=================================================================================
==========================
please input the SOL Blade1~Blade16(1 ~ 16), Blade1A~Blade16A(17 ~ 32),
Swi1~Swi4(33 ~ 36) and COM#(n)
press Ctrl+R to return
*=================================================================================
==========================

Blade1~Blade16(1 ~ 16)
Blade1A~Blade16A(17 ~ 32)
Swi1~Swi4(33 ~ 36)
Please input your choice:

The sequence numbers in the preceding information are described as follows:

l 1–32 indicate the compute nodes in slots 1 to 32 respectively.


l 33–36 indicate the switch modules in slots 1E, 2X, 3X, and 4E respectively.

Step 5 Type the slot number of the compute node or switch module to be connected, and press
Enter.
l If you enter the slot number of a compute node, the serial port types supported by the
compute node are displayed. The following information is an example:
– systemcom

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 90


CX311 Switch Module
User Guide 6 Common Operations

– RAIDcom
– BMCcom
– Exboardcom
– SYS COM
– BMC COM
The serial ports are described as follows:
– systemcom: serial port for accessing the operating system.
– RAIDcom: serial port for accessing RAID. Only CH222 and CH222 V3 compute
nodes have this serial port.
– BMCcom: serial port for accessing the BMC.
– Exboardcom: serial port for accessing the expansion board. Only CH222 and
CH222 V3 compute nodes have this serial port.
– SYS COM: serial port for accessing the operating system.
– BMC COM: serial port for accessing the BMC.
l If you enter the slot number of a switch module, the serial port types supported by the
switch module are displayed. The following information is an example:
– BMCcom
– fabriccom
– basecom
– FCcom
– bmccom
The serial ports are described as follows:
– BMCcom: serial port for accessing the BMC.
– fabriccom: serial port for accessing an Ethernet switching plane.
– basecom: reserved and currently disabled.
– FCcom: serial port for accessing the Fibre Channel (FC) switching plane or Fibre
Channel over Ethernet (FCoE) gateway.
– bmccom: serial port for accessing the BMC.
Step 6 Type the number of a serial port to be connected, and press Enter.
The serial port CLI is displayed. On this CLI, you can perform operations such as configuring
the serial port and querying parameters of the serial port.

NOTE

You can press Ctrl+R to return to the CLI for selecting a slot in the chassis, as described in Step 4. You
can also press Ctrl+R twice to log out of the SOL CLI.

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 91


CX311 Switch Module
User Guide 6 Common Operations

6.2 Logging In to the MM910 CLI over a Network Port by


Using PuTTY
Scenarios
Use PuTTY to remotely log in to a server over a local area network (LAN) and to configure
and maintain the server.

NOTE

l Only the management modules provide the MGMT port.


l To log in to a compute node or switch module, log in to the management module first. Then log in to
the compute node or switch module over SOL. For details, see 6.1 Logging In to a Compute Node
or a Switch Module over MM910 SOL.

Prerequisites
Data

l IP address of the server to be connected


l User name and password for logging in to the server to be connected

Software

PuTTY.exe (third-party software)

Procedure
Step 1 Connect the local PC and the MGMT port on the MM910 through a network cable.

Step 2 Set an IP address and a subnet mask or add route information for the PC so that the PC can
properly communicate with the server.

You can run the Ping Server IP address command on the PC CLI to check the communication
between the PC and the server.

Step 3 Double-click PuTTY.exe.

The PuTTY Configuration window is displayed.

Step 4 In the navigation tree on the left, choose Connection > SSH.

Step 5 Set the login parameters.

The parameters are described as follows:

l Host Name (or IP address): Enter the IP address of the server, for example,
191.100.34.32.
l Port: Retain the default value 22.
l Connection type: Retain the default value SSH.
l Close window on exit: Retain the default value Only on clean exit.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 92


CX311 Switch Module
User Guide 6 Common Operations

NOTE

Set Host Name and Saved Sessions, and click Save. In this way, you can double-click the saved record
in Saved Sessions to log in to the server next time.

Step 6 In the navigation tree, choose Session and select SSH for Connection type.

Figure 6-1 PuTTY Configuration window

Step 7 (Optional) After logging in to the Ethernet plane by using PuTTY, if you fail to delete
characters on the CLI by using the Backspace key, choose Terminal > Keyboard, and select
Control-H under The Backspace key.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 93


CX311 Switch Module
User Guide 6 Common Operations

Figure 6-2 PuTTY Configuration window

Step 8 Click Open.


The PuTTY window is displayed.
login as:

NOTE

l For the first login, the PuTTY Security Alert window is displayed. If you trust this site, click Yes.
Then the PuTTY window is displayed.
l If the entered user name is incorrect during server login, the PuTTY must be reconnected.

Step 9 Enter a user name and password by following instructions.


After login, the server host name is displayed on the left of the prompt.
----End

6.3 Logging In to a Device over a Serial Port by Using


PuTTY
Scenarios
Log in to a server over a serial port by using PuTTY in the following scenarios:
l The server is configured for the first time at a new site, and you need to perform initial
configuration.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 94


CX311 Switch Module
User Guide 6 Common Operations

l The server cannot be remotely connected because the network is faulty, and you need to
locate the fault.
NOTE

The server that is logged in to is a management module, compute node, or switch module in an
E9000 chassis.
When logging in to a management module, you must connect the serial port to the COM serial
port of the MM910.
When logging in to a compute node, you can connect the serial port to the SYS serial port or BMC
chip of the compute node.
l The E9000 compute nodes do not provide serial ports. To log in to a compute node over a
serial port, connect a multi-port cable to a universal connector port (UCP) and log in through
the serial port of the multi-port cable. If the compute node does not provide a UCP, you can
log in to the compute node only through a network port. For details, see 6.1 Logging In to a
Compute Node or a Switch Module over MM910 SOL.
l On the MM910 CLI, run the bmccomstate and switchcom commands to query and switch
the objects connected to the serial ports. For details, see the MM910 Management Module
V100R001 Command Reference.
When logging in to a switch module, you can connect the serial port to the Ethernet switching
plane, FC switching plane, or BMC chip.
l If the switch module panel has the BMC serial port and SYS serial port, the BMC serial port is
connected to the BMC chip, and the SYS serial port can be connected to the Ethernet
switching plane or FC switching plane.
l If the switch module panel has only the COM serial port, the COM serial port can be
connected to the Ethernet switching plane, FC switching plane, or BMC chip.
l If the switch module panel has only the BMC serial port, the BMC serial port is connected to
the BMC chip.
l On the MM910 CLI, run the bmccomstate and switchcom commands to query and switch the
objects connected to the serial ports. For details, see the MM910 Management Module
V100R001 Command Reference.

Prerequisites
Data

User name and password for logging in to the server to be connected.

Software

PuTTY.exe: third-party software. PuTTY 0.60 or later is required for login over a serial port.

Procedure
Step 1 Connect the local PC and the target device through a serial cable.

The connection varies depending on the target device:


l Management module: Connect the local PC to the COM serial port of the target MM910.
l Compute node: Connect the local PC to the serial port of the multi-port cable connected
to the target compute node.
l Switch module: Connect the local PC to the serial port of the target switch module.

Step 2 Double-click PuTTY.exe.

The PuTTY Configuration window is displayed.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 95


CX311 Switch Module
User Guide 6 Common Operations

Step 3 In the navigation tree on the left, choose Connection > Serial.

Step 4 Set the login parameters.

The following are examples:

l Serial line to connect to: COMn


l Speed (baud): 115200
l Data bits: 8
l Stop bits: 1
l Parity: None
l Flow control: None
NOTE

n indicates the serial port number, and the value is an integer.

Step 5 In the navigation tree, choose Session.

Step 6 Select Serial for Connection type.

Figure 6-3 PuTTY Configuration window

Step 7 Click Open.

The PuTTY window is displayed.

Step 8 Enter a user name and password as prompted.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 96


CX311 Switch Module
User Guide 6 Common Operations

After login, the server host name is displayed on the left of the prompt.

----End

6.4 Powering On or Off a Switching Plane


Scenarios
Remotely power on the converged switching planes of the CX311 using any of the following
methods:
l Power on all switching planes of the CX311 on the HMM WebUI. For details, see
Procedure.
l On the MM910 CLI, run the powerstate command to power on or off the switching
planes of the CX311. For details, see the MM910 Management Module V100R001
Command Reference.
l On the BMC CLI, run the powerstate command to power on or off the switching planes
of the CX311. For details, see the E9000 Server V100R001 iMana 200 User Guide.
l If the chassis is not powered on, power it on, and all the switching planes of the CX311
will be powered on with the chassis. This section does not provide the operation details.
l If the chassis is powered off, all the switching planes of the CX311 will be powered off
with the chassis.
l If the chassis is powered on but the CX311 is not installed, install the CX311, and all
switching planes of the CX311 will be automatically powered on after the installation.
This section does not provide the operation details.
l If the chassis is powered on and the CX311 is installed, remove the CX311 to power off
the converged switching plane.
The FCoE gateway can only be automatically powered on or off along with the CX311
installation or uninstallation respectively, and the corresponding details are not provided in
this section.

Impact on the System


When a switching plane is powered off, all services running on the switching plane stop.

Prerequisites
Software
PuTTY.exe: third-party free software. PuTTY 0.60 or later is required for login over a serial
port.

Procedure
Step 1 Connect the RS232 serial port on the PC to the SYS serial port on the CX311 panel.

Step 2 Save the current configuration data.

Step 3 Power on or off switching planes on the HMM WebUI.


1. Log in to the HMM WebUI.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 97


CX311 Switch Module
User Guide 6 Common Operations

For details, see 6.6 Logging In to the HMM WebUI.


2. Perform operations based on the MM910 software version.
– If the MM910 version is (U54) 2.20 or earlier, go to Step 3.3.
– If the MM910 version is later than (U54) 2.20, go to Step 3.6.
You can run the smmget -l smm -d version command on the MM910 CLI to check
the software version.
3. In the navigation tree, choose Power Supply Management > Swi Power Control.
The Swi Power Control page is displayed.

Figure 6-4 Swi Power Control page

4. Power on or off the converged switching plane of a specific switch module.


fabric indicates the converged switching plane.
5. Click Refresh.
Check the latest power-on and power-off status of the switch module.
6. Choose PSUs&Fans.
The PSUs&Fans page is displayed.
7. In the navigation tree on the left of the PSUs&Fans page, choose PSU Management >
Power Control.

Figure 6-5 Power Control page

8. Power on or off the converged switching plane of a specific switch module.


fabric indicates the converged switching plane.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 98


CX311 Switch Module
User Guide 6 Common Operations

9. Refresh the page and check the latest power-on and power-off status of the switch
module.

----End

6.5 Using the Local KVM Connected to the MM910


Scenarios
Use the local KVM to perform any of the following operations:
l Log in to the MM910 CLI.
l Log in to the OS of a compute node.
l Mount the DVD drive to a compute node.
l Access a compute node or switch module over serial over LAN (SOL).
The local KVM function of the MM910 has the following restrictions:
l The CLI does not support text editor.
l The login to the system serial port of the compute node over SOL by using the local
KVM is supported.
NOTE

Once you have accessed the active or standby MM910 CLI or SOL screen (shown in Figure 6-6) and
the timeout timer has not expired, you can access the MM910 without entering the user name and
password again. For security purposes, run the exit command to exit the CLI when you do not need to
use the KVM.

Prerequisites
Data
l User name and password for logging in to the MM910
l User name and password for logging in to the compute node or switch module

Procedure
Step 1 Log in to the MM910 CLI.

Step 2 Connect the keyboard and mouse to the USB ports of the MM910.

Step 3 Use a VGA cable to connect the monitor to the VGA port of the MM910.
The main screen is displayed, as shown in Figure 6-6.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 99


CX311 Switch Module
User Guide 6 Common Operations

Figure 6-6 KVM main screen

On the main screen:

l Press ↑, ↓, ←, or → to select , and press Enter to enter the OS of the compute node
in the specified slot.
l Press ↑, ↓, ←, or → to select , and press Enter to mount the DVD drive of the
MM910 to the compute node in the specified slot. The DVD drive color of the MM910
represents the status of the connection to the compute node.

– indicates that the DVD drive is mounted to the compute node.

– indicates that the DVD drive is open.

– indicates that data is being accessed.


Step 4 Perform operations on the menu as prompted. For example, press Ctrl+S.
Go to the SOL CLI. The following information is displayed:
*=====================================================================*
* Welcome to SMM SOL Server *
* Please log in with SMM account and password. *
*=====================================================================*

user name:

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 100


CX311 Switch Module
User Guide 6 Common Operations

NOTE

To go to the previous screen, press Ctrl+Shift+Alt. To go to the KVM main screen, press Ctrl+R.

Step 5 Enter the MM910 user name and password.


The CLI for selecting a slot is displayed.
Log in Success!

*===============================================================================
please input the SOL Blade1~Blade16(1 ~ 16), Blade1A~Blade16A(17 ~ 32),
Swi1~Swi4(33 ~ 36) and COM#(n)
press Ctrl+R to return
*===============================================================================

Blade1~Blade16(1 ~ 16)
Blade1A~Blade16A(17 ~ 32)
Swi1~Swi4(33 ~ 36)
Please input your choice:

The sequence numbers in the preceding information are described as follows:


l 1–32 indicate the compute nodes in slots 1 to 32 respectively.
l 33–36 indicate the switch modules in slots 1E, 2X, 3X, and 4E respectively.
Step 6 Enter the slot number of the compute node or switch module to be connected. For example,
enter 34 and press Enter.
All serial ports on the switch module to be connected are displayed as follows:
Please input your choice:34
1 BMCcom
2 fabriccom
3 baseccom
4 FCcom
COM#(1 ~ 4)

Step 7 Enter the number of a serial port to be connected. For example, enter 1 and press Enter.
The serial port CLI is displayed.
Step 8 Enter the user name and password for connecting the serial port.
Perform configuration and query operations on the serial port CLI.

----End

6.6 Logging In to the HMM WebUI


Scenarios
Configure and manage the chassis, MM910s, compute nodes, switch modules, pass-through
modules, power supply units (PSUs), and fan modules on the HMM WebUI.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 101


CX311 Switch Module
User Guide 6 Common Operations

NOTE

l If HMM WebUI login attempts fail for five consecutive times, the account is locked. It will be
automatically unlocked after 10 minutes. If you enter a password within this time, the lock is reset to
10 minutes even if the password is correct.
l An account can be used to log in to the HMM WebUI only through one IP address at a time. Other
logins through a different IP address forcibly log out the user who has logged in using the account.
l "This is the standby MM" is displayed for the WebUI of the standby MM910. The standby HMM
WebUI does not display component installation status. On the WebUI of the standby MM910, you
can only view monitoring information about the active MM910, set the DHCP and static IP
addresses, and set and query the thresholds and hysteresis of the sensors of the standby MM910. To
perform other operations, log in to the WebUI of the active MM910.
l For details about the operations on the WebUI, see the Online Help.

Prerequisites
Conditions

The client (a PC) used to access the HMM WebUI must meet the requirements listed in Table
6-1.

Table 6-1 Runtime environment requirements


Runtime Environment Version

OS Windows l Windows 7 32-bit/64-bit


l Windows 8 32-bit/64-bit
l Windows Server 2008
l Windows Server 2012

Linux Red Hat Enterprise Linux (RHEL) 4.3 to 6.0

Web Windows l Internet Explorer 9 or later


browser l Mozilla Firefox 19.0 to 31.0
l Chrome 22.0 to 31.0

Linux Mozilla Firefox 19.0 to 31.0

JRE l JRE 1.6 or later if the MM910 version is earlier than (U54)
5.51
l JRE 1.7 or later if the MM910 version is (U54) 5.51 or later

Data

User name and password for logging in to the server

Procedure
Step 1 Connect the Ethernet port on a PC to the MGMT port on the active or standby MM910 over a
local area network (LAN).

Figure 6-7 shows the network connections.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 102


CX311 Switch Module
User Guide 6 Common Operations

Figure 6-7 Network connections

NOTE

l For MM910 (U54) 2.25 or earlier, the MM910 communicates with external network devices through
the ports on switch modules in slots 2X and 3X by default. For MM910 later than (U54) 2.25, the
MM910 communicates with external network devices through the MGMT port by default. To query
the MM910 version, see the MM910 Management Module V100R001 User Guide.
l You can run the outportmode command to change the MM910 management network port
connection mode. If the MM910 communicates with external network devices through the ports of
switch modules in slots 2X and 3X, do not connect the MM910 MGMT port and the switch module
ports to the same network. Otherwise, a network storm will occur and the network will be
interrupted. For details, see the MM910 Management Module V100R001 Command Reference.

Step 2 Set an IP address and a subnet mask or add route information for the PC, and ensure that the
PC can properly communicate with the MM910.

Step 3 Open Internet Explorer, click and choose Internet Options.


The Internet Options dialog box is displayed.

NOTE

Internet Explorer 11 in Windows 7 is used as an example.

Step 4 Choose Connections and click LAN Settings.


The LAN Settings dialog box is displayed.
Step 5 In the Proxy server group box, deselect Use a proxy server for your LAN and click OK.
The LAN Settings dialog box is closed.
Step 6 Click OK.
The Internet Options dialog box is closed.
Step 7 Open Internet Explorer again, enter https://MM910 floating IP address, for example https://
192.168.2.3, in the address box, and press Enter.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 103


CX311 Switch Module
User Guide 6 Common Operations

NOTE

You can query or configure the MM910 floating IP address in any of the following ways:
l Use the chassis intelligent display. For details, see the E9000 Chassis Intelligent Display V100R001
Parameter Reference.
l Use the HMM WebUI. For details, see section "Configuring the MM910 IP Addresses" in the
MM910 Management Module V100R001 User Guide.
l Run the floatip command on the MM910 CLI. For details, see the MM910 Management Module
V100R001 Command Reference.

The message "There is a problem with this website's security certificate" is displayed.
Step 8 (Optional) Add the MM910 IP address to the Trusted sites zone.
By default, Internet Explorer enhanced security configuration is enabled on the Windows
Server series OSs. To ensure a successful login to the HMM WebUI, add the MM910 IP
address to the trusted sites zone as follows:
1. On Internet Explorer, choose Tools > Internet Options.
The Internet Options dialog box is displayed.
2. Click the Security tab.
3. Click Trusted sites, and click Sites.
4. In the Trusted sites dialog box, click Add to add the MM910 IP address to the trusted
site list, and click Close.
5. Refresh the page.
6. In the status bar of the browser, check whether the MM910 IP address is in the Trusted
sites zone.
Step 9 Click Continue to this website (not recommended).
The HMM Web login page is displayed, as shown in Figure 6-8.

Figure 6-8 Logging in to the HMM WebUI (V603)

Step 10 Set the login parameters.


NOTE

The login page varies slightly with the HMM software version.
l Language: Select the language to be used.
l User name: Enter the user name. The default user name is root.
l Password: Enter the password. The default password is Huawei12#$.
If User must change password at next login is selected when users are created on the
LDAP server, logins will fail. Deselect this option on the LDAP server.
l Login To: Select This Machine for a local user. If the system manages domain users
over Active Directory (AD), select LDAP.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 104


CX311 Switch Module
User Guide 6 Common Operations

Step 11 Click Log In.


The HMM Web home page is displayed.

Figure 6-9 HMM Web home page (V603)

----End

6.7 Logging In to the Web Tools of the MX510


Scenarios
Log in to the FCoE gateway by using a browser on the local PC to configure and manage this
gateway.

Prerequisites
Data
l IP address of the server to be connected.
l User name for logging in to the server to be connected. The default user name is admin.
l User password for logging in to the server to be connected. The default user password is
Huawei12#$.
Tools
Java Runtime Environment (JRE): third-party free software. JRE 1.8 or later is required.

Procedure
Step 1 Connect a terminal (for example, the local PC) to the management network port of the
management module by using a network cable.
Step 2 In the security alert dialog box displayed, select Continue to this website (not
recommended).
Step 3 In the security alert dialog box displayed, select Do not block this program.

Step 4 Open a browser on the local PC, type https://IP address of the FCoE gateway in the address
box, and press Enter.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 105


CX311 Switch Module
User Guide 6 Common Operations

The login page is displayed.

Figure 6-10 Login page

Step 5 Enter the user name and password, and click Add Fabric.

Step 6 In the dialog box displayed, click Yes.

The Web Tools home page is displayed.

Figure 6-11 Web Tools home page

----End

6.8 Configuring an FTP Server


Prerequisites
Software

wftpd32.exe: third-party free software used to transfer files between different platforms, for
example, from a PC to a switching plane of a switch module.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 106


CX311 Switch Module
User Guide 6 Common Operations

Procedure
Step 1 Connect a PC to the server by using a serial cable.

Step 2 Double-click wftpd32.exe.

The No log file open - WFTPD window is displayed.

Step 3 Choose Logging > Log Options.

The Logging Options dialog box is displayed.

Step 4 Select all check boxes except Winsock Calls, and click OK.

Step 5 Choose Security > Users/rights.

The User / Rights Security Dialog dialog box is displayed.

Step 6 Click New User. In the dialog box displayed, enter a user name (for example, vxworks) and
click OK.

The Change Password dialog box is displayed.

Step 7 Enter a password (for example, vxworks) in the New Password and Verify Password text
boxes, and click OK.

Step 8 Copy the upgrade file to a directory (for example, D:\FTP) on the PC.
NOTE

The directory can contain only English characters.

Step 9 Select vxworks from the User Name combo box, and enter the upgrade file directory (for
example, D:\FTP) in the Home Directory text box.

Figure 6-12 User / Rights Security Dialog

Step 10 Click Done.

The FTP server is configured.

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 107


CX311 Switch Module
User Guide 6 Common Operations

6.9 Transferring Files Using WinSCP


Prerequisites
Data
l IP address of the server to be connected
l User name and password for logging in to the server to be connected

Procedure
Step 1 Enable the SFTP service on the destination device.

Step 2 Open the WinSCP folder, and double-click WinSCP.exe.


The WinSCP Login dialog box is displayed.

NOTE

If the system language is not English, click Languages to set the displayed language.

Figure 6-13 Logging in to WinSCP

Step 3 Set the login parameters.


The parameter descriptions are displayed as follows:
l Host name: Specifies the IP address of the device to be connected, for example,
191.100.34.32.
l Port number: The default value is 22.
l User name: Specifies the username, for example, admin123.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 108


CX311 Switch Module
User Guide 6 Common Operations

l Password: Specifies the password, for example, admin123.


l Private key file: Retain the default value None.
l Protocol: Retain the default value SFTP, and select Allow SCP fallback.
Step 4 Click Login.
The WinSCP file transfer page is displayed.

NOTE

l If a key file was not selected during the first login, a warning Continue connecting and add host
key to cache is displayed. Click Yes. The WinSCP file transfer page is displayed.
l If Windows 7 is used, in the left pane of the page, open the C:\Users\Administrator\Documents
directory, the device's /root directory is opened in the right pane by default.

Step 5 Create or delete folders in the left or right pane, or copy folders between panes as required.

----End

6.10 Transferring Files Using SFTP


Scenarios
Transfer files on the local computer using SFTP.

Software
msftpsrvr.exe (free software)

Procedure
Step 1 Enable the SFTP service on the destination device.

Step 2 Double-click msftpsrvr.exe.


The Core FTP mini-sftp-server dialog box is displayed.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 109


CX311 Switch Module
User Guide 6 Common Operations

Figure 6-14 Core FTP mini-sftp-server dialog box

Step 3 Set the parameters as prompted:

The parameter descriptions are displayed as follows:

l User: specifies the user name for logging in to the SFTP server.
l Password: specifies the password for logging in to the SFTP server.
l Port: specifies the port number, which is 22 by default.
l Root path: specifies the home directory of the SFTP server.

Step 4 Click Options, and enter the SFTP server IP address in IP/Address, for example,
191.100.34.33.

Step 5 Click Start.

The file transfer starts.

----End

6.11 Using the HMM WebUI to Collect Converged


Switching Plane Information
Prerequisites
To use the one-click full collection function of the MM910 to collect converged switching
plane logs, the following two conditions must be met:

l The MM910 software version is 6.00 or later.


l The converged switching plane software version is 5.30 or later.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 110


CX311 Switch Module
User Guide 6 Common Operations

Procedure
Step 1 Log in to the HMM WebUI.

For details, see 6.6 Logging In to the HMM WebUI.

Step 2 Choose System Management > Information Collection, and set the information collection
parameters as follows:
l Collected from: MM
l Collected content: One-click full collection.

Step 3 Click Start Collection to start collecting logs.

Figure 6-15 Information collection

Step 4 In the displayed dialog box, click Save to save the log file to the local PC.

Step 5 Decompress the one_touch_info_all.tar.gz file. The collected logs of the converged
switching plane are in the swin_fru2 folder.
NOTE

n is the switch module or pass-through module slot number and ranges from 1 to 4.

----End

6.12 Using the CLI to Collect Converged Switching Plane


Information
Scenarios
Use the CLI to collect the following information:

l Logs
l Debugging information
l Trap information

Prerequisites
Conditions

WFTPD 4.2.4.610 or later has been installed. wftpd32.exe (third-party free software) is a
cross-platform tool used to transfer files from a PC to switch modules.

Data

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 111


CX311 Switch Module
User Guide 6 Common Operations

Table 6-2 Data list

Parameter Example Value

IP address 192.168.1.100

Subnet mask 255.255.255.0

Default gateway 0.0.0.0

The default user name of a switching plane is root, and the default password is Huawei12#$.

NOTE

You can query and set IP addresses of all modules on the HMM WebUI. For details about how to log in
to the HMM WebUI, see 6.6 Logging In to the HMM WebUI.
l For MM910 earlier than (U54) 2.20, choose System Management > Network Management >
Switch Module > IP Address.
l For MM910 (U54) 2.20 or later, choose Chassis Settings > Network Settings > Switch Module.

Procedure
Step 1 Log in to the Ethernet switching plane CLI. For details, see 6.2 Logging In to the MM910
CLI over a Network Port by Using PuTTY or 6.1 Logging In to a Compute Node or a
Switch Module over MM910 SOL.

Step 2 Configure an FTP server. For details, see 6.8 Configuring an FTP Server.

Step 3 Log in through the serial port or SOL, and run the following commands on the Ethernet
switching plane CLI to query whether an IP address is set for the management network port.
NOTE

Skip this step if you log in to the switch module by using a network port.

<HUAWEI>system-view

[~HUAWEI]interface MEth 0/0/0

[~HUAWEI-MEth0/0/0]display this

l If no IP address is displayed, go to Step 5.2.


#
interface MEth0/0/0
#
return

l If the command output contains the IP address and gateway information, go to Step 5.3.
#
interface MEth0/0/0
ip address 192.168.100.123 255.255.255.0
#
return

Step 4 (Optional) After logging in to the Ethernet switching plane by using a serial port or the Serial
over LAN (SOL) function, run the following commands on the switching plane CLI to query
and set the IP address of the management network port so that the switch module can properly
communicate with the FTP server.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 112


CX311 Switch Module
User Guide 6 Common Operations

NOTE

Skip this step if you log in to the switch module by using a network port.

<HUAWEI>system-view
[~HUAWEI]interface MEth 0/0/0
[~HUAWEI-MEth0/0/0]ip address 192.168.100.123 24
[~HUAWEI-MEth0/0/0]commit
[~HUAWEI-MEth0/0/0]display this
#
interface MEth0/0/0
ip address 192.168.100.123 255.255.255.0
#
return

[~HUAWEI-MEth0/0/0]quit
[~HUAWEI]quit
Step 5 Obtain logs.
1. View the log file system.
<HUAWEI>system-view
Enter system view, return user view with return command.

[~HUAWEI]diagnose
Warning: Enter diagnose view, return user view by pressing Ctrl+Z.
Info: The diagnose view is used to debug system hardware and software. Misuse
of some commands in this view will affect system performance. Therefore, use
these commands with the guidance of Huawei engineers.

[~HUAWEI-diagnose]collect diagnostic information


Info: Succeeded in collecting diagnostic information in slot 3.

[~HUAWEI-diagnose]display diagnostic-information diag-info.txt


Now saving the diagnostic information to the
device........................................................................
..............................................................................
....
Info: The diagnostic information was saved to the device successfully.

[~HUAWEI-diagnose]return
<HUAWEI>save logfile
Info: Save logfile successfully.

<HUAWEI>dir
Directory of flash:/

Idx Attr Size(Byte) Date Time FileName


0 drwx - Apr 07 2014 22:32:50 $_checkpoint
1 dr-x - Feb 21 2014 15:03:54 $_security_info
2 -rw- 117,788,305 Jan 01 1970 00:03:53 xxx.cc
3 -rw- 117,784,209 Feb 21 2014 14:47:03 xxx.cc
4 -rw- 76,227,537 Feb 21 2014 14:41:45 xxx.cc
5 drwx - Jan 01 1970 00:00:19 POST
6 -rw- 10,568 Feb 21 2014 18:20:01 cfg_from_smm
7 -rw- 6,575 Mar 22 2014 04:14:27 cfg_local
8 -rw- 19,435 Mar 22 2014 04:14:24 device.sys
9 -rw- 1,130,184 Apr 08 2014 16:22:11 diagnostic_information.zip
10 drwx - Apr 08 2014 16:18:55 logfile
11 -rw- 1,838 Mar 22 2014 04:14:24 vrpcfg.zip

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 113


CX311 Switch Module
User Guide 6 Common Operations

1,048,576 KB total (367,972 KB free)

<HUAWEI>dir logfile/
Directory of flash:/logfile/

Idx Attr Size(Byte) Date Time FileName


0 -rw- 7,971,326 Apr 08 2014 16:35:00 diag.log
1 -rw- 444,920 Feb 21 2014 18:23:11 diaglog_3_20140221182310.log.zip
2 -rw- 1,756,870 Apr 08 2014 16:18:55 diagnostic_information.zip
3 -rw- 4,269,737 Apr 08 2014 16:45:08 log.log
4 -rw- 354,428 Dec 22 2013 11:32:34 log_3_20131222113233.log.zip
5 -rw- 353,715 Jan 16 2014 08:50:19 log_3_20140116085018.log.zip

1,048,576 KB total (367,972 KB free)

2. Query stack information.


Record the queried slot numbers and roles of the stacked switch modules.
<HUAWEI>display stack
------------------------------------------------------------------------------
--
MemberID Role MAC Priority DeviceType Bay/
Chassis

------------------------------------------------------------------------------
--
2 Standby dcd2-fcf8-5600 100 CX311 2X/
300

3 Master dcd2-fcf8-55c0 100 CX311 3X/


300

------------------------------------------------------------------------------
--

3. Obtain the log file.


<HUAWEI>ftp 192.168.100.122
Trying
192.168.100.122 ...
Press CTRL+K to
abort
Connected to
192.168.100.122.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new
user
User(192.168.100.122:
(none)):huawei
331 Give me your password,
please
Enter
password:
230 Logged in successfully

[ftp]binary
200 Type is Image (Binary)

# On the FTP server, create a log receiving directory for the master switch module in the
stack. Replace 3 in swi3 with the actual stack ID of the master switch module. The stack
ID is the switch module slot ID. (If the switch modules are not stacked, create a log
receiving directory for the current switch module by replacing 3 in swi3 with the slot ID
of the current switch module.)
[ftp]mkdir swi3

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 114


CX311 Switch Module
User Guide 6 Common Operations

[ftp]cd swi3
[ftp]put flash:/diagnostic_information.zip
200 Port command successful.
150 Opening data connection for diag-info.txt.
/ 100% [***********]
226 File received ok

FTP: 1756870 byte(s) send in 0.308 second(s) 5570.431Kbyte(s)/sec.

[ftp]mput flash:/logfile/*
200 Port command successful.
150 Opening data connection for diag.log.
/ 100% [***********]
226 File received ok

FTP: 7971326 byte(s) send in 0.798 second(s) 9755.010Kbyte(s)/sec.


200 Port command successful.
150 Opening data connection for diaglog_3_20140221182310.log.zip.
/ 100% [***********]
226 File received ok

FTP: 444920 byte(s) send in 0.113 second(s) 3845.061Kbyte(s)/sec.


200 Port command successful.
150 Opening data connection for diagnostic_information.zip.
/ 100% [***********]
226 File received ok

FTP: 1756870 byte(s) send in 0.308 second(s) 5570.431Kbyte(s)/sec.


200 Port command successful.
150 Opening data connection for log.log.
/ 100% [***********]
226 File received ok

FTP: 4272491 byte(s) send in 3.492 second(s) 1194.832Kbyte(s)/sec.


200 Port command successful.
150 Opening data connection for log_3_20131222113233.log.zip.
/ 100% [***********]
226 File received ok

FTP: 354428 byte(s) send in 0.238 second(s) 1454.289Kbyte(s)/sec.


200 Port command successful.
150 Opening data connection for log_3_20140116085018.log.zip.
/ 100% [***********]
226 File received ok

FTP: 353715 byte(s) send in 0.265 second(s) 1303.486Kbyte(s)/sec.

[ftp]cd ..
# On the FTP server, create a log receiving directory for the standby or slave switch
module in the stack. Replace 2 in swi2 with the actual stack ID of the standby or slave
switch module. The stack ID is the switch module slot ID. (If the switch modules are not
stacked, log in to the remaining switch modules and follow the preceding procedures to
collect logs.)
[ftp]mkdir swi2
[ftp]cd swi2
[ftp]mput 2#flash:/logfile/*
[ftp]cd ..
[ftp]quit
221 Windows FTP Server (WFTPD, by Texas Imperial Software) says goodbye
<HUAWEI>

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 115


CX311 Switch Module
User Guide 6 Common Operations

NOTE

– When you use the mput command on the FTP CLI, 2#flash:/ indicates the flash root directory
of the switch module with the stack ID 2. You can obtain the stack ID and role information by
using the display stack command.
– The flash root directory of the primary switch module in a stack is flash:/.
– If multiple switch modules are displayed after running the display stack command, obtain the
log file of each switch module.
4. View the log file in the FTP directory on the PC.

----End

6.13 Using the Web Tools to Collect FCoE Gateway


Information
Scenarios
Use the Web Tools to collect information about the FCoE gateway.

Prerequisites
Data

Table 6-3 Required data


Parameter Example Value

IP address 192.168.1.100

Subnet mask 255.255.255.0

Default gateway 0.0.0.0

The user name for exporting the dump_support log file is images, and the default password
is Huawei12#$.

Procedure
Step 1 Ping the management IP address of the FCoE gateway to the server IP address.

Step 2 Log in to the Web Tools of the FCoE gateway. For details, see 6.7 Logging In to the Web
Tools of the MX510.
Step 3 On the Web Tools, choose Switch > Download Support File.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 116


CX311 Switch Module
User Guide 6 Common Operations

Figure 6-16 Web Tools page

Step 4 Select a directory for storing the log file, and click Start.
The log file download starts. If "Support file saved" is displayed in the Status area, the log
file has been successfully exported.

Figure 6-17 Download Support File window

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 117


CX311 Switch Module
User Guide 6 Common Operations

6.14 Using the CLI to Collect FCoE Gateway Information


Scenarios
Use the CLI to collect information about the FCoE gateway.

Prerequisites
NOTE

If the MX510 firmware version is earlier than 9.8.2.6.0, you can use the FTP tool WFTPD to collect
information. For details, see 6.8 Configuring an FTP Server.

Data

Table 6-4 Data list


Parameter Example Value

IP address 192.168.1.100

Subnet mask 255.255.255.0

Default gateway 0.0.0.0

The default user name of a switching plane is admin, and the default password is Huawei12#
$.
Software
CoreFTPServer.exe or msftpsrvr.exe. The following uses msftpsrvr.exe as an example.
msftpsrvr.exe: third-party free software used to transfer files between different platforms, for
example, from a switch module to a PC.

Procedure
Step 1 Connect a PC properly to the management network port on the server using a network cable.

Step 2 Configure an SFTP server. For details, see 6.10 Transferring Files Using SFTP.

Step 3 Log in to the MX510, and access the FC switching plane CLI. For details, see 6.2 Logging In
to the MM910 CLI over a Network Port by Using PuTTY or 6.1 Logging In to a
Compute Node or a Switch Module over MM910 SOL.
Step 4 Set an IP address.
1. Run the following command on the FCoE gateway CLI to query the management IP
address:
FCoE_GW: admin> show version
*****************************************************
* *
* Command Line Interface SHell (CLISH) *
* *

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 118


CX311 Switch Module
User Guide 6 Common Operations

*****************************************************

SystemDescription Huawei FCoE-FC Gateway module


HostName <undefined>
Eth1IPv4NetworkAddr 192.168.96.96
Eth1IPv6NetworkAddr fe80::2c0:ddff:fe24:21fe
MAC1Address 00:c0:dd:24:21:fe
WorldWideName 10:00:00:c0:dd:24:21:fd
SerialNumber 2198080446DQCB46F882
SymbolicName FCoE_GW
ActiveSWVersion V9.8.0.10.0
ActiveTimestamp Fri May 17 21:19:51 2013
POSTStatus Passed
SwitchMode Full Fabric

Eth1IPv4NetworkAddr specifies the management IP address.


2. Set the management IP address so that the switch module can properly communicate
with the configured SFTP server.
FCoE_GW: admin> admin start
FCoE_GW (admin): admin> set setup system ipv4
Set a static IPv4 address as prompted.
EthIPv4NetworkDiscovery (1=Static, 2=Bootp, 3=Dhcp, 4=Rarp) :1
EthIPv4NetworkAddress (dot-notated IP Address) : 192.168.101.123
EthIPv4NetworkMask (dot-notated IP Address) : 255.255.255.0
EthIPv4GatewayAddress (dot-notated IPv4 Address) : 192.168.101.254
Do you want to save and activate this system setup? (y/n): [n] y

3. Query the static IPv4 address of the FCoE gateway.


FCoE_GW (admin): admin> show setup system ipv4
The command output is as follows:
System Information
------------------
Eth1IPv4NetworkDiscovery Static
Eth1IPv4NetworkAddress 192.168.101.123
Eth1IPv4NetworkMask 255.255.255.0
Eth1IPv4GatewayAddress 192.168.101.254

Step 5 Obtain logs.


1. Run the following command to collect logs and save the logs to the local PC:
FCoE_GW: admin> create support
2. Set the log collection parameters as prompted. See Figure 6-18.
The key information in Figure 6-18 is described as follows:
– 192.168.100.214 is the IP address of the local PC.
– The user name and password for the SFTP server are both vxworks.
– If you press Enter when the CLI prompts you to specify the directory for storing
the dump file, the dump file is automatically downloaded to the default directory on
the SFTP server.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 119


CX311 Switch Module
User Guide 6 Common Operations

Figure 6-18 Collecting logs

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 120


CX311 Switch Module
User Guide A Appendix

A Appendix

A.1 BIOS Operations

A.1.1 Logging In to the CX311 BIOS

Scenarios
Log in to the CX311 BIOS through the CX311 serial port.

NOTE

The BIOS can be accessed only from the switching plane CLI after you log in to the CLI over a serial
port.

The BIOS initializes hardware, such as serial ports or dual in-line memory modules
(DIMMs), reads the kernel image from the flash memory to the random access memory
(RAM), and starts the operating system (OS). In the BIOS, you can load underlying software
and debug underlying devices.

Prerequisites
Data
Password for logging in to the CX311 BIOS

Procedure
Step 1 Log in to the converged switching plane CLI over a serial port.

Step 2 Log in to the CX311 BIOS.


1. Run the following command on the converged switching plane CLI to restart the
converged switching plane:
<HUAWEI> reboot
The command output is as follows:
Warning: Current configuration will be saved to the next startup saved-
configuration file! Continue? [Y/N]:

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 121


CX311 Switch Module
User Guide A Appendix

Enter Y to save the configuration. The command output is as follows:


Now saving the current
configuration.
Save the configuration
successfully.

begin synchronize configuration to


SMM ...
slot 4: configuration is the same with SMM, needn't sync to
SMM.

System will reboot! Continue? [Y/N]:

Enter Y to restart the converged switching plane.


2. Press Ctrl+B when the system displays "Press CTRL+B to enter BIOS menu".
The command output is as follows:
Password:

3. Enter the BIOS login password.


The BIOS menu screen is displayed:
BIOS Menu (Version: 017)

1. Continue to boot
2. Update from serial interface
3. Update from ethernet interface
4. Modify startup parameters
5. File system
6. Modify BIOS password
7. Modify console password
8. Reboot

Enter your choice(1-8):

4. Perform operations on the menu based on service requirements.

----End

A.2 Logging In to the CX311 DFx


Scenarios
The DFx is used to export the flash memory files in the CX311 to create programming
software, and import the created programming software to the CX311 flash memory to check
whether the programming software is valid.

The programming software includes guide programs for starting the operating system (OS),
root file systems, kernel, and other service application software, and is used for a programmer
during the production to write programs in the flash memory.

Prerequisites
Data

Password for logging in to the CX311 BIOS.

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 122


CX311 Switch Module
User Guide A Appendix

Procedure
Step 1 Log in to the converged switching plane CLI.

Step 2 Log in to the CX311 BIOS.


1. Run the following command on the converged switching plane CLI to restart the
converged switching plane:
<HUAWEI> reboot
The command output is as follows:
Warning: Current configuration will be saved to the next startup saved-
configuration file! Continue? [Y/N]:

Enter Y to save the configuration. The command output is as follows:


Now saving the current
configuration.
Save the configuration
successfully.

begin synchronize configuration to


SMM ...
slot 4: configuration is the same with SMM, needn't sync to
SMM.

System will reboot! Continue? [Y/N]:

Enter Y to restart the converged switching plane.


2. Press Ctrl+B when the system displays "Press CTRL+B to enter BIOS menu".
The command output is as follows:
Password:

3. Enter the BIOS login password.


The BIOS menu screen is displayed:
BIOS Menu (Version: 017)

1. Continue to boot
2. Update from serial interface
3. Update from ethernet interface
4. Modify startup parameters
5. File system
6. Modify BIOS password
7. Modify console password
8. Reboot

Enter your choice(1-8):

Step 3 Log in to the CX311 DFx.


1. Press Ctrl+E to enter the DFx menu page.
The command output is as follows:
DFx Submenu

1. Dump NANDFLASH to Local File


2. Dump NORFLASH to Local File
3. Display Board Elabel
4. Display Board Mac Address
5. Set Aging Time
6. Clear Aging Time
7. Return

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 123


CX311 Switch Module
User Guide A Appendix

Enter your choice(1-7):

2. Perform operations on the menu based on actual service requirements.

----End

Issue 01 (2018-09-20) Copyright © Huawei Technologies Co., Ltd. 124

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy