No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
FC and FCoE Configuration Commands

FC and FCoE Configuration Commands

NOTE:

CE6810LI does not support FCoE forwarder (FCF) or NPort Virtualization (NPV) function. CE6870EI does not support NPV function. Only CE6850U-HI supports FC interfaces. CE6880EI does not support this feature. CE5800 does not support this feature.

active zoneset

Function

The active zoneset command activates a zone set.

The undo active zoneset command cancels the configuration.

By default, no zone set is activated.

Format

active zoneset zoneset-name

undo active zoneset zoneset-name

Parameters

Parameter

Description

Value

zoneset-name

Specifies the name of a zone set.

The zone set must have been created.

Views

FCF instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A zone set takes effect only when after being activated using the active zoneset command.

Prerequisites

A zone set has been configured.

Precautions

Multiple zone sets can be configured on the device, but only one zone set can be activated each time in one instance.

Each FCF instance maps one zone set.

Example

# Activate zoneset1 in the FCF instance fcf1.

<HUAWEI> system-view
[~HUAWEI] zoneset zoneset1
[*HUAWEI-zoneset-zoneset1] commit
[~HUAWEI-zoneset-zoneset1] quit
[~HUAWEI] fcoe fcf1 fcf
[*HUAWEI-fcoe-fcf-fcf1] active zoneset zoneset1

display fcoe fc statistics

Function

The display fcoe fc statistics command displays statistics on FC packets of the specified interface or all interfaces of FCF or NPV instances.

Format

display fcoe fc statistics { interface { fcoe-port fcoe-port-id | fc fc-port-id } | brief }

Parameters

Parameter

Description

Value

interface fcoe-port fcoe-port-id

Displays statistics on FC packets of a specified FCoE interface.

The FCoE interface must have been created.

interface fc fc-port-id

Displays statistics on FC packets of a specified FC interface.

The FC interface must have been created.

brief

Displays brief statistics on FC packets of all FCoE interfaces.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view statistics on FC packets, run the display fcoe fc statistics command.

Example

# Display statistics on FC packets of FCoE-Port1.

<HUAWEI> display fcoe fc statistics interface fcoe-port 1
FCoE FC Packet Statistics Information:
--------------------------------------------------------------------------------
Type                                      Received              Sent
--------------------------------------------------------------------------------
FLOGI                                          130                 0
FDISC                                            0                 0
PLOGI                                          129                 0
PRLI                                             0                 0
LOGO                                             0                 0
RSCN                                             0               489
SCR                                            129                 0
LS_ACC                                         450               388
LS_RJT                                           0                 0
CT                                            1221              1221
LCR                                              0                 0
ACK0                                             0                 0
ACK1                                             0                 0
ABTS                                             0                 0
BA_ACC                                           0                 0
BA_RJT                                           0                 0
FBSYL                                            0                 0
FBSY                                             0                 0
PBSY                                             0                 0
FRJT                                             0                 0
PRJT                                             0                 0
--------------------------------------------------------------------------------
Total                                         2091              2098
--------------------------------------------------------------------------------
Dropped Reasons                       Packet Count  
--------------------------------------------------------------------------------
FC Packet Too Short                              0
Invalid SOF                                      0
Invalid EOF                                      0
Invalid CRC                                      0
Invalid RCTL                                     0
Invalid Header Type                              0
Invalid Sequence                                 0
Invalid FC ID                                    0
Invalid DFCTL                                    0
Invalid ACK                                      0
Invalid Exchange ID                             32
Invalid Exchange State                           0
Invalid ELS Packet Type                          0
--------------------------------------------------------------------------------
Total                                           32
Table 14-26  Description of the display fcoe fc statistics command output

Item

Description

Type

FC packet type:

  • FLOGI

  • FDISC

  • PLOGI

  • PRLI

  • LOGO

  • RSCN

  • SCR

  • LS_ACC

  • LS_RJT

  • CT

  • LCR

  • ACK0

  • ACK1

  • ABTS

  • BA_ACC

  • BA_RJT

  • FBSYL

  • FBSY

  • PBSY

  • FRJT

  • PRJT

Received

Number of received packets.

Sent

Number of sent packets.

Total

Total number of packets.

Dropped Reasons

Drop cause.

Packet Count

Number of discarded packets due to different causes.

FC Packet Too Short

Number of FC packets of which the length is too short.

Invalid SOF

Number of FC packets with the incorrect SOF.

Invalid EOF

Number of FC packets with the incorrect EOF.

Invalid CRC

Number of FC packets with the incorrect CRC.

Invalid RCTL

Number of FC packets with the incorrect RCTL.

Invalid Header Type

Number of FC packets with the incorrect packet header type.

Invalid Sequence

Number of FC packets with the incorrect sequence.

Invalid FC ID

Number of FC packets with the incorrect FC_ID.

Invalid DFCTL

Number of FC packets with the incorrect DFCTL.

Invalid ACK

Number of incorrect ACK packets.

Invalid Exchange ID

Number of FC packets with the incorrect exchange ID.

Invalid Exchange State

Number of FC packets with the incorrect exchange status.

Invalid ELS Packet Type

Number of FC packets with the incorrect ELS packet type.

display fcoe port

Function

The display fcoe port command displays the FC and FCoE interface configuration.

Format

display fcoe port { brief | instance fc-instance-name | interface { fcoe-port fcoe-port-id | fc fc-port-id } }

Parameters

Parameter

Description

Value

brief

Displays brief configuration of all FCoE interfaces.

-

instance fc-instance-name

Displays the configuration of an FCoE interface bound to an FCF or NPV instance.

The FCF or NPV instance must have been created.

interface fcoe-port fcoe-port-id

Displays the configuration of a specified FCoE interface.

The FCoE interface must have been created.

interface fc fc-port-id

Displays the configuration of a specified FC interface.

The FC interface must have been created.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display fcoe port command displays the FC and FCoE interface configuration.

Example

# Display brief configuration of all FC and FCoE interfaces.

<HUAWEI> display fcoe port brief
FCoE Port Information:                                                          
------------------------------------------------------------------------------- 
Interface     Instance                         PortType   BindPort                      
------------------------------------------------------------------------------- 
FC1/0/3       fcf1                             F           -
FC1/0/4       fcf1                             NP          -
FCoE-Port1    fcf1                             VF          -                             
FCoE-Port2    fcf1                             VF          10GE1/0/1                     
FCoE-Port3    fcf1                             VF          10GE1/0/2                     
------------------------------------------------------------------------------- 
Total: 5
Table 14-27  Description of the display fcoe port brief command output

Item

Description

Interface

FC interface and FCoE interface.

Instance

Name of the FC instance bound to the FCoE interface.

PortType

Type of the FC interface and FCoE interface.

BindPort

Physical interface bound to the interface.

-: The FC interface does not need to be bound to a physical interface or the FCoE interface is not bound to any physical interface.

Total

Total number of FC and FCoE interfaces.

# Display the configuration of FC and FCoE interfaces bound to the FC instance npv1.

<HUAWEI> display fcoe port instance npv1
The FCoE Port(VF & F Type) Information:                                         
------------------------------------------------------------------------------  
Interface        LinkStatus    DcbxStatus       VF(F)-Number     VN(N)-Number
------------------------------------------------------------------------------  
FC1/0/1          up            success                     1                1   
------------------------------------------------------------------------------- 
Total: 1                                                                        
=============================================================================== 
The FCoE Port(VNP & NP Type) Information:                                        
-------------------------------------------------------------------------------
Interface    LinkStatus DcbxStatus FCF-VLAN(Config) FCF-VLAN(Got) VN(N)-Number
-------------------------------------------------------------------------------
FC1/0/2      up         -                      100           100             2 
FCoE-Port2   up         success                100           100             2 
-------------------------------------------------------------------------------
Total: 2  
Table 14-28  Description of the display fcoe port instance command output

Item

Description

Interface

FC and FCoE interface.

LinkStatus

F_Port and VF_Port status, which is up or down.

DcbxStatus

DCBX status:

  • success: DCBX negotiation is successful.

  • fail: DCBX negotiation fails.

  • -: The interface is an FC interface or FCoE interface is not bound to any physical interface.

VF(F)-Number

Number of VF_Ports or F_Ports.

VN(N)-Number

Number of VN_Ports or N_Ports.

FCF-VLAN(Config)

Configured FCoE VLAN.

FCF-VLAN(Got)

FCoE VLAN allocated by the FCF.

Total

Number of interfaces in the FC instance.

# Display the configuration of FC1/0/1.

<HUAWEI> display fcoe port interface fc 1/0/1
The FCoE Port Information:                                                      
------------------------------------------------------------------------------  
Interface               : FC1/0/1                                            
PortType                : F                                                    
Instance VLAN           : 102                                                   
LinkStatus              : up                                                                                              
------------------------------------------------------------------------------- 
The F-Port Information :                                                      
------------------------------------------------------------------------------- 
      Index                  FC-Status                    NP-Number            
------------------------------------------------------------------------------- 
          2                  work                                 1                 
------------------------------------------------------------------------------- 
Total: 1
Table 14-29  Description of the display fcoe port interface command output

Item

Description

Interface

Name of the interface.

PortType

Type of the interface.

Instance VLAN

FCoE VLAN bound to the FC instance.

LinkStatus

F_Port and VF_Port status, which is up or down.

DcbxStatus

DCBX status:

  • success: DCBX negotiation is successful.

  • fail: DCBX negotiation fails.

  • -: The interface is an FC interface or FCoE interface is not bound to any physical interface.

Index

Index of the FC interface.

FC-Status

Working status of the registered ENode on an FC link:

  • work: The ENode goes online.

  • initializing: The ENode is offline.

NP-Number

Number of NP_Ports.

Total

Number of F_Ports.

display fcoe fip statistics

Function

The display fcoe fip statistics command displays statistics on FIP packets of a specified FSB instance or all FSB instances.

Format

display fcoe fip statistics [ fc-instance-name ]

Parameters

Parameter

Description

Value

fc-instance-name

Displays statistics on FIP packets of a specified FSB instance.

If this parameter is not specified, statistics on FIP packets of all FSB instances are displayed.

The FSB instance must have been created.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display fcoe fip statistics command displays statistics on FIP packets. The command output helps you locate FCoE faults.

Before recollecting statistics on FIP packets of a specified FSB instance or all FC instances, run the reset fcoe fip statistics command to clear existing statistics on FIP packets. Then run the display fcoe fip statistics command to view the statistics on FIP packets.

Example

# Display statistics on FIP packets of all FSB instances.

<HUAWEI> display fcoe fip statistics
FCoE FIP Packet Statistics Information:
---------------------------------------------------------------
Codes: U(Unicast), M(Multicast)
---------------------------------------------------------------
Type                              Received              Dropped
---------------------------------------------------------------
FIP VLAN Request                  5563                  474
FIP VLAN Notification             4852                  0
FIP Discovery Solicitation        4690                  117
FIP Discovery Advertisement (U)   4517                  67
FIP Discovery Advertisement (M)   19357                 0
FIP FLOGI Request                 8774                  293
FIP FLOGI LS_ACC                  4                     0
FIP FLOGI LS_RJT                  1609                  0
FIP NPIV FDISC Request            0                     0
FIP NPIV FDISC LS_ACC             0                     0
FIP NPIV FDISC LS_RJT             0                     0
FIP Fabric LOGO Request           0                     0
FIP Fabric LOGO LS_ACC            0                     0
FIP Fabric LOGO LS_RJT            0                     0
ENode FIP Keep Alive              0                     0
VN_Port FIP Keep Alive            0                     0
FIP Clear Virtual Links           0                     0
FIP Vendor Specific               0                     0
FIP Other                         0                     0
---------------------------------------------------------------
Total:                            49366                 951
===============================================================
Dropped Reasons                   Packet Count
---------------------------------------------------------------
Port role not matched             591
Source MAC not matched            293
Destination MAC not matched       67
Keepalive session not matched     0
Create session table failed       0
Invalid FIP packet                0
---------------------------------------------------------------
Total:                            951
Table 14-30  Description of the display fcoe fip statistics command output

Item

Description

Type

FIP packet type:
  • FIP VLAN Request
  • FIP VLAN Notification
  • FIP Discovery Solicitation
  • FIP Discovery Advertisement (U)
  • FIP Discovery Advertisement (M)
  • FIP FLOGI Request
  • FIP FLOGI LS_ACC
  • FIP FLOGI LS_RJT
  • FIP NPIV FDISC Request
  • FIP NPIV FDISC LS_ACC
  • FIP NPIV FDISC LS_RJT
  • FIP Fabric LOGO Request
  • FIP Fabric LOGO LS_ACC
  • FIP Fabric LOGO LS_RJT
  • ENode FIP Keep Alive
  • VN_Port FIP Keep Alive
  • FIP Clear Virtual Links
  • FIP Vendor Specific
  • FIP Other

Received

Number of received FIP packets.

Dropped

Number of dropped FIP packets.

Total

Total number of packets.

Dropped Reasons

Reason why FIP packets were dropped.

Packet Count

Number of FIP packets discarded for a certain reason.

Port role not matched

The inbound interface type does not match received FIP packets. For example, a non-FCoE-enabled interface receives FIP packets.

Source MAC not matched

The source MAC address in FIP packets is invalid.

Destination MAC not matched

No outbound interface is found for the destination MAC address of FIP.

Keepalive session not matched

Keepalive packets of the FCoE session do not match the ACL.

Create session table failed

The session table fails to be created.

Invalid FIP packet

The content in the received FIP packet is invalid.

display fcoe instance

Function

The display fcoe instance command displays information about a specified FCF or NPV instance or all FCF or NPV instances.

Format

display fcoe instance [ fcf [ fc-instance-name ] | npv [ fc-instance-name ] ]

Parameters

Parameter

Description

Value

fcf [ fc-instance-name ]

Displays information about a specified FCF instance.

The FCF instance must have been created.

npv [ fc-instance-name ]

Displays information about a specified NPV instance.

The NPV instance must have been created.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display fcoe instance command displays information about a specified FCF or NPV instance or all FCF or NPV instances.

Example

# Display information about all FCF or NPV instances on the device.

<HUAWEI> display fcoe instance
FCoE instance with FCF/NPV type:                                                
------------------------------------------------------------------------------- 
InstanceName                      InstanceType  FCoE-VLAN  FKA-ADV-Period(ms)   
------------------------------------------------------------------------------- 
fcf1                              fcf                 101                8000   
------------------------------------------------------------------------------- 
Total: 1 
Table 14-31  Description of the display fcoe instance command output

Item

Description

InstanceName

Name of the FC instance.

InstanceType

Type of the FC instance.

FCoE-VLAN

FCoE VLAN bound to the FC instance.

FKA-ADV-Period(ms)

Timeout interval at which FIP packets are exchanged.

Total

Total number of FC instances.

# Display information about all FCF instances on the device.

<HUAWEI> display fcoe instance fcf
FCoE instance with FCF type:                                                    
------------------------------------------------------------------------------- 
Instance name                   : fcf1                                          
VLAN                            : 101                                           
Instance MAC                    : 20:0b:c7:37:9a:01                             
FC-map                          : 0x0efc02                                      
FKA-ADV-Period(ms)              : 8000                                          
Domain                          : 3                                             
Active zoneset                  : vtest                                         
Number of fcoe-port(VF)         : 3                                             
Number of online VF-Port        : 0                                             
Number of online ENode VN-Port  : 0                                             
------------------------------------------------------------------------------- 
Total: 1                                                                        
Table 14-32  Description of the display fcoe instance fcf command output

Item

Description

Instance name

Name of the FC instance.

VLAN

FCoE VLAN bound to the FC instance.

Instance MAC

MAC address bound to the FC instance.

FC-map

FC-MAP value.

FKA-ADV-Period(ms)

Timeout interval at which FIP packets are exchanged.

Domain

Domain ID.

Active zoneset

Activated zone set.

Number of fcoe-port(VF)

Number of VF_Ports.

Number of online VF-Port

Number of online VF_Ports.

Number of online ENode VN-Port

Number of online VN_Ports.

Total

Total number of FCF instances.

# Display information about all NPV instances on the device.

<HUAWEI> display fcoe instance npv
FCoE instance with NPV type:                                                    
------------------------------------------------------------------------------- 
Instance name                   : npv1                                          
VLAN                            : 102                                           
Instance MAC                    : 20:0b:c7:37:9a:02                             
FKA-ADV-Period(ms)              : 8000                                          
Number of fcoe-port(VF)         : 1                                             
Number of fcoe-port(VNP)        : 1                                             
Number of online VF-Port        : 1                                             
Number of online ENode VN-Port  : 1                                             
------------------------------------------------------------------------------- 
Total: 1                                                                        
Table 14-33  Description of the display fcoe instance npv command output

Item

Description

Instance name

Name of the FC instance.

VLAN

FCoE VLAN bound to the FC instance.

Instance MAC

MAC address bound to the FC instance.

FKA-ADV-Period(ms)

Timeout interval at which FIP packets are exchanged.

Number of fcoe-port(VF)

Number of VF_Ports.

Number of fcoe-port(VNP)

Number of VNP_Ports.

Number of online VF-Port

Number of online VF_Ports.

Number of online ENode VN-Port

Number of online VN_Ports.

Total

Total number of FCF instances.

display fcoe last-offline

Function

The display fcoe last-offline command displays the latest ENode logout information of FSB instances.

Format

display fcoe last-offline

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

When a Virtual Machine (VM) goes offline, the switch records this event. You can run the display fcoe last-offline command to view the latest VM logout information. If a VM goes offline due to FCoE faults, you can run this command to locate the fault.

Precautions

The switch displays the latest 10 VM logout records.

Example

# Display the latest ENode logout information.

<HUAWEI> display fcoe last-offline
-----------------------------------------------------------------------         
Time        : 2012-12-09 08:01:59                                               
ENode MAC   : 0002-0304-0506                                                    
FCoE MAC    : 0efc-0001-0003                                                    
FCF MAC     : 1234-5678-90ab                                                    
VLAN        : 6                                                                 
Reason      : Received FIP Fabric LOGO Request packet from 10GE1/0/11           
-----------------------------------------------------------------------         
Total: 1     
Table 14-34  Description of the display fcoe last-offline command output

Item

Description

Time

Latest ENode logout time.

ENode MAC

MAC address of an ENode.

FCoE MAC

MAC address of an FCoE.

FCF MAC

MAC address of an FCF.

VLAN

FCoE VLAN.

Reason

Reason for VM logout.

Total

Total number of offline.

display fcoe name-server

Function

The display fcoe name-server command displays ENode registration information on FCoE interfaces of FCF or NPV instances.

Format

display fcoe name-server { brief | interface { fcoe-port fcoe-port-id | fc fc-port-id } }

Parameters

Parameter

Description

Value

brief

Displays brief ENode registration information on all FCoE interfaces.

-

interface fcoe-port fcoe-port-id

Displays ENode registration information on a specified FCoE interface

The FCoE interface must have been created.

interface fc fc-port-id

Displays ENode registration information on a specified FC interface

The FC interface must have been created.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display fcoe name-server command displays ENode registration information on FCoE interfaces.

Example

# Display brief ENode registration information on all FCoE interfaces.

<HUAWEI> display fcoe name-server brief
The Name-Server Information:                                                    
------------------------------------------------------------------------------- 
Interface           FC-ID             WWPN                                      
------------------------------------------------------------------------------- 
FCoE-Port2          03.80.06          20:00:20:0b:c7:98:24:ca                   
FCoE-Port1          03.80.01          20:00:90:e2:ba:08:3c:7f                   
------------------------------------------------------------------------------- 
Total: 2                                                                        
Table 14-37  Description of the display fcoe name-server brief command output

Item

Description

Interface

FCoE interface.

FC-ID

FC_ID of the FCoE session.

WWPN

World Wide Node Name (WWNN).

Total

Total number of brief ENode registration information.

# Display ENode registration information on FCoE-Port1.

<HUAWEI> display fcoe name-server interface fcoe-port 1
The Name-Server Information:                                                    
--------------------------------------------------------------------------------
FC-ID                    : 03.80.01                                             
WWPN                     : 20:00:90:e2:ba:08:3c:7f                              
WWNN                     : 10:00:90:e2:ba:08:3c:7f                              
FC-4 Type Supported      : FCP                                                  
FC-4 Feature             : -                                                    
Symbolic Name            : Intel-FCoE                                           
--------------------------------------------------------------------------------
Total: 1
Table 14-38  Description of the display fcoe name-server interface command output

Item

Description

FC-ID

FC_ID of the FCoE session.

WWPN

World Wide Port Name (WWPN).

WWNN

World Wide Node Name (WWNN).

FC-4 Type Supported

Supported FC-4 type:

  • FCP

  • IP

FC-4 Feature

FC-4 attribute.

Symbolic Name

Symbolic name of the FCoE interface.

Total

Total number of ENode registration information.

display fcoe routing

Function

The display fcoe routing command displays FCoE redirection configuration of FSB instances.

Format

display fcoe routing [ dst-fcid [ dst-fcid-mask ] ] [ vlan vlan-id ] [ verbose ]

NOTE:

CE6870EI does not support this command.

Parameters

Parameter

Description

Value

dst-fcid

Specifies the destination fiber channel ID.

The value is in H.H.H format, and cannot be all 0s. An H is a hexadecimal number of 1 to 2 digits.

dst-fcid-mask

Specifies the mask of the destination fiber channel ID.

The value is in xxx.xxx.xxx format, and cannot be all 0s. An H is a hexadecimal number of 1 to 2 digits. The leftmost bits are consecutive non-0 bits, and the rightmost bits are consecutive 0s.

vlan vlan-id

Specifies the ID of an FCoE VLAN.

The value is an integer that ranges from 1 to 4094. The VLAN cannot be the reserved VLAN configured by the vlan reserved command.

verbose

Displays detailed information about FCoE redirection.

If this parameter is not specified, brief information about FCoE redirection is displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display fcoe routing command displays FCoE redirection information.

Example

# Display brief information about FCoE redirection.

<HUAWEI> display fcoe routing
Total : 2
-------------------------------------------------------------------------------
Destination/Mask   VLAN Interface          DestinationMAC    SourceMAC         
-------------------------------------------------------------------------------
0x010100/0xff0000  2    10GE1/0/1          -                 -                 
0x01012d/0xffffff  3    10GE1/0/2          -                 0000-0000-0001    

# Display detailed information about FCoE redirection.

<HUAWEI> display fcoe routing verbose
Total : 2
----------------------------------------------------------------------------
Destination/Mask     : 0x010200/0xff0000
Source/Mask          : 0x000000/0x000000
VLAN                 : 2
Interface            : 10GE1/0/1
DestinationMAC       : -
SourceMAC            : 0000-0000-0001
RemarkedVLAN         : -

Destination/Mask     : 0x01012d/0xffffff
Source/Mask          : 0x000000/0x000000
VLAN                 : 3
Interface            : 10GE1/0/2
DestinationMAC       : -
SourceMAC            : -
RemarkedVLAN         : -
----------------------------------------------------------------------------
Table 14-39  Description of the display fcoe routing command output

Item

Description

Destination/Mask

Destination fiber channel ID and mask.

VLAN

ID of the source FCoE VLAN.

Interface

Redirected outbound interface.

DestinationMAC

Destination MAC address.

SourceMAC

Source MAC address.

Source/Mask

Source fiber channel ID and mask.

RemarkedVLAN

ID of the redirected FCoE VLAN.

Related Topics

display fcoe session

Function

The display fcoe session command displays information about FSB sessions.

Format

display fcoe session [ fcoe-mac ] [ enode enode-mac | fcf fcf-mac | vlan vlan-id | interface interface-type interface-number ] *

Parameters

Parameter

Description

Value

fcoe-mac

Displays information about a specified FSB session.

The value is in H-H-H format. An H contains 1 to 4 hexadecimal digits, for example, 00e0 or fc01. If you enter fewer than four digits, the system pads 0s before the input digits. For example, if you enter e0, 00e0 is displayed.

enode enode-mac

Displays information about all FSB sessions on a specified ENode.

The value is in H-H-H format. An H contains 1 to 4 hexadecimal digits, for example, 00e0 or fc01. If you enter fewer than four digits, the system pads 0s before the input digits. For example, if you enter e0, 00e0 is displayed.

fcf fcf-mac

Displays information about all FSB sessions on a specified FCF.

The value is in H-H-H format. An H contains 1 to 4 hexadecimal digits, for example, 00e0 or fc01. If you enter fewer than four digits, the system pads 0s before the input digits. For example, if you enter e0, 00e0 is displayed.

vlan vlan-id

Displays information about all FSB sessions in a specified FCoE VLAN.

The value is an integer that ranges from 2 to 4094 except the reserved VLAN IDs configured using the vlan reserved command.

interface interface-type interface-number

Displays information about all FSB sessions on a specified interface.

  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display fcoe session command to view information about FSB sessions and learn the FCoE running status.

Example

# Display information about all FSB sessions.

<HUAWEI> display fcoe session
FCoE Session Information:                                             
----------------------------------------------------------------------
FCoE MAC        ENode MAC       ENode Interface   VLAN                
FCID            FCF MAC         FCF Interface     Keep Alive Packet(s)
----------------------------------------------------------------------
0efc-1110-000c  0001-0203-0405  10GE1/0/19        6                   
0x10000c        0002-0304-0506  10GE1/0/23        10                  

0efc-1110-000d  0001-0203-0405  10GE1/0/19        6                   
0x10000d        0002-0304-0506  10GE1/0/23        10                  
----------------------------------------------------------------------
Total: 2
Table 14-40  Description of the display fcoe session command output

Item

Description

FCoE MAC

MAC address of an FCoE session.

ENode MAC

MAC address of an ENode.

ENode Interface

Interface of an ENode.

VLAN

ID of an FCoE VLAN.

FCID

FC_ID of the FCoE session.

FCF MAC

MAC address of an FCF.

FCF Interface

FCF-port corresponding to the FCoE session between an ENode and FCF.

Keep Alive Packet(s)

Number of Keepalive packets sent by the VM.

Total

Total number of FCoE sessions.

display fcoe vlan

Function

The display fcoe vlan command displays the FCoE VLAN configuration of FSB instances.

Format

display fcoe vlan [ vlan-id ]

Parameters

Parameter

Description

Value

vlan-id

Displays the configuration of a specified FCoE VLAN.

The value is an integer that ranges from 2 to 4094 except the reserved VLAN IDs configured using the vlan reserved command.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the FCoE VLAN configuration is complete, run the display fcoe vlan command to view the FCoE VLAN configuration. You can also run this command to check the FCoE VLAN configured on the device, interfaces added to the FCoE VLAN, and roles of the interfaces.

If no FCoE VLAN ID is specified, the display fcoe vlan command displays the configuration of all FCoE VLANs.

Example

# Display the configuration of all FCoE VLANs.

<HUAWEI> display fcoe vlan
--------------------------------------------
VLAN     Interface           Interface Role 
--------------------------------------------
6        10GE1/0/11          ENode-Facing   
         10GE1/0/15          VNP-Port       
         10GE1/0/16          ENode-Facing   
77       --                  --             
254      10GE1/0/11          ENode-Facing   
         10GE1/0/15          VNP-Port       
--------------------------------------------
Table 14-42  Description of the display fcoe vlan command output

Item

Description

VLAN

ID of the FCoE VLAN.

To configure an FCoE VLAN, run the vlan (FCoE) command.

Interface

Name of an interface.

Interface Role

Role of the interface:
  • VNP-Port
  • ENode-Facing

To configure a port role, run the fcoe role command.

Related Topics

display interface fc

Function

The display interface fc command displays the FC interface status and statistics.

Format

display interface fc [ fc-port-id ]

Parameters

Parameter

Description

Value

fc-port-id

Specifies the number of an FC interface. If this parameter is not specified, the status of and statistics about all FC interfaces are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To monitor an FC interface or locate an FC interface fault, you can use the display interface fc command to view the FC interface status and statistics.

Precautions

The traffic statistics on an FC interface do not contain the inter-frame gap and preamble.

Example

# Display the configuration of FC1/0/1.

<HUAWEI> display interface fc 1/0/1
FC1/0/1 current state : UP (ifindex: 144)                                                                                           
Line protocol current state : UP 
Description:                                                                                                    
The Maximum FC Frame Length is 2148                                                                                                 
Port WWN: 28:18:00:00:8c:68:24:05                                                                                                   
Port Mode: f-port                                                                                                                   
Speed:           4000,    Negotiation:   ENABLE
Loopback:        NONE                                                                                     
Transmit BB_Credit: 16                                                                                                              
Receive BB_Credit: 7                                                                                                               
Last physical up time   : 2015-02-10 10:23:16
Last physical down time : 2015-02-10 10:23:15                                                                                       
Current system time: 2015-02-10 10:42:26                                                                                            
Statistics last cleared:2015-02-10 10:41:55                                                                                         
    Last 300 seconds input rate: 800300858 bits/sec, 1667241 packets/sec                                                            
    Last 300 seconds output rate: 0 bits/sec, 0 packets/sec                                                                         
    Input peak rate 907004282 bits/sec, Record time: 2015-02-10 10:42:26                                                            
    Output peak rate 0 bits/sec, Record time: -                                                                                     
    Input :            2472949104 bytes,                       51517773 packets
    Output:                     0 bytes,                              0 packets 
    Input:
      CRC:                            0,   Too long:                        100 
      Too short:                      0,   Othererr:                          0 
      Discard:                        0 
                                                                                                                                    
    Output:                                                    
      Discard:                        0,   FIFO errors:                       0                                                     
                                                                                                                                    
    Input bandwidth utilization threshold : 90.00%                                                                                  
    Output bandwidth utilization threshold: 90.00%                                                                                  
    Last 300 seconds input utility rate:  22.67%                                                                                    
    Last 300 seconds output utility rate: 0.00% 
Table 14-43  Description of the display interface fc command output

Item

Description

current state

Physical status of the FC interface:
  • UP
  • DOWN
  • Administratively down: The administrator has run the shutdown command on the FC interface.

Line protocol current state

Link layer protocol status of the FC interface:
  • UP: The link layer protocol of the FC interface is Up.
  • DOWN: The link layer protocol of the FC interface is Down or no IP address is assigned to the FC interface.

Description

Description of the FC interface. The description contains a maximum of 80 case-sensitive characters, with spaces supported. This field describes functions of the FC interface.

The Maximum FC Frame Length

Maximum length of FC packets.

Port WWN

World Wide Name (WWN) of the FC interface.

Port Mode

Type of the FC interface.

Speed

Rate of the FC interface.

Negotiation

Auto-negotiation of the FC interface.

Loopback

Loopback of the FC interface.

Transmit BB_Credit

Transmit BB_Credit value.

Receive BB_Credit

Receive BB_Credit value.

Last physical up time

Time the interface goes Up.

Last physical down time

Shutdown time of the FC interface.

Current system time

-

Statistics last cleared

Last time traffic statistics are cleared. If traffic statistics are never cleared, the value is never.

Last 300 seconds input rate

Bit rate and PPS rate of incoming traffic within the last 300s.

Last 300 seconds output rate

Bit rate and PPS rate of outgoing traffic within the last 300s.

Input peak rate 0 bits/sec, Record time

Peak rate and time of incoming traffic.

Output peak rate 0 bits/sec, Record time

Peak rate and time of outgoing traffic.

Input

Total numbers of packets received on the interface and bytes of the packets.

Numbers of error and discarded packets received on the interface:

  • CRC: CRC error

  • Too long: long packet length

  • Too short: short packet length

  • Othererr: other errors

  • Discard: discarded packets

Output

Total numbers of packets sent by the interface and bytes of the packets.

Numbers of error and discarded packets sent by the interface:

  • Discard: discarded packets

  • FIFO errors

Total Error

Number of error packets.

Input bandwidth utilization threshold

Threshold for inbound bandwidth usage.

Output bandwidth utilization threshold

Threshold for outbound bandwidth usage.

Last 300 seconds input utility rate

Inbound bandwidth utilization on the interface in the last 300s.

Last 300 seconds output utility rate

Outbound bandwidth utilization on the interface in the last 300s.

Related Topics

display interface fcoe-port

Function

The display interface fcoe-port command displays the status of and statistics on an FCoE interface.

Format

display interface fcoe-port [ fcoe-port-id ]

Parameters

Parameter

Description

Value

fcoe-port-id

Displays the status of and statistics on a specified FCoE interface.

If fcoe-port-id is not specified, the status of and statistics on all FCoE interfaces are displayed.

The FCoE interface must have been created.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To view the status of and statistics on an FCoE interface, run the display interface fcoe-port command.

Prerequisites

An FCoE interface has been created using the interface fcoe-port command.

Example

# Display the status of and statistics on FCoE-Port1.

<HUAWEI> display interface fcoe-port 1
FCoE-Port1 current state : UP (ifindex: 1232)                               
Line protocol current state : UP                                              
Description:                                                                    
Bound interface is 10GE1/0/1                                                    
Hardware is Virtual FibreChannel                                                
Port WWN is 20:00:20:0b:c7:98:24:ca                                             
Port Speed statistics is disable                                                
    Last 100 seconds input utility rate:  8.10%                                  
    Last 100 seconds output utility rate: 0.00%
Table 14-44  Description of the display interface fcoe-port command output

Item

Description

FCoE-Port1 current state

Physical status of the FCoE interface:

  • UP: The physical status of the FCoE interface is Up.

  • Administratively DOWN: A network administrator runs the shutdown command on the FCoE interface.

  • DOWN: The FCoE interface is not created.

When an FCoE interface is created, its physical status is DOWN.

Line protocol current state

Link layer protocol status of the FCoE interface:

  • UP: The physical status of the FCoE interface is Up.

  • DOWN: The link layer protocol of the FCoE interface does not run.

Description

Description of the FCoE interface.

Bound interface

Physical interface bound to the FCoE interface.

Hardware is Virtual FibreChannel

The physical interface bound to the FCoE interface is of virtual FC type.

Port WWN

World Wide Name (WWN).

Port Speed statistics is disable

The interface rate statistics collection is disabled.

Last 10 seconds input utility rate

Inbound bandwidth utilization on the interface in the last 300s.

Last 10 seconds output utility rate

Outbound bandwidth utilization on the interface in the last 300s.

Related Topics

display snmp-agent trap feature-name fcoe all

Function

The display snmp-agent trap feature-name fcoe all command displays whether all FCoE traps are enabled.

Format

display snmp-agent trap feature-name fcoe all

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

You can run the display snmp-agent trap feature-name fcoe all command to check status of all FCoE traps. This status can be configured using the snmp-agent trap enable feature-name fcoe command.

Example

# View whether all FCoE traps are enabled.

<HUAWEI>display snmp-agent trap feature-name fcoe all
------------------------------------------------------------------------------  
Feature name: FCOE                                                              
Trap number : 6                                                                 
------------------------------------------------------------------------------  
Trap name                      Default switch status   Current switch status    
hwFCoEConnectVfNum             off                     on                       
hwFCoELoginVnNum               off                     on                       
hwFCoEPortLoseVlan             off                     on                       
hwFCoETnNum                    off                     on                       
hwFCoETnPortVlan               off                     on                       
hwFCoEVLanError                off                     on 
Table 14-45  Description of the display snmp-agent trap feature-name fcoe all command output

Item

Description

Feature name

Name of the module where the trap is generated

Trap number

Number of traps.

Trap name

Name of trap, including

  • hwFCoEConnectVfNum: The number of VF_Ports of the FCoE interface has reached the maximum.

  • hwFCoELoginVnNum: The number of VN_Ports of the VF_Port has reached the maximum.

  • hwFCoEPortLoseVlan: The FCoE VLAN configured on the interface differed from that assigned by the FCF.

  • hwFCoETnNum: The number of VN_Ports in the same NPV instance exceeds the number of system MAC addresses.

  • hwFCoETnPortVlan: The configured NPV VLAN is different from the FCF VLAN that the VN_Port discovers.

  • hwFCoEVLanError: The FCoE VLAN assigned by the FCF differed from that configured on the device.

NOTE:

CE6870EI does not support hwFCoETnNum and hwFCoETnPortVlan.

Default switch status

Default status of a trap

  • on: The trap function is enabled.

  • off: The trap function is disabled.

Current switch status

Current status of a trap

  • on: The trap function is enabled.

  • off: The trap function is disabled.

This status can be configured using the snmp-agent trap enable feature-name fcoe command.

display zone

Function

The display zone command displays information about a specified zone or all zones.

Format

display zone [ zone-name ]

Parameters

Parameter

Description

Value

zone-name

Displays information about a specified zone.

The zone must have been created.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display zone command displays information about a specified zone or all zones.

Example

# Display information about all zones on the device.

<HUAWEI> display zone
---------------------------------------------------------------                 
Name                              Member-number                                 
---------------------------------------------------------------                 
zone1                                         1                                 
zone2                                         3                                 
zone3                                         1                                 
---------------------------------------------------------------                 
The total of zone: 3
Table 14-46  Description of the display zone command output

Item

Description

Name

Name of the zone.

Member-number

Number of member nodes in the zone.

The total of zone

Total number of zones.

# Display information about the zone zone1.

<HUAWEI> display zone zone1
The total member of zone1: 1                                                   
---------------------------------------------------------------                 
MemberType                        MemberInfomation                              
---------------------------------------------------------------                 
FC-Id                             01.01.01                                      
--------------------------------------------------------------- 
Table 14-47  Description of the display zone zone-name command output

Item

Description

MemberType

Type of the zone member.

MemberInfomation

Zone member information.

The total member of zone1

Total number of members of zone1.

display zone member-online

Function

The display zone member-online command displays online member information in a zone.

Format

display zone member-online { fcid fc-id | zone-name zone-name }

Parameters

Parameter

Description

Value

fcid fc-id

Displays information about an online member that is communicating with a specified member.

The value must be an existing fiber channel ID.

zone-name zone-name

Displays information about online members in a zone.

The value must be an existing zone name.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

After a Zone is configured, you can run this command to view online member information in a zone.

Precautions

The zone of the members must be activated.

Example

# Display information about online members in zone1.

<HUAWEI> display zone member-online zone-name zone1
------------------------------------------------------------------------------- 
FC-ID     WWPN                     FC-4 Feature Instance                        
------------------------------------------------------------------------------- 
02.00.01  20:00:10:94:00:00:01:01  Initiator    fcf1                            
02.00.02  20:00:10:94:00:00:01:02  Initiator    fcf1                            
02.00.03  20:00:10:94:00:00:02:01  Target       fcf1                            
02.00.04  20:00:10:94:00:00:02:02  Target       fcf1                            
------------------------------------------------------------------------------- 
Total: 4
Table 14-48  Description of the display zone member-online command output

Item

Description

FC-ID

Fiber channel ID.

WWPN

Name of a word-wide port.

FC-4 Feature

FC-4 attribute.

Instance

Instance name.

Total

Total number of online members.

Related Topics

display zone-alias

Function

The display zone-alias command displays zone alias information.

Format

display zone-alias [ alias-name ]

Parameters

Parameter

Description

Value

alias-name

Displays information about a specified zone alias.

The zone alias must have been created.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display zone-alias command displays zone alias information.

Example

# Display information about all zone aliases on the device.

<HUAWEI> display zone-alias
---------------------------------------------------------------                 
Name                              Member-number                                 
---------------------------------------------------------------                 
alias1                                        4                                 
---------------------------------------------------------------                 
The total of alias: 1
Table 14-49  Description of the display zone-alias command output

Item

Description

Name

Zone alias.

Member-number

Number of member nodes associated with the zone alias.

The total of alias

Total number of zone aliases.

# Display information about the zone alias alias1.

<HUAWEI> display zone-alias alias1
The total member of alias1: 4                                                      
---------------------------------------------------------------                 
MemberType                        MemberInfomation                              
---------------------------------------------------------------                 
FC-Id                             01.00.10
WWPN                              21:00:00:0e:1e:0a:2b:ad
WWNN                              20:00:00:0e:1e:0a:2b:ad
FCoE-Port                         fcoe-port2
--------------------------------------------------------------
Table 14-50  Description of the display zone-alias alias-name command output

Item

Description

MemberType

Type of the member associated with the zone alias.

MemberInfomation

Information about the member associated with the zone alias.

The total member of alias1

Total number of members of alias1.

display zoneset

Function

The display zoneset command displays information about a specified zone set or all zone sets.

Format

display zoneset [ zoneset-name ]

Parameters

Parameter

Description

Value

zoneset-name

Displays information about a specified zone set.

The zone set must have been created.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display zoneset command displays information about a specified zone set or all zone sets.

Example

# Display information about all Zone sets on the device.

<HUAWEI> display zoneset
---------------------------------------------------------------                 
Name                              Member-number                                 
---------------------------------------------------------------                 
zoneset1                                      2                                 
zoneset2                                      0                                 
zoneset3                                      1                                 
---------------------------------------------------------------                 
The total of zoneset: 3
Table 14-51  Description of the display zoneset command output

Item

Description

Name

Name of the zone set.

Member-number

Number of zones in the zone set.

The total of zoneset

Number of zone sets.

# Display information about the zone set zoneset1.

<HUAWEI> display zoneset zoneset1
The total member of zoneset1: 2                                                 
Zone :zone1                                                                     
---------------------------------------------------------------                 
Zone member number:               1                                             
FC-Id                             01.01.01                                      
---------------------------------------------------------------                 
                                                                                
Zone :zone2                                                                     
---------------------------------------------------------------                 
Zone member number:               1                                             
FC-Id                             02.02.02                                      
---------------------------------------------------------------
Table 14-52  Description of the display zoneset zoneset-name command output

Item

Description

Zone

Name of the zone.

Zone member number

Number of zones in the zone set.

The total member of zoneset1

Total number of members of zoneset1.

domain-id

Function

The domain-id command configures a domain ID for an FCF instance.

The undo domain-id command restores the default domain ID of an FCF instance.

By default, the domain ID of an FCF instance is 2.

Format

domain-id domain-id

undo domain-id [ domain-id ]

Parameters

Parameter

Description

Value

domain-id

Specifies the domain ID of an FCF instance.

The value is an integer that ranges from 1 to 239.

Views

FCF instance view

Default Level

2: Configuration level

Usage Guidelines

To specify a domain ID for an FCF instance, run the domain-id command.

Example

# Specify domain 3 for the FCF instance fcf1.

<HUAWEI> system-view
[~HUAWEI] fcoe fcf1 fcf
[*HUAWEI-fcoe-fcf-fcf1] domain-id 3
Related Topics

fc compatibility enable

Function

The fc compatibility enable command enables the device as an FCF to be compatible with the registration command from a third-party NPV switch.

The undo fc compatibility enable command cancels the configuration.

By default, the device as an FCF is not enabled to be compatible with the registration command from a third-party NPV switch.

Format

fc compatibility enable

undo fc compatibility enable

Parameters

None

Views

FCF instance view

Default Level

2: Configuration level

Usage Guidelines

When the device functions as an FCF and connects to a third-party NPV switch, run the fc compatibility enable command.

Example

# Enable the device as an FCF to be compatible with the registration command from a third-party NPV switch in the FCF instance fcf1.

<HUAWEI> system-view
[~HUAWEI] fcoe fcf1 fcf
[*HUAWEI-fcoe-fcf-fcf1] fc compatibility enable

fc framesize

Function

The fc framesize command sets the maximum length of packets forwarded by an FC interface.

The undo fc framesize command restores the default maximum length of packets forwarded by an FC interface.

By default, the maximum length of packets forwarded by an FC interface is 2148 bytes.

Format

fc framesize framesize

undo fc framesize [ framesize ]

Parameters

Parameter

Description

Value

framesize

Specifies the maximum length of packets forwarded by an FC interface.

The value is an integer that ranges from 1028 to 2148, in bytes.

Views

FC interface view

Default Level

2: Configuration level

Usage Guidelines

The buffer-to-buffer credit (BB_Credit) is a flow control mechanism that determines the number of outgoing packets, and ensures no packet loss on an FC interface. BB_Credit is calculated based on the maximum length of packets forwarded by an FC interface and available buffer of the FC interface.

Example

# Set the maximum length of packets forwarded by FC1/0/1 to 2000 bytes.

<HUAWEI> system-view
[~HUAWEI] port mode fc 10ge 1/0/1
Warning: This operation will cause all the other configurations on the port to be lost. Continue? [Y/N]:y
[*HUAWEI] interface fc 1/0/1
[*HUAWEI-FC1/0/1] fc framesize 2000

fcid persistent

Function

The fcid persistent command enables the FCF to retain the FC_ID after relogin of the ENode.

The undo fcid persistent command disables the FCF from retaining the FC_ID after relogin of the ENode.

By default, the FCF is disabled from retaining the FC_ID after relogin of the ENode.

Format

fcid persistent

undo fcid persistent

Parameters

None

Views

FCF instance view

Default Level

2: Configuration level

Usage Guidelines

On the fabric network, after an N_Port connects to a SAN switch, the N_Port is assigned an FC_ID. You can run the fcid persistent command to enable the FCF to retain the FC_ID. The FC_ID of the ENode remains unchanged when the cable connected to the N_Port is removed and reinstalled or the ENode restarts.

Example

# Enable the FCF to retain the FC_ID in the FCF instance fcf1.

<HUAWEI> system-view
[~HUAWEI] fcoe fcf1 fcf
[*HUAWEI-fcoe-fcf-fcf1] fcid persistent

fcmap

Function

The fcmap command configures an FC-MAP value.

The undo fcmap command restores the default FC-MAP value.

By default, the FC-MAP value is 0x0efc00.

Format

fcmap fc-map

undo fcmap [ fc-map ]

Parameters

Parameter

Description

Value

fc-map

Specifies an FC-MAP value.

The value is a hexadecimal value that ranges from 0x0efc00 to 0x0efcff.

Views

FCF instance view

Default Level

2: Configuration level

Usage Guidelines

To configure an FC-MAP value, run the fcmap command.

Example

# Set the FC-MAP value to 0x0efc01 in the FCF instance fcf1.

<HUAWEI> system-view
[~HUAWEI] fcoe fcf1 fcf
[*HUAWEI-fcoe-fcf-fcf1] fcmap 0x0efc01
Related Topics

fcoe

Function

The fcoe command creates an FC instance and displays the FC instance view, or displays the view of an existing FC instance.

The undo fcoe command deletes an FC instance.

By default, no FC instance is configured.

Format

fcoe fc-instance-name [ fc-instance-type ]

undo fcoe fc-instance-name [ fc-instance-type ]

Parameters

Parameter

Description

Value

fc-instance-name

Specifies the name of an FC instance.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value can contain letters, digits, hyphens (-), and underscores (_). It cannot contain the following symbols: > $ | * ^ ?.

fc-instance-type

Specifies the type of an FC instance.

The FC instance types are as follows:

  • FCF

  • NPV

  • FSB

If fc-instance-type is not specified, an FSB instance is created by default.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a traditional Fibre Channel (FC) network, all FC nodes are interconnected through fabrics. FC nodes belonging to a fabric have the same attributes. Fibre Channel over Ethernet (FCoE) carries SAN traffic over the Ethernet and uses FC instances to control FCoE traffic forwarding; therefore, an FC instance defines fabric attributes such as the FCoE VLAN.

Follow-up Procedure

Run the vlan command to add the FCoE VLAN used to forward FCoE traffic to an FC instance.

Precautions

The device supports a maximum of 32 instances.

NOTE:

An FC instance name is case sensitive. For example, fc1 and FC1 identify different FC instances.

Example

# Create an FC instance named fcf1.

<HUAWEI> system-view
[~HUAWEI] fcoe fcf1 fcf
[*HUAWEI-fcoe-fcf-fcf1] 

fcoe dual-fabric enable

Function

The fcoe dual-fabric enable command enables protocol packet isolation.

The undo fcoe dual-fabric enable command disables protocol packet isolation.

By default, protocol packet isolation is disabled.

Format

fcoe dual-fabric enable

undo fcoe dual-fabric enable

NOTE:

CE6870EI does not support this command.

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

In a stack containing two devices, when the server sends a VLAN Request packet, two FCFs respond to the VLAN Request packet. The server then receives two repetitive VLAN Notification packets, prolonging the response and affecting service functions. After the fcoe dual-fabric enable command is executed, FTP packets do not pass through stack interfaces, implementing protocol packet isolation in dual-plane networking.

Example

# Enable protocol packet isolation.

<HUAWEI> system-view
[~HUAWEI] fcoe dual-fabric enable

fcoe fabric-port

Function

The fcoe fabric-port command specifies an interface as an F_Port in an SVF system.

The undo fcoe fabric-port command cancels the configuration.

By default, no interface is specified as an F_Port in an SVF system.

Format

fcoe fabric-port

undo fcoe fabric-port

NOTE:

CE6870EI does not support this command.

Parameters

None

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

As shown in Figure 14-2, SwitchA and SwitchB constitute a CSS in an SVF system. SwitchA and SwitchB function as parent switches to connect to multiple leaf switches, and are configured with the FCF or NPV instance.

Figure 14-2  SVF networking

You can run the fcoe fabric-port command to specify interfaces on SwitchA and SwitchB as F_Ports. If the link of the F_Port on SwitchA fails, the fabric link is not recalculated and traffic is switched to SwitchB.

Example

# Specify 10GE1/0/1 as the F_Port.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] fcoe fabric-port

fcoe link sync

Function

The fcoe link sync command enables FCoE link synchronization.

The undo fcoe link sync command disables FCoE link synchronization.

By default, FCoE link synchronization is disabled.

Format

fcoe link sync

undo fcoe link sync

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

In an FIP snooping scenario, the FCF cannot immediately detect a link failure between the ENode and switch and can perform link switching only after the Keepalive timer expires. This may result in traffic interruption.

After FCoE link synchronization is enabled using the fcoe link sync command, the switch instructs the FCF or ENode to perform link switching immediately after detecting a link failure. This function ensures uninterrupted traffic forwarding.

Example

# Enable FCoE link synchronization.

<HUAWEI> system-view
[~HUAWEI] fcoe link sync

fcoe role

Function

The fcoe role command configures a role for an Ethernet interface.

The undo fcoe role command restores the default role of an Ethernet interface.

By default, an Ethernet interface is an ENode_Facing port.

Format

fcoe role vnp

undo fcoe role vnp

Parameters

Parameter

Description

Value

vnp

Configures an Ethernet interface as a VNP_Port.

-

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a traditional FC network, initiators and targets of SAN traffic are explicitly specified. Because traditional Ethernet does not define the traffic transmission direction, roles of interfaces on the switch used as the FIP Snooping Bridge (FSB) must be defined during network planning:
  • VNP_Port: FCoE switch port connected to an FCF
  • ENode_Facing port: FCoE switch port connected to a server

FIP snooping enables the FSB to obtain FCoE virtual link information by listening on FIP packets. This function is used to control FCoE virtual link setup and prevent malicious attacks.

Precautions

Before configuring a role for an interface, add the interface to an FCoE VLAN.

Example

# Add 10GE1/0/1 to FCoE VLAN 222 and configure 10GE1/0/1 as a VNP_Port.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] port link-type trunk
[*HUAWEI-10GE1/0/1] port trunk allow-pass vlan 222
[*HUAWEI-10GE1/0/1] fcoe role vnp
Related Topics

fcoe role np-port

Function

The fcoe role np-port command configures an FC interface in an NPV instance as an NP_Port.

The undo fcoe role np-port command cancels the configuration.

By default, an FC interface in an NPV instance is an F_Port.

Format

fcoe role np-port interface fc fc-port-id

undo fcoe role np-port interface fc fc-port-id

Parameters

Parameter

Description

Value

fc fc-port-id

Specifies an FC interface on the NPV device.

The FC interface must have been created.

Views

NPV instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An NPV switch interface connected to a server is a downlink interface, and the downlink interface must be set to an F_Port; an NPV switch interface connected to an FCF is an uplink interface, and the uplink interface must be set to an NP_Port.

Precautions

You can configure an FC interface as an NP_Port only after the FC interface is added to an NPV instance.

Example

# Add FC1/0/1 to the NPV instance npv1 and configure FC1/0/1 as an NP_Port.

<HUAWEI> system-view
[~HUAWEI] fcoe npv1 npv
[*HUAWEI-fcoe-npv-npv1] member interface fc 1/0/1
[*HUAWEI-fcoe-npv-npv1] fcoe role np-port interface fc 1/0/1

fcoe role vn-port

Function

The fcoe role vn-port command sets the type of an FCoE interface in an NPV instance to VN.

The undo fcoe role vn-port command cancels the configuration.

By default, the type of an FCoE interface in an NPV instance is VF.

Format

fcoe role vn-port interface fcoe-port fcoe-port-id

undo fcoe role vn-port interface fcoe-port fcoe-port-id

Parameters

Parameter

Description

Value

fcoe-port fcoe-port-id

Specifies an FCoE interface on the NPV device.

The FCoE interface must have been created.

Views

NPV instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An NPV switch interface connected to a server is a downlink interface, and the type of the downlink interface must be set to VF; an NPV switch interface connected to an FCF is an uplink interface, and the type of the uplink interface must be set to VN.

Precautions

You can set the type of an FCoE interface to VN only when the FCoE interface is added to the NPV instance.

Example

# Add FCoE-Port1 to the NPV instance npv1 and set the type of FCoE-Port1 to VN.

<HUAWEI> system-view
[~HUAWEI] fcoe npv1 npv
[*HUAWEI-fcoe-npv-npv1] member interface fcoe-port 1
[*HUAWEI-fcoe-npv-npv1] fcoe role vn-port interface fcoe-port 1

fcoe routing

Function

The fcoe routing command configures FCoE redirection.

The fcoe routing command deletes FCoE redirection.

By default, no FCoE redirection is configured.

Format

fcoe routing dst-fcid dst-fcid-mask [ src-fcid src-fcid-mask ] [ vlan vlan-id ] interface interface-type interface-number [ source-mac source-mac vlan remark-vlan-id ] [ destination-mac destination-mac ] [ description description ]

undo fcoe routing dst-fcid dst-fcid-mask [ src-fcid src-fcid-mask ] [ vlan vlan-id ] interface interface-type interface-number [ source-mac source-mac vlan remark-vlan-id ] [ destination-mac destination-mac ] [ description description ]

NOTE:

CE6870EI does not support this command.

Parameters

Parameter

Description

Value

dst-fcid

Specifies the destination fiber channel ID.

The value is in H.H.H format, and cannot be all 0s. An H is a hexadecimal number of 1 to 2 digits.

dst-fcid-mask

Specifies the mask of the destination fiber channel ID.

The value is in xxx.xxx.xxx format, and cannot be all 0s. An H is a hexadecimal number of 1 to 2 digits. The leftmost bits are consecutive non-0 bits, and the rightmost bits are consecutive 0s.

src-fcid

Specifies the source fiber channel ID.

The value is in H.H.H format, and cannot be all 0s. An H is a hexadecimal number of 1 to 2 digits.

src-fcid-mask

Specifies the mask of the source fiber channel ID.

The value is in xxx.xxx.xxx format, and cannot be all 0s. An H is a hexadecimal number of 1 to 2 digits. The leftmost bits are consecutive non-0 bits, and the rightmost bits are consecutive 0s.

vlan vlan-id

Specifies the ID of the source FCoE VLAN.

The value is an integer that ranges from 2 to 4094. The VLAN cannot be the reserved VLAN configured by the vlan reserved command.

interface-type interface-number

Specifies the redirected outbound interface.

  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

-

source-mac source-mac

Specifies the source MAC address.

The value is in H-H-H format. An H is a hexadecimal number of 1 to 4 digits.

vlan remark-vlan-id

Specifies the ID of the redirected FCoE VLAN.

The value is an integer that ranges from 2 to 4094. The VLAN cannot be the reserved VLAN configured by the vlan reserved command.

destination-mac destination-mac

Specifies the destination MAC address.

The value is in H-H-H format. An H is a hexadecimal number of 1 to 4 digits.

description description

Specifies redirection description.

The value is a string of 1 to 31 case-sensitive characters without spaces. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

In FCoE networking, FCoE traffic is forwarded by the FCF in a centralized manner. Generally, one or two FCFs exist on the storage network, which become the bottleneck. To solve this problem, other devices are required to forward some traffic. CE switches need to forward traffic based on policies but not MAC addresses.

In addition, CE switches do not function as FCFs. The FCoE forwarding path is learned and generated by an FCF. After the generates the FCF forwarding table, it delivers forwarding policies to the CE switch using SNMP.

Example

# Configure FCoE redirection. The destination FCID is 1.1.1, source FCID is 2.3.4, outbound interface is 10GE1/0/1, source MAC address is 0efc-0001-0003, and destination MAC address is 1234-5678-90ab.

<HUAWEI> system-view
[~HUAWEI] fcoe routing 1.1.1 ff.0.0 2.3.4 ff.0.0 interface 10ge 1/0/1 source-mac 0efc-0001-0003 vlan 2 destination-mac 1234-5678-90ab description test
Related Topics

fcoe-port

Function

The fcoe-port command adds a physical interface to an FCoE interface.

The undo fcoe-port command removes a physical interface from an FCoE interface.

By default, no physical interface is added to an FCoE interface.

Format

fcoe-port fcoe-port-id

undo fcoe-port fcoe-port-id

Parameters

Parameter

Description

Value

fcoe-port-id

Specifies the number of an FCoE interface to which a physical interface will be added.

The FCoE interface must have been created.

Views

10GE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, port group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On an FCoE network, devices communicate with each other through FCoE interfaces, whereas FCoE interfaces use bound physical interfaces to transmit traffic.

Prerequisites

An FCoE interface has been created.

Precautions

If no physical interface is added to an FCoE interface, the configuration of the FCoE interface is ineffective.

Example

# Add 10GE1/0/1 to FCoE-Port 1.

<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] fcoe-port 1
Related Topics

fip fka-adv-period (FSB instance view)

Function

The fip fka-adv-period command sets the timeout interval for exchanging FIP packets.

The undo fip fka-adv-period command restores the default timeout interval for exchanging FIP packets.

By default, the timeout interval for exchanging FIP packets is 5 minutes.

Format

fip fka-adv-period interval_value

undo fip fka-adv-period [ interval_value ]

Parameters

Parameter

Description

Value

interval_value

Specifies the timeout interval for exchanging FIP packets.

The value is an integer that ranges from 3 to 10, in minutes.

The default value is 5.

Views

FSB instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

FIP packets are FIP Keepalive packets used to detect the FCoE virtual link status. When the switch used as the FIP Snooping Bridge (FSB) does not receive FIP Keepalive packets within the timeout interval, the FSB considers the FCoE virtual link faulty and terminates the FCoE virtual link.

Prerequisites

An FSB instance has been created.

Precautions

It is recommended that the timeout interval for exchanging FIP Keepalive be 2.5 times the interval for sending FIP Keepalive packets.

Example

# Set the timeout interval for exchanging FIP packets to 8 minutes in the FC instance fsb1.

<HUAWEI> system-view
[~HUAWEI] fcoe fsb1
[*HUAWEI-fcoe-fsb-fsb1] fip fka-adv-period 8

fip fka-adv-period (FCF/NPVinstance view)

Function

The fip fka-adv-period command sets the interval at which FIP Keepalive packets are sent.

The undo fip fka-adv-period command restores the default interval at which FIP Keepalive packets are sent.

By default, the interval of FIP Keepalive packets is 8000 ms.

Format

fip fka-adv-period interval_value

undo fip fka-adv-period [ interval_value ]

Parameters

Parameter

Description

Value

interval_value

Specifies the interval at which FIP Keepalive packets are sent.

The value is an integer that ranges from 250 to 90000, in milliseconds.

The default value is 8000.

Views

FCF instance view, NPV instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the switch used as the FCF or NPV device does not receive FIP Keepalive packets after the interval multiplied by 2.5, the switch considers that the virtual link fails and terminates the virtual link.

Prerequisites

An FCF or NPV instance has been created.

Example

# Set the interval at which FIP Keepalive packets are sent to 9000 ms in the FCF instance fcf1.

<HUAWEI> system-view
[~HUAWEI] fcoe fcf1 fcf
[*HUAWEI-fcoe-fcf-fcf1] fip fka-adv-period 9000

interface fc

Function

The interface fc command displays the Fibre Channel (FC) interface view.

Format

interface fc fc-port-id

Parameters

Parameter

Description

Value

fc-port-id

Specifies the number of an FC interface.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Devices on a storage area network (SAN) use FC interfaces to communicate and carry traffic. To enter the FC interface view, run the interface fc command. You can then perform configurations on the FC interface.

Prerequisites

The 10GE Ethernet interface has been switched to the FC interface using the port mode fc command.

Example

# Enter the view of FC1/0/1.

<HUAWEI> system-view
[~HUAWEI] port mode fc 10ge 1/0/1
Warning: This operation will cause all the other configurations on the port to be lost. Continue? [Y/N]:y
[*HUAWEI] interface fc 1/0/1
Related Topics

interface fcoe-port

Function

The interface fcoe-port command creates an FCoE interface and displays the FCoE interface view.

The undo interface fcoe-port command deletes a specified FCoE interface.

By default, no FCoE interface is created.

Format

interface fcoe-port fcoe-port-id

undo interface fcoe-port fcoe-port-id

Parameters

Parameter

Description

Value

fcoe-port-id

Specifies the number of an FCoE interface.

The value is an integer that ranges from 1 to 512.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On an FCoE network, devices must have FCoE interfaces to exchange information and transmit traffic. You can run the interface fcoe-port command to create an FCoE interface.

Precautions

  • When no FCoE interface exists on the device, the interface fcoe-port command creates an FCoE interface.

  • When an FCoE interface exists on the device, the interface fcoe-port command displays the FCoE interface view.

Example

# Create FCoE-Port1.

<HUAWEI> system-view
[~HUAWEI] interface fcoe-port 1

member interface

Function

The member interface command adds an FCoE interface to an FC instance.

The undo member interface command deletes an FCoE interface from an FC instance.

By default, no FCoE interface is added to an FC instance.

Format

member interface fcoe-port fcoe-port1 [ to fcoe-port2 ]

undo member interface fcoe-port fcoe-port1 [ to fcoe-port2 ]

Parameters

Parameter

Description

Value

fcoe-port fcoe-port1 [ to fcoe-port2 ]

Specifies an FCoE interface or FCoE interfaces in a batch.

  • fcoe-port1 specifies the number of the first FCoE interface.

  • fcoe-port2 specifies the number of the last FCoE interface.

  • fcoe-port2 cannot be smaller than fcoe-port1. fcoe-port1 and fcoe-port2 determine the range of FCoE interfaces.

  • If to fcoe-port2 is not specified, only the FCoE interface specified by fcoe-port1 is created.

The value is an integer that ranges from 1 to 512.

Views

FCF instance view, NPV instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

FCoE uses FC instances to control FCoE traffic forwarding because FCoE transmits SAN traffic over the Ethernet. An FC instance defines fabric attributes and needs to be bound to an FCoE interface to transmit traffic.

Precautions

If an FCoE interface is not added to an instance, the configuration relevant to an FCF or NPV instance cannot be performed on the FCoE interface.

One FCoE interface maps one bound physical interface.

Example

# Add FCoE-Port1 to the FC instance fcf1.

<HUAWEI> system-view
[~HUAWEI] fcoe fcf1 fcf
[*HUAWEI-fcoe-fcf-fcf1] member interface fcoe-port 1

member interface fc

Function

The member interface fc command adds an FC interface to an FC instance.

The undo member interface fc command deletes an FC interface from an FC instance.

By default, no FC interface is added to an FC instance.

Format

member interface fc fc-port-id1 [ to fc-port-id2 ]

undo member interface fc fc-port-id1 [ to fc-port-id2 ]

Parameters

Parameter

Description

Value

fc fc-port-id1 [ to fc-port-id2 ]

Specifies an FC interface or FC interfaces in a batch.

  • fc-port-id1 specifies the number of the first FC interface.

  • fc-port-id2 specifies the number of the last FC interface.

  • fc-port-id2 cannot be smaller than fc-port-id1. fc-port-id1 and fc-port-id2 determine the range of FC interfaces.

  • If to fc-port-id2 is not specified, only the FC interface specified by fc-port-id1 is created.

-

Views

FCF instance view, NPV instance view

Default Level

2: Configuration level

Usage Guidelines

To control FC traffic forwarding on the SAN, FC uses FC instances. An FC instance defines fabric attributes and needs to be bound to an FC interface to transmit traffic.

Example

# Add FC1/0/1 to the FC instance fcf1.

<HUAWEI> system-view
[~HUAWEI] fcoe fcf1 fcf
[*HUAWEI-fcoe-fcf-fcf1] member interface fc 1/0/1

member (zone view)

Function

The member command adds a member node to a zone.

The undo member command deletes a member node from a zone.

By default, no member node is added to a zone.

Format

member { alias alias-name | fcid fc-id | interface { fcoe-port fcoe-port-id | fc fc-port-id } | wwnn wwnn [ auto | both | initiator | target ] | wwpn wwpn [ auto | both | initiator | target ] }

undo member { alias alias-name | fcid fc-id | interface { fcoe-port fcoe-port-id | fc fc-port-id } | wwnn wwnn [ auto | both | initiator | target ] | wwpn wwpn [ auto | both | initiator | target ] }

Parameters

Parameter

Description

Value

alias alias-name

Specifies the alias of a zone.

The alias must have been created.

fcid fc-id

Specifies an FC_ID.

The FC_ID must have been created.

interface fcoe-port fcoe-port-id

Specifies the number of an FCoE interface.

The FCoE interface must have been created.

interface fc fc-port-id

Specifies the number of an FC interface.

The FC interface must have been created.

wwnn wwnn

Specifies a World Wide Node Name (WWNN).

The WWNN must have been created.

wwpn wwpn

Specifies a World Wide Port Name (WWPN).

The WWPN must have been created.

auto

Automatically obtains the network adapter role based on registration information.

-

both

Specifies the network adapter as the server and storage device.

-

initiator

Specifies the network adapter as the server.

-

target

Specifies the network adapter as the storage device.

-

Views

Zone view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Only member nodes in the same zone are allowed to communicate with each other. You can use the following methods to add member nodes to a zone:

  • When multiple member nodes need to be added to multiple zones, run the zone alias command to create a zone alias and run the member (zone alias view) command to associate the member nodes with the zone alias and add the zone alias to the zones.

  • When the zone member is specified as the node that is assigned an FC_ID, fcid must be configured.

  • When the zone member is specified as an FCoE interface, fcoe-port must be configured.

  • When the zone member is specified as an FC interface, fc must be configured.

  • When the zone member is specified as the node that is assigned a WWNN, wwnn must be configured.

  • When the zone member is specified as the node that is assigned a WWPN, wwpn must be configured.

ACL rules are used to implement access control of members in a zone. When the network adapter role is not differentiated, all members in the zone can access each other. In practice, there is less access between servers and between storage devices, so ACL rules between servers and between storage devices can be not delivered. The ACL resources are therefore saved and the time taken by the system to deliver ACL rules in the control plane is reduced.

Follow-up Procedure

After the role of the network adapter that provides the Smart Zone function is configured, run the smart-zoning enable command to enable the Smart Zone function.

Example

# Add the node with the zone alias alias1 and WWNN 20:00:00:9f:be:30:20:10 and the node with FC_ID 16.00.01 to the zone zone1.

<HUAWEI> system-view
[~HUAWEI] zone zone1
[*HUAWEI-zone-zone1] member alias alias1
[*HUAWEI-zone-zone1] member wwnn 20:00:00:9f:be:30:20:10
[*HUAWEI-zone-zone1] member fcid 16.00.01

member (zone alias view)

Function

The member command associates a member node with a zone alias.

The undo member command disassociates a member node from a zone alias.

By default, no member node is associated with a zone alias.

Format

member { fcid fc-id | interface { fcoe-port fcoe-port-id | fc fc-port-id } | wwnn wwnn | wwpn wwpn }

undo member { fcid fc-id | interface { fcoe-port fcoe-port-id | fc fc-port-id } | wwnn wwnn | wwpn wwpn }

Parameters

Parameter

Description

Value

fcid fc-id

Specifies an FC_ID.

The FC_ID must have been created.

interface fcoe-port fcoe-port-id

Specifies the number of an FCoE interface.

The FCoE interface must have been created.

interface fc fc-port-id

V100R005C10 and later versions support this parameter.

Specifies the number of an FC interface.

The FC interface must have been created.

wwnn wwnn

Specifies a World Wide Node Name (WWNN).

The WWNN must have been created.

wwpn wwpn

Specifies a World Wide Port Name (WWPN).

The WWPN must have been created.

Views

Zone alias view

Default Level

2: Configuration level

Usage Guidelines

When multiple member nodes need to be added to multiple zones, run the zone alias command to create a zone alias and run the member (zone alias view) command to associate the member nodes with the zone alias and add the zone alias to the zones. You can use the following methods to add member nodes to a zone alias:

  • When the zone member is specified as the node that is assigned an FC_ID, fcid must be configured.

  • When the zone member is specified as an FCoE interface, fcoe-port must be configured.

  • When the zone member is specified as an FC interface, fc must be configured.

  • When the zone member is specified as the node that is assigned a WWNN, wwnn must be configured.

  • When the zone member is specified as the node that is assigned a WWPN, wwpn must be configured.

Example

# Add the node with WWNN 20:00:00:9f:be:30:20:10 and the node with FC_ID 16.00.01 to the zone alias alias1.

<HUAWEI> system-view
[~HUAWEI] zone alias alias1
[*HUAWEI-zone-alias-alias1] member wwnn 20:00:00:9f:be:30:20:10
[*HUAWEI-zone-alias-alias1] member fcid 16.00.01

member (zone set view)

Function

The member command adds a zone to a zone set.

The undo member command deletes a zone from a zone set.

By default, no zone is added to a zone set.

Format

member zone-name

undo member zone-name

Parameters

Parameter

Description

Value

zone-name

Specifies the name of a zone.

The zone must have been created.

Views

Zone set view

Default Level

2: Configuration level

Usage Guidelines

A zone set is a collection of zones. A zone takes effect only when the zone is added to the zone set that is activated using the active zoneset command.

Example

# Add the zone zone1 to the zone set zoneset1.

<HUAWEI> system-view
[~HUAWEI] zoneset zoneset1
[*HUAWEI-zoneset-zoneset1] member zone1

npv-map

Function

The npv-map command configures interface mapping in an NPV instance.

The undo npv-map command deletes interface mapping in an NPV instance.

By default, interface mapping is not configured in an NPV instance and an NPV instance chooses an uplink interface automatically.

Format

npv-map { f-port interface fc fc-port-id1 [ to fc-port-id2 ] | vf-port interface fcoe-port fcoe-port-id1 [ to fcoe-port-id2 ] } { np-port fc fc-port-id | vn-port fcoe-port fcoe-port-id }

undo npv-map { f-port interface fc fc-port-id1 [ to fc-port-id2 ] | vf-port interface fcoe-port fcoe-port-id1 [ to fcoe-port-id2 ] } { np-port fc fc-port-id | vn-port fcoe-port fcoe-port-id }

Parameters

Parameter

Description

Value

fc fc-port-id1 [ to fc-port-id2 ]

Specifies an FC interface as an F_Port or FC interfaces as F_Ports in a batch.

  • fc-port-id1 specifies the number of the first FC interface.

  • fc-port-id2 specifies the number of the last FC interface.

  • fc-port-id2 cannot be smaller than fc-port-id1. fc-port-id1 and fc-port-id2 determine the range of FC interfaces.

  • If to fc-port-id2 is not specified, only the FC interface specified by fc-port-id1 is created.

The FC interface must have been created.

fcoe-port fcoe-port-id1 [ to fcoe-port-id2 ]

Specifies an FCoE interface as a VF_Port or FCoE interfaces as VF_Ports in a batch.

  • fcoe-port-id1 specifies the number of the first FCoE interface.

  • fcoe-port-id2 specifies the number of the last FCoE interface.

  • fcoe-port-id2 cannot be smaller than fcoe-port-id1. fcoe-port-id1 and fcoe-port-id2 determine the range of FCoE interfaces.

  • If to fcoe-port-id2 is not specified, only the FCoE interface specified by fcoe-port-id1 is created.

The FCoE interface must have been created.

fc fc-port-id

Specifies an FC interface as an NP_Port.

The FC interface must have been created.

fcoe-port fcoe-port

Specifies an FCoE interface as an VN_Port.

The FCoE interface must have been created.

Views

NPV instance view

Default Level

2: Configuration level

Usage Guidelines

You can configure interface mapping to map an NP_Port or a VN_Port to a V_Port or VF_Port. After the mapping is configured, traffic received from an NP_Port or a VF_Port can be only forwarded through a mapped interface.

Example

# Map F_Ports of FC1/0/1 and FC1/0/2 to NP_Port FC1/0/3.

<HUAWEI> system-view
[~HUAWEI] fcoe npv1 npv
[*HUAWEI-fcoe-npv-npv1] member interface fc 1/0/1 to 1/0/3
[*HUAWEI-fcoe-npv-npv1] npv-map f-port interface fc 1/0/1 to 1/0/2 np-port fc 1/0/3

npv-vlan

Function

The npv-vlan command configures an NPV VLAN in an NPV instance.

The undo npv-vlan command deletes an NPV VLAN in an NPV instance.

By default, no NPV VLAN is configured in an NPV instance.

Format

npv-vlan vlan-id

undo npv-vlan vlan-id

Parameters

Parameter

Description

Value

vlan-id

Specifies the ID of an NPV VLAN.

The value is an integer that ranges from 2 to 4094. The VLAN cannot be the reserved VLAN configured by the vlan reserved command.

Views

NPV instance view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When an NPV device connects to an FCF, the NPV device must be configured with the same NPV VLAN as the FCoE VLAN on the FCF so that FCoE traffic can be forwarded.

Precautions

The FCoE interface of VNP type must have been added to the NPV VLAN.

Example

# Configure an NPV VLAN in an NPV instance.

<HUAWEI> system-view
[~HUAWEI] fcoe npv1 npv
[*HUAWEI-fcoe-npv-npv1] npv-vlan 2

port mode fc

Function

The port mode fc command switches an Ethernet interface to an FC interface.

The undo port mode fc command switches an FC interface to an Ethernet interface.

By default, no FC interface exists on the device.

Format

port mode fc { interface-type interface-number1 [ to interface-type interface-number2 ] } & <1-24>

undo port mode fc { interface-type interface-number1 [ to interface-type interface-number2 ] } & <1-24>

Parameters

Parameter

Description

Value

interface-type interface-number1 [ to interface-type interface-number2 ]

Specifies the types and numbers of physical interfaces to be switched to FC interfaces.

  • interface-type specifies the interface type.
  • interface-number1 specifies the number of the first interface.
  • to interface-number2 specifies the number of the last interface. interface-number2 must be larger than interface-number1.

The interface type must be 10GE.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On an FC SAN, FC switches use FC interfaces to connect to other FC storage devices and servers.

Precautions

Switching between Ethernet and FC interfaces will clear the interface configuration.

Ethernet interfaces on different cards cannot be switched to FC interfaces simultaneously. To switch Ethernet interfaces on different cards to FC interfaces separately, run the port mode fc command.

Example

# Switch 10GE1/0/1 to an FC interface.

<HUAWEI> system-view
[~HUAWEI] port mode fc 10ge 1/0/1
Warning: This port(s)(10GE1/0/1-1/0/4) and all configurations of the current port(s) will be cleared, and switched to fc port(s). Continue?Warning: This operation will cause all the other configurations on the port to be lost. Continue? [Y/N]:y

port priority (FC interface view)

Function

The port priority command specifies the priority of outgoing packets on an interface.

The undo port priority command restores the default priority of outgoing packets on an interface.

By default, the priority of outgoing packets on an interface is 3.

Format

port priority priority

undo port priority [ priority ]

Parameters

Parameter

Description

Value

priority

Specifies the priority of an FC interface.

The value is an integer that ranges from 0 to 7.

Views

FC interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the inbound interface is an FC interface and the outbound interface is an Ethernet interface, you can run this command to specify the priority of outgoing packets on an interface.

Precautions

If you run the port priority command in the same FC interface view multiple times, only the latest configuration takes effect.

Example

# Set the priority of FC1/0/1 to 1.

<HUAWEI> system-view
[~HUAWEI] interface fc 1/0/1
[~HUAWEI-FC1/0/1] port priority 1

reset fcoe fc statistics

Function

The reset fcoe fc statistics command clears statistics on FC packets of the specified FCoE interface or all FCoE interfaces of FCFor NPV instances.

Format

reset fcoe fc statistics [ interface { fcoe-port fcoe-port-id | fc fc-port-id } ]

Parameters

Parameter

Description

Value

interface fcoe-port fcoe-port-id

Clears statistics on FC packets of the specified FCoE interface.

If this parameter is not specified, statistics on FIP packets of all FCoE interfaces are cleared.

The FCoE interface must have been created.

interface fc fc-port-id

Clears statistics on FC packets of the specified FC interface.

If this parameter is not specified, statistics on FIP packets of all FC interfaces are cleared.

The FC interface must have been created.

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To troubleshoot FCoE faults, you may need to view the FC packet statistics within a certain period of time.

Before recollecting statistics on FC packets of a specified interface or all FCoE interfaces, run the reset fcoe fc statistics command to clear existing statistics on FC packets. Then run the display fcoe fc statistics command to view the statistics on FC packets.

Precautions

After the reset fcoe fc statistics command is executed, statistics on FC packets are cleared and cannot be restored. Exercise caution when you use this command.

Example

# Clear statistics on FC packets of all interfaces.

<HUAWEI> reset fcoe fc statistics

reset fcoe fip statistics

Function

The reset fcoe fip statistics command clears statistics on FIP packets of the specified FSB instance or all FC instances.

Format

reset fcoe fip statistics [ fc-instance-name ]

Parameters

Parameter

Description

Value

fc-instance-name

Clears statistics on FIP packets of a specified FSB instance.

If this parameter is not specified, statistics on FIP packets of all FSB instances are cleared.

The FSB instance must have been created.

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To troubleshoot FCoE faults, you may need to view the FIP packet statistics within a certain period of time.

Before recollecting statistics on FIP packets of a specified FSB instance or all FSB instances, run the reset fcoe fip statistics command to clear existing statistics on FIP packets. Then run the display fcoe fip statistics command to view the statistics on FIP packets.

Precautions

After the reset fcoe fip statistics command is executed, statistics on FIP packets are cleared and cannot be restored. Confirm your action before you use this command.

Example

# Clear statistics on FIP packets of all FSB instances.

<HUAWEI> reset fcoe fip statistics

reset fcoe last-offline

Function

The reset fcoe last-offline command clears the latest FCoE logout information of FSB instances.

Format

reset fcoe last-offline

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

Application Scenario

When the ENode logs out, the switch records the FCoE logout information. You can run the reset fcoe last-offline command to clear the latest FCoE logout information and then run the display fcoe last-offline command to view the latest FCoE logout information to locate faults.

Precautions

After this command is executed, the latest FCoE logout information is cleared and cannot be restored. Confirm your action before you use this command.

Example

# Clear the latest FCoE logout information.

<HUAWEI> reset fcoe last-offline

smart-zoning enable

Function

The smart-zoning enable command enables the Smart Zone function.

The undo smart-zoning enable command disables the Smart Zone function.

By default, the Smart Zone function is disabled.

Format

smart-zoning enable

undo smart-zoning enable

Parameters

None

Views

FCF instance view

Default Level

2: Configuration level

Usage Guidelines

ACL rules are used to implement access control of members in a zone. When the network adapter role is not differentiated, all members in the zone can access each other. In practice, there is less access between servers and between storage devices, so ACL rules between servers and between storage devices can be not delivered. The ACL resources are therefore saved and the time taken by the system to deliver ACL rules in the control plane is reduced.

Example

# Enable the Smart Zone function in fcf1.

<HUAWEI> system-view
[~HUAWEI] fcoe fcf1 fcf
[*HUAWEI-fcoe-fcf-fcf1] smart-zoning enable
Related Topics

snmp-agent trap enable feature-name fcoe

Function

The snmp-agent trap enable feature-name fcoe command enables an FCoE trap.

The undo snmp-agent trap enable feature-name fcoe command disables an FCoE trap.

By default, the trap function is disabled on all FCoE modules.

Format

snmp-agent trap enable feature-name fcoe [ trap-name trap-name ]

undo snmp-agent trap enable feature-name fcoe [ trap-name trap-name ]

Parameters

Parameter

Description

Value

trap-name trap-name

Specifies the name of a trap.

The traps are as follows:

  • hwfcoeconnectvfnum

  • hwfcoeloginvnnum

  • hwfcoeportlosevlan

  • hwfcoetnnum

  • hwfcoetnportvlan

  • hwfcoevlanerror

NOTE:

CE6870EI does not support hwfcoetnnum and hwfcoetnportvlan.

Views

System view

Default Level

3: Management level

Usage Guidelines

The snmp-agent trap enable feature-name fcoe command is used to enable an FCoE trap. Then, the trap generated during the device running will be sent to the NMS. At present, the following FCoE traps are supported:
  • hwfcoeconnectvfnum: The number of VF_Ports of the FCoE interface has reached the maximum.

  • hwfcoeloginvnnum: The number of VN_Ports of the VF_Port has reached the maximum.

  • hwfcoeportlosevlan: The FCoE VLAN configured on the interface differed from that assigned by the FCF.

  • hwfcoetnnum: The number of VN_Ports in the same NPV instance exceeds the number of system MAC addresses.

  • hwfcoetnportvlan: The configured NPV VLAN is different from the FCF VLAN that the VN_Port discovers.

  • hwfcoevlanerror: The FCoE VLAN assigned by the FCF differed from that configured on the device.

You can run the display snmp-agent trap feature-name fcoe all command to check the configuration result.

Example

# Enable the FCoE hwFCoEPortLoseVlan trap.

<HUAWEI> system-view
[~HUAWEI] snmp-agent trap enable feature-name fcoe trap-name hwfcoeportlosevlan

speed (FC interface view)

Function

The speed command sets the rate for an FC interface in non-auto negotiation mode.

The undo speed command restores the default rate of an FC interface in non-auto negotiation mode.

By default, an FC interface works at its highest rate when it works in non-auto negotiation mode.

Format

8G FC optical module: speed { 2000 | 4000 | 8000 }

8G FC optical module: undo speed [ 2000 | 4000 | 8000 ]

4G FC optical module: speed { 2000 | 4000 }

4G FC optical module: undo speed [ 2000 | 4000 ]

2G FC optical module: speed { 2000 }

2G FC optical module: undo speed [ 2000 ]

Parameters

Parameter

Description

Value

2000

Indicates that the interface works at 2000 Mbit/s.

-

4000

Indicates that the interface works at 4000 Mbit/s.

-

8000

Indicates that the interface works at 8000 Mbit/s.

-

Views

FC interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In non-auto negotiation mode, if interfaces on two connected devices work at different rates, use the speed command to change the rates of the interfaces to be the same so that the two devices can communicate.

Prerequisites

  • Before running the speed command, connect an FC optical module to the interface.

  • Run the port mode fc command to switch an Ethernet interface to an FC interface.

  • Run the negotiation disable command on the local interface to configure the interface to work in non-auto negotiation mode.

Example

# Configure FC1/0/1 to work at 2000 Mbit/s in non-auto negotiation mode.

<HUAWEI> system-view
[~HUAWEI] port mode fc 10ge 1/0/1
Warning: This port(s)(10GE1/0/1-1/0/4) and all configurations of the current port(s) will be cleared, and switched to fc port(s). Continue?Warning: This operation will cause all the other configurations on the port to be lost. Continue? [Y/N]:y
[*HUAWEI] commit
[~HUAWEI] interface fc 1/0/1
[~HUAWEI-FC1/0/1] negotiation disable
[*HUAWEI-FC1/0/1] speed 2000
Related Topics

statistic enable (FCoE interface view)

Function

The statistic enable command enables traffic statistics collection on an FCoE interface.

The undo statistic enable command disables traffic statistics collection on an FCoE interface.

By default, traffic statistics collection is disabled on an FCoE interface.

Format

statistic enable

undo statistic enable

Parameters

None

Views

FCoE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Traffic statistics collection is enabled on an FCoE interface to calculate the number of forwarded packets. To use the display interface fcoe-port command to check statistics on received and sent FCoE packets, run the statistic enable command to enable traffic statistics collection on an FCoE interface. Otherwise, FCoE packet statistics cannot be queried.

Follow-up Procedure

Run the display interface fcoe-port command to check statistics on received and sent FCoE packets on the FCoE interface.

Precautions

CE6870EI does not support outbound traffic statistics collection on an interface.

Example

# Enable traffic statistics collection on FCoE-Port1.

<HUAWEI> system-view
[~HUAWEI] interface fcoe-port 1
[*HUAWEI-FCoE-Port1] statistic enable

vlan (FCoE)

Function

The vlan command creates an FCoE VLAN and adds the FCoE VLAN to an FC instance.

The undo vlan command deletes an FCoE VLAN.

By default, no FCoE VLAN is configured.

Format

vlan vlan-id

undo vlan [ vlan-id ]

Parameters

Parameter

Description

Value

vlan-id

Specifies the ID of an FCoE VLAN.

The value is an integer that ranges from 2 to 4094 except the reserved VLAN IDs configured using the vlan reserved command.

Views

FCoE view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On the traditional Fibre Channel (FC) network, initiators and targets of traffic are definite and traffic transmission is reliable, whereas the traditional Ethernet uses the best-effort (BE) model. Fibre Channel over Ethernet (FCoE) transmits FC frames over the Ethernet and implements lossless Ethernet. Run the vlan (FCoE) command to configure an FCoE VLAN for forwarding and controlling FCoE traffic.

Precautions

An FCoE VLAN is only used to forward FCoE traffic and FIP packets.

An FCoE VLAN belongs to only one FC instance.

Example

# Create FCoE VLAN 2 and add it to an FSB instance.

<HUAWEI> system-view
[~HUAWEI] fcoe fsb1
[*HUAWEI-fcoe-fsb1] vlan 2
Related Topics

zone

Function

The zone command creates a zone and displays the zone view, or displays the view of an existing zone.

The undo zone command deletes a zone.

By default, no zone is configured on the device.

Format

zone zone-name

undo zone zone-name

Parameters

Parameter

Description

Value

zone-name

Specifies the name of a zone.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value can contain letters, digits, hyphens (-), and underscores (_). It cannot contain the following symbols: > $ | * ^ ?.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can configure zones and add different N_Ports to the zones based on the destination to isolate N_Ports in different zones. This setting achieves access control. Only ENodes in the same zone can communicate with each other.

Precautions

A maximum of 8192 zones can be configured on the device.

Example

# Create a zone named zone1.

<HUAWEI> system-view
[~HUAWEI] zone zone1
[*HUAWEI-zone-zone1] 

zone alias

Function

The zone alias command creates a zone alias and displays the zone alias view, or displays the view of an existing zone alias.

The undo zone alias command deletes a zone alias.

By default, no zone alias is configured on the device.

Format

zone alias alias-name

undo zone alias alias-name

Parameters

Parameter

Description

Value

alias-name

Specifies the alias of a zone.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value can contain letters, digits, hyphens (-), and underscores (_). It cannot contain the following symbols: > $ | * ^ ?.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a zone is created, you need to add member nodes to the zone. When the same member nodes need to be added to multiple zones, create a zone alias and add the member nodes to the zone alias and add the zone alias to the zones. In this case, you do not need to add each member node to each zone one by one. The zone alias simplifies the configuration.

Precautions

A maximum of 512 zone aliases can be configured on the device.

Example

# Create a zone alias named alias1.

<HUAWEI> system-view
[~HUAWEI] zone alias alias1
[*HUAWEI-zone-alias-alias1] 

zone hard-zoning enable

Function

The zone hard-zoning enable command enables the hard zoning function.

The undo zone hard-zoning enable command disables the hard zoning function.

By default, the hard zoning function is disabled.

Format

zone hard-zoning enable

undo zone hard-zoning enable

NOTE:

Only CE6870EI supports this command.

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The hard zoning function implements forwarding plane isolation and controls forwarding of FCoE packets. The software zoning function implements control plane isolation and controls protocol packet exchange and virtual link establishment.

The hardware zoning function implements isolation of FCoE traffic between interfaces in the same FCoE VLAN, enhancing data security.

Example

# Enable the hard zoning function on the device.

<HUAWEI> system-view
[~HUAWEI] zone hard-zoning enable

zone member-online

Function

The zone member-online command sets the maximum number of online zone members.

The undo zone member-online command restores the default maximum number of online zone members.

By default, the device allows a maximum of 32 online zone members.

Format

zone member-online member-online-number

undo zone member-online [ member-online-number ]

Parameters

Parameter

Description

Value

member-online-number

Specifies the maximum number of online zone members.

The value is an integer that ranges from 1 to 64.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The zone member-online command specifies the maximum number of online zone members. When the number of online zone members reaches the maximum value, the device rejects subsequent online requests.

Example

# Set the maximum number of online zone members to 40.

<HUAWEI> system-view
[~HUAWEI] zone member-online 40

zoneset

Function

The zoneset command creates a zone set and displays the zone set view, or displays the view of an existing zone set.

The undo zoneset command deletes a zone set.

By default, no zone set is configured on the device.

Format

zoneset zoneset-name

undo zoneset zoneset-name

Parameters

Parameter

Description

Value

zoneset-name

Specifies the name of a zone set.

The value is a string of 1 to 31 case-sensitive characters without spaces. The value can contain letters, digits, hyphens (-), and underscores (_). It cannot contain the following symbols: > $ | * ^ ?.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A zone set is a collection of zones. A zone takes effect only when the zone is added to the zone set that is activated using the active zoneset command.

Precautions

A maximum of 1024 zone sets can be configured on the device.

Example

# Create a zone set named zoneset1.

<HUAWEI> system-view
[~HUAWEI] zoneset zoneset1
[*HUAWEI-zoneset-zoneset1] 
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 73144

Downloads: 376

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next