Академический Документы
Профессиональный Документы
Культура Документы
Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 2307 Document version: 6W100-20140108
Copyright 2014, Hangzhou H3C Technologies Co., Ltd. and its licensors All rights reserved No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd. Trademarks , IRF, NetPilot, Netflow, H3C, , H3CS, H3CIE, H3CNE, Aolynk, , H3Care, SecEngine, SecPath, SecCenter, SecBlade, Comware, ITCMM and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd. All other trademarks that may be mentioned in this manual are the property of their respective owners Notice 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 the warranty of any kind, express or implied.
Preface
The H3C S5830V2 & S5820V2 documentation set includes 16 configuration guides, which describe the software features for the H3C S5830V2 & S5820V2 Switch Series and guide you through the software configuration procedures. These configuration guides also provide configuration examples to help you apply software features to different network scenarios. The FC and FCoE Configuration Guide describes the background, working principles, and configuration methods of FC and FCoE. This preface includes: Audience Added and modified features Conventions About the H3C S5830V2 & S5820V2 documentation set Obtaining documentation Technical support Documentation feedback
Audience
This documentation is intended for: Network planners Field technical support and servicing engineers Network administrators working with the S5830V2 & S5820V2 series
FC and FCoE
FC-related features Transit mode Configuring RSCN aggregation Enabling SNMP notifications for fabric changes Enabling hard zoning Configuring FIP snooping Configuring FCS Configuring FDMI
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention
Boldface Italic [] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * &<1-n> #
Description
Bold text represents commands and keywords that you enter literally as shown. Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which you select one. Square brackets enclose a set of optional syntax choices separated by vertical bars, from which you select one or none. Asterisk marked braces enclose a set of required syntax choices separated by vertical bars, from which you select at least one. Asterisk marked square brackets enclose optional syntax choices separated by vertical bars, from which you select one choice, multiple choices, or none. The argument or keyword and argument combination before the ampersand (&) sign can be entered 1 to n times. A line that starts with a pound (#) sign is comments.
GUI conventions
Convention
Boldface >
Description
Window names, button names, field names, and menu items are in Boldface. For example, the New User window appears; click OK. Multi-level menus are separated by angle brackets. For example, File > Create > Folder.
Symbols
Convention
WARNING CAUTION IMPORTANT NOTE TIP
Description
An alert that calls attention to important information that if not understood or followed can result in personal injury. An alert that calls attention to important information that if not understood or followed can result in data loss, data corruption, or damage to hardware or software. An alert that calls attention to essential information. An alert that contains additional or supplementary information. An alert that provides helpful information.
Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.
Documents
Marketing brochures Compliance and safety manual Installation quick start Installation guide H3C LSWM1HFANSC & LSWM1HFANSCB Fan Assemblies Installation H3C LSVM1FANSC & LSVM1FANSCB Fan Assemblies Installation H3C SFP/SFP+/XFP Transceiver Modules Installation Guide H3C LSVM1AC650 & LSVM1DC650 Power Modules User Manual Configuration guides
Purposes
Describe product specifications and benefits. Provides regulatory information and the safety instructions that must be followed during installation. Provides basic installation instructions. Provides a complete guide to hardware installation and hardware specifications. Describes the appearance, specifications, and installation and removal of hot-swappable fan assemblies. Describes the appearance, specifications, and installation and removal of hot-swappable fan assemblies. Describe the installation, and replacement of SFP/SFP+/XFP transceiver modules. Describes the appearance, specifications, and installation and removal of hot-swappable power modules. Describe software features and configuration procedures. Provide a quick reference to all available commands. Describes the MIBs for the software release. Provide information about the product release and software upgrading.
Software configuration Command references MIB Companion Operations and maintenance Release notes
Obtaining documentation
You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support & Documents > Technical Documents]Provides hardware installation, software upgrading, and software feature configuration and maintenance documentation. [Products & Solutions]Provides information about products and technologies, as well as solutions. [Technical Support & Documents > Software Download]Provides the documentation released with the software version.
Technical support
service@h3c.com http://www.h3c.com
Documentation feedback
You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
Contents
FC and FCoE overview 1 Storage area network 1 FC SAN 1 FC protocol 2 Basic concepts 2 Communication flow 4 VSAN 5 FC zone 5 FCoE 5 Basic concepts 6 How FCoE works 7 FCoE modes 10 FCF mode 10 NPV mode 11 Transit mode 11 Protocols and standards 12 FC and FCoE configuration guidelines 13 Installing a license 13 Configuring the switch to operate in advanced mode 13 Configuring the FCoE mode 13 FC and FCoE features supported in different FCoE modes 14 Configuring FC interfaces 15 Changing the port type between a Layer 2 Ethernet interface and an FC interface 15 Configuring an FC interface 15 Displaying and maintaining FC interfaces 16 Configuring VFC interfaces 17 Configuring a VFC interface 17 Displaying and maintaining VFC interfaces 18 Enabling FCoE 19 FC configuration task list 19 Enabling FCoE for a VLAN and mapping the VLAN to a VSAN 19 Configuration restrictions and guidelines 19 Configuration procedure 20 Configuring the FC-MAP value 20 Configuring the FKA advertisement interval value 20 Configuring the FCF priority 22 Configuring the system FCF priority 22 Configuring the VFC interface FCF priority 22 Displaying and maintaining FCoE 22 FCoE enabling configuration example 23 Network requirements 23 Configuration procedure 23 Configuring VSANs 28 VSAN fundamentals 28 Creating a VSAN 32 Configuring the trunk mode 32
i
Configuring an access VSAN 33 Assigning an interface to a VSAN as an access port 33 Assigning interfaces to a VSAN as access ports in bulk 33 Configuring a trunk VSAN 33 Displaying and maintaining VSANs 34 VSAN configuration examples 34 VSAN configuration example by using FC interfaces 34 VSAN configuration examples by using VFC interfaces 37
Setting up a fabric 41 Overview 41 Principal switch selection 41 Domain ID assignment 42 FC address assignment 43 Fabric setup configuration task list 43 Building a fabric statically 44 Building a fabric dynamically 44 Enabling or disabling the fabric configuration function 45 Setting a fabric name 45 Setting the switch priority 45 Configuring the allowed domain ID list 46 Configuring a domain ID for a switch 46 Binding the WWN of an N_Port to an FC address 47 Configuring the fabric timers 48 Configuring the fabric timers in system view 48 Configuring the fabric timers in VSAN view 48 Configuring the fabric reconfiguration 49 Configuring the auto fabric reconfiguration function 49 Manually initiating the fabric reconfiguration 49 Configuring an FC interface to reject incoming RCF requests 50 Enabling SNMP notifications for fabric changes 50 Configuring RSCN aggregation 50 RSCN 50 RSCN aggregation 51 Configuration procedure 51 Configuring and obtaining FC4 information of nodes 52 Enabling auto discovery of SCSI-FCP information 52 Configuring the default FC4 information for a node 53 Displaying and maintaining a fabric 53 Fabric building configuration examples 53 Static fabric building configuration example 53 Dynamic fabric building configuration example 57 Configuring FC routing and forwarding 62 Overview 62 Routing table and FIB table 62 Direct routes 63 Static routes 64 FSPF routes 64 Configuring static FC routes 65 Configuration restrictions and guidelines 65 Configuration procedure 65 Configuring FSPF 66 FSPF configuration task list 66 Enabling FSPF 66
ii
Configuring the shortest SPF calculation interval 67 Configuring the minimum LSR arrival interval 67 Configuring the minimum LSR refresh interval 67 Configuring the FSPF cost for an interface 68 Configuring the hello interval for an interface 68 Configuring the dead interval for an interface 68 Configuring the LSR retransmission interval for an interface 69 Disabling FSPF for an interface 69 Configuring FSPF GR 69 Displaying and maintaining FC routing and forwarding 70 FC routing configuration examples 71 Static FC routing configuration example by using FC interfaces 71 Static FC routing configuration example by using VFC interfaces 76 FSPF configuration example by using FC interfaces 82 FSPF configuration example by using VFC interfaces 86
Configuring FC zones 90 Overview 90 Zone database 90 Distributing zones 92 Zone merge 94 Access control 96 FC zone configuration task list 97 Configuring zone aliases 97 Configuring zones 97 Configuring zone sets 98 Configuring the default zone policy 98 Configuring zone distribution and merge types 99 Activating a zone set and distributing it to the entire fabric 99 Triggering a complete distribution 100 Renaming zone aliases, zones, and zone sets 100 Copying zone aliases, zones, and zone sets 100 Enabling hard zoning 101 Deleting the zone database 102 Displaying and maintaining FC zones 102 FC zone configuration example 102 Network requirements 102 Requirements analysis 103 Configuration procedure 103 Verifying the configurations 105 Configuring NPV 107 Overview 107 Downlink interface and downlink 107 Uplink interface and uplink 107 Downlink-to-uplink interface mappings 108 Disruptive load balancing 108 NPV configuration task list 108 Configuring uplink interfaces and downlink interfaces 108 Configuring uplink interfaces 109 Configuring downlink interfaces 109 Configuring downlink-to-uplink interface mappings 109 Initiating a disruptive load-balancing process 110 Displaying and maintaining NPV 110 NPV configuration examples 111
iii
NPV configuration example by using FC interfaces 111 NPV configuration example by using VFC interfaces 115
Configuring FIP snooping 120 Overview 120 FIP snooping network diagram 120 How FIP snooping works 120 FIP snooping configuration task list 121 Enabling FIP snooping 122 Configuring the operating mode of an Ethernet interface 122 Configuring the FC-MAP value 122 Displaying and maintaining FIP snooping 123 FIP snooping configuration example 123 Network requirements 123 Configuration procedure 123 Configuring FCS 127 Overview 127 Starting a topology discovery 129 Stopping a topology discovery 130 Displaying and maintaining FCS 130 FCS configuration example 130 Network requirements 130 Configuration procedure 131 Verifying the configuration 132 Configuring FDMI 134 Overview 134 Displaying and maintaining FDMI 135 Configuring FC ping 136 Overview 136 Configuration procedure 136 FC ping configuration examples 136 FC ping configuration example by using FC interfaces 136 FC ping configuration examples by using VFC interfaces 140 Configuring FC tracert 144 Overview 144 Configuration procedure 145 FC tracert configuration examples 145 FC tracert configuration example by using FC interfaces 145 FC tracert configuration example by using VFC interfaces 150 Comprehensive FC and FCoE configuration examples 156 FCoE configuration example by using VFC interfaces (in standalone mode) 156 Network requirements 156 Requirements analysis 157 Configuration restrictions and guidelines 158 Configuration procedures 158 Verifying the configurations 167 FCoE configuration example by using VFC interfaces (in IRF mode) 169 Network requirements 169 Requirements analysis 170 Configuration restrictions and guidelines 171 Configuration prerequisites 171 Configuration procedures 171
iv
Verifying the configuration 184 FC and FCoE configuration example by using FC interfaces and VFC interfaces (in standalone mode) 187 Network requirements 187 Requirements analysis 188 Configuration restrictions and guidelines 189 Configuration procedures 189 Verifying the configuration 197 FC and FCoE configuration example by using FC interfaces and VFC interfaces (in IRF mode) 199 Network requirements 199 Requirements analysis 200 Configuration restrictions and guidelines 201 Configuration prerequisites 201 Configuration procedures 201 Verifying the configuration 213
Appendixes 217 Appendix A Fabric address assignment 217 Appendix B Well-known fabric addresses 217 Index 219
Most SANs use Fibre Channel (FC) or Ethernet to interconnect devices. An FC SAN uses the FC protocol suite for communication, and an Ethernet SAN uses the TCP/IP protocol suite for communication. This document covers only the FC SAN.
FC SAN
Figure 1 shows three FC SAN networking methods. The first two networking methods are simple and can connect only few devices. The point-to-point connection directly connects a server and a disk device. The arbitrated loop supports up to 126 devices. The switched fabric connects servers and disk devices to an FC switched fabric. In a switched fabric, the servers and disk devices are called "nodes." A fabric uses 24-bit addressing and supports thousands of devices.
Server
Disk
Server
Disk
Disk
Disk
Server
3) Switched fabric
Server
Disk
FC switch Fabric
NOTE: An FC SAN refers to a network comprising FC switches and nodes. A fabric refers to a transmission network comprising FC switches.
FC protocol
The servers, FC switches, and disk devices in an FC SAN must all support FC.
Basic concepts
WWN
The World Wide Name (WWN) is a 64-bit address that identifies a fabric or an entity (such as an FC switch, node, or port) in an FC SAN. The upper-layer protocol of FC uses WWNs for communication. Each entity has a factory-assigned globally unique WWN.
FC address
The FC protocol accesses communication entities in an FC SAN through FC addresses. An FC address is also known as an "FC_ID."
2
Figure 2 shows the structure of an FC address. The FC address is 24 bits long and contains the following 8-bit fields: Domain_IDA domain represents a switch and all N_Ports connected to the switch. For more information about N_Ports, see "Port modes." A Domain_ID, which is in the range of 1 to 239, uniquely identifies an FC switch. Different FC switches in the same fabric have different Domain_IDs. Area_IDOne or more N_Ports on the same node can be assigned to an area, which is identified by an Area_ID. Port_IDThe Port_ID field identifies an N_Port.
An FC address can uniquely identify an N_Port on a node. Different N_Ports on the same node have different FC addresses. FC switches use Domain_IDs to route messages between each other. The FC protocol standardizes the FC address usage. For more information, see "Appendixes."
Port modes
In a switched fabric, nodes and FC switches communicate through interfaces operating in different modes. Figure 3 Port modes
A node supports the following port modes: N_PortDirectly connects to a fabric. NL_PortConnects to a fabric through an arbitrated loop. E_PortConnects to an E_Port on another FC switch. F_PortConnects to an N_Port on a node or an NP_Port on another FC switch. G_PortOperates in auto mode to negotiate the operating mode with its peer: