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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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).
Configuring FIP Snooping on the FSB

Configuring FIP Snooping on the FSB

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.

Pre-configuration Tasks

Before configuring FIP snooping, complete the following task:
  • Configuring a link layer protocol so that interfaces at both ends of a link are Up

Configuring an FC Instance

Context

On a traditional FC network, all FC nodes are interconnected through fabrics. FC nodes belonging to a fabric have the same attributes. 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.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    fcoe fc-instance-name

    An FC instance is created, and the FCoE view is displayed.

    By default, no FC instance is configured. The switch modules supports a maximum of 32 FC instances.

    NOTE:

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

  3. Run:

    vlan vlan-id

    An FCoE VLAN is added to the FC instance.

    An FCoE VLAN is only used to forward FCoE traffic and FIP packets. An FCoE VLAN belongs to only one FC instance.

  4. Run:

    commit

    The configuration is committed.

Configuring a Role for an Interface

Context

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 FSB interfaces must be defined during network planning.
Figure 10-47 Roles of FSB interfaces
Roles of FSB interfaces are as follows:
  • VNP-port: FCoE switch port connected to an FCF
  • ENode-facing port: FCoE switch port connected to a server
NOTE:

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

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The Ethernet interface view is displayed.

  3. Run:

    port link-type { trunk | hybrid }

    The link type of the interface is configured.

    By default, a port is an access port.

  4. Run:

    port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> | all }

    Or

    port hybrid tagged vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all }

    The interface is added to an FCoE VLAN.

  5. Run:

    fcoe role vnp

    The interface is configured as a VNP-port.

    By default, an Ethernet interface is an ENode-facing port.

  6. Run:

    commit

    The configuration is committed.

(Optional) Setting the Timeout Interval for Exchanging FIP Packets

Context

FIP packets are FIP Keepalive packets used to detect the FCoE virtual link status. When the 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.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    fcoe fc-instance-name

    The FCoE view is displayed.

  3. Run:

    fip fka-adv-period interval_value

    The timeout interval for exchanging FIP packets is set.

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

  4. Run:

    commit

    The configuration is committed.

(Optional) Configuring FCoE Link Synchronization

Context

In an FIP snooping scenario shown in Figure 10-48, 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.

Figure 10-48 Application scenario of FCoE link synchronization

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

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    fcoe link sync

    FCoE link synchronization is enabled.

    By default, FCoE link synchronization is disabled.

  3. Run:

    commit

    The configuration is committed.

(Optional) Enabling Protocol Packet Isolation

Context

In a stack containing two devices, when a server sends a VLAN Request packet, two FCFs respond to the VLAN Request packet. The server then receives two duplicate 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.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    fcoe dual-fabric enable

    Protocol packet isolation is enabled.

    By default, protocol packet isolation is disabled for all the switch modules except the CX311.

  3. Run:

    commit

    The configuration is committed.

Checking the Configuration

Prerequisites

The configurations of FIP snooping are complete.

Procedure

  • Run the display fcoe vlan [ vlan-id ] command to check the FCoE VLAN configuration and the FCoE port roles.
  • Run the display current-configuration | include fcoe command to check whether FCoE link synchronization is enabled and whether protocol packet isolation is enabled.
Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 57962

Downloads: 3621

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