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

CX912 Switch Module V100R001C10 User Guide 17

This document describes the CX912 multi-plane switch module (CX912 for short) of the Tecal E9000 server in terms of its features, installation, removal, and configuration. This document applies to the CX912 whose 10GE switching planes use the software versions of 1.2.1.0.39, 2.00 and later.
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 Zones Using Commands

Configuring Zones Using Commands

The zoning function on the fabric network is similar to the VLAN function on an Ethernet. The zoning function divides a SAN into logical groups. After the zoning function is enabled, only the devices in the same logical group can communicate with each other. The devices in different logical groups cannot communicate.

  • To connect the MX210 to an upstream switch, set the MX210 to the access gateway (AG) mode and configure zones on the upstream switch.
  • To connect the MX210 to an upstream switch in E_Port mode, configure zones for the MX210 on the switch. In addition, the Fabric operating system (FOS) version of the upstream switch must be the same as or later than the FOS version of the MX210.
  • To connect the MX210 to a storage device, configure zones by using the following method.

Creating and Enabling Zones

The members in a zone can be switch ports or nodes on the fabric network.

Context
NOTE:

For details about commands, see the MX210&MX220_Fabric_OS_Command_Reference.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the zonecreate command to create zones.

    The command syntax is as follows:

    zonecreate "zone name", "zone member 1; zone member 2;..."

    zone member can be a port number (in the format of domain id,port id), world wide name (WWN), or WWN alias.

    You are advised to use WWNs as zone members in actual configuration.

    FC_SW:admin> zonecreate "zone0","10:00:00:00:c9:2b:c9:0c;50:05:07:61:00:5b:62:ed;50:05:07:61:00:49:20:b4"

  3. Run the cfgcreate command to create a zone configuration.

    A zone configuration is a collection of zones. A zone configuration can contain one or more zones.

    The command syntax is as follows:

    cfgcreate "Zone configuration name","zone name 1; zone name 2,..."

    FC_SW:admin> cfgcreate "cfgzone","zone0;zone1"

  4. Run the cfgenable command to enable the zone configuration.

    The command syntax is as follows:

    cfgenable Zone configuration name

    FC_SW:admin> cfgenable cfgzone
    You are about to enable a new zoning configuration. 
    This action will replace the old zoning configuration with the 
    current configuration selected. If the update includes changes  
    to one or more traffic isolation zones, the update may result in 
    localized disruption to traffic on ports associated with 
    the traffic isolation zone changes 
    Do you want to enable 'cfgzone' configuration  (yes, y, no, n): [no] y     
    zone config "cfgzone" is in effect 
    Updating flash ...

    Only one zone configuration can be enabled at a time.

  5. Run the cfgsave command to save the zone configuration.

    The command syntax is as follows:

    cfgsave

    FC_SW:admin> cfgsave
    You are about to save the Defined zoning configuration. This 
    action will only save the changes on Defined configuration. 
    Do you want to save the Defined zoning configuration only? (yes, y, no, n): 
    [no] y

  6. Run the zoneshow command to query the zone or zone configuration.

    FC_SW:admin> zoneshow

Changing a Zone Name

Change the name of a created zone.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the zoneobjectrename command to change a zone name.

    The command syntax is as follows:

    zoneobjectrename "Old zone name", "New zone name"

    FC_SW:admin> zoneobjectrename "zone0", "zone0_slotb1_port1"

  3. Run the cfgenable command to enable the renamed zone configuration.

    FC_SW:admin> cfgenable "cfgzone"

  4. Run the cfgsave command to save the zone configuration.

    FC_SW:admin> cfgsave
    You are about to save the Defined zoning configuration. This 
    action will only save the changes on Defined configuration. 
    Do you want to save the Defined zoning configuration only? (yes, y, no, n): 
    [no] y

  5. Run the zoneshow command to query the zone or the zone configuration.

    FC_SW:admin> zoneshow

Changing a Zone Configuration Name

Change the configuration name of a created zone.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the zoneobjectrename command to change a zone configuration name.

    The command syntax is as follows:

    zoneobjectrename "objectName", "newName"

    FC_SW:admin> zoneobjectrename "cfgzone", "cfgnew"

  3. Run the cfgenable command to enable the renamed zone configuration.

    FC_SW:admin> cfgenable "cfgnew"

  4. Run the cfgsave command to save the zone configuration.

    FC_SW:admin> cfgsave
    You are about to save the Defined zoning configuration. This 
    action will only save the changes on Defined configuration. 
    Do you want to save the Defined zoning configuration only? (yes, y, no, n): 
    [no] y

  5. Run the cfgshow command to query the zone configuration.

    FC_SW:admin> cfgshow

Adding Members to a Zone

Add new members to a created zone. The devices can be switch ports or nodes on the fabric network.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the zoneadd command to add members to a zone.

    The command syntax is as follows:

    zoneadd "Zone name", "New member 1; New member 2; ..."

    FC_SW:admin> zoneadd "zone1", "2,7;2,6"

  3. Run the cfgsave command to save the zone configuration.

    FC_SW:admin> cfgsave
    You are about to save the Defined zoning configuration. This 
    action will only save the changes on Defined configuration. 
    Do you want to save the Defined zoning configuration only? (yes, y, no, n): 
    [no] y

  4. Run the zoneshow command to query the zone or the zone configuration.

    FC_SW:admin> zoneshow

Adding Zones (Members) to a Zone Configuration

Add new zones (members) to a created zone configuration.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the cfgadd command to add members to a zone configuration.

    The command syntax is as follows:

    cfgadd "zone configuration name", "New zone 1; New zone 2; ..."

    FC_SW:admin> cfgadd "cfgnew", "zone2; zone3"

  3. Run the cfgsave command to save the zone configuration.

    FC_SW:admin> cfgsave 
    WARNING!!! 
    The changes you are attempting to save will render the Effective configuration 
    and the Defined configuration inconsistent. The inconsistency will result in 
    different Effective Zoning configurations for switches in the fabric if a zone 
    merge or HA failover happens. To avoid inconsistency it is recommended to 
    commit the configurations using the 'cfgenable' command. 
    Do you still want to proceed with saving the Defined zoning configuration 
    only? (yes, y, no, n): [no] y

Deleting Members from a Zone

Delete members from a created zone.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the zoneremove command to delete members from a zone.

    The command syntax is as follows:

    zoneremove "Zone name", "New member 1; New member 2; ..."

    FC_SW:admin> zoneremove "zone1", "2,7;2,6" 

  3. Run the cfgsave command to save the zone configuration.

    FC_SW:admin> cfgsave 
    WARNING!!! 
    The changes you are attempting to save will render the Effective configuration 
    and the Defined configuration inconsistent. The inconsistency will result in 
    different Effective Zoning configurations for switches in the fabric if a zone 
    merge or HA failover happens. To avoid inconsistency it is recommended to 
    commit the configurations using the 'cfgenable' command. 
    Do you still want to proceed with saving the Defined zoning configuration 
    only? (yes, y, no, n): [no] y

  4. Run the zoneshow command to query the zone or the zone configuration.

    FC_SW:admin> zoneshow

Deleting Zones (Members) from a Zone Configuration

Delete zones (members) from a created created zone configuration.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the cfgremove command to delete members from a zone configuration.

    The command syntax is as follows:

    cfgremove "zone configuration name", "zone 1; zone 2; ..."

    FC_SW:admin> cfgremove "cfgnew", "zone2; zone3"

  3. Run the cfgsave command to save the zone configuration.

    FC_SW:admin> cfgsave 
    WARNING!!! 
    The changes you are attempting to save will render the Effective configuration 
    and the Defined configuration inconsistent. The inconsistency will result in 
    different Effective Zoning configurations for switches in the fabric if a zone 
    merge or HA failover happens. To avoid inconsistency it is recommended to 
    commit the configurations using the 'cfgenable' command. 
    Do you still want to proceed with saving the Defined zoning configuration 
    only? (yes, y, no, n): [no] y

  4. Run the cfgshow command to query the zone configuration.

    FC_SW:admin> cfgshow

Deleting a Zone

Delete a created zone.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the zonedelete command to delete a zone.

    The command syntax is as follows:

    zonedelete "Zone name"

    FC_SW:admin> zonedelete "zone0_slotb1_port1"

  3. Run the cfgsave command to save the zone configuration.

    FC_SW:admin> cfgsave 
    WARNING!!! 
    The changes you are attempting to save will render the Effective configuration 
    and the Defined configuration inconsistent. The inconsistency will result in 
    different Effective Zoning configurations for switches in the fabric if a zone 
    merge or HA failover happens. To avoid inconsistency it is recommended to 
    commit the configurations using the 'cfgenable' command. 
    Do you still want to proceed with saving the Defined zoning configuration 
    only? (yes, y, no, n): [no] y

  4. Run the zoneshow command to query the zone or the zone configuration.

    FC_SW:admin> zoneshow

Enabling a Zone Configuration

Enable a created zone configuration.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the cfgenable command to enable the zone configuration.

    FC_SW:admin> cfgenable "zone_cfg1"

  3. Enter y.

    FC_SW:admin> cfgenable "zone_cfg1" 
    You are about to enable a new zoning configuration. 
    This action will replace the old zoning configuration with the current 
    configuration selected. If the update includes changes to one or more traffic 
    isolation zones, the update may result in localized disruption to traffic on 
    ports associated with the traffic isolation zone changes. 
    Do you want to enable 'zone_cfg1' configuration (yes, y, no, n): [no] y 
    zone config "zone_cfg1" is in effect 
    Updating flash ...

    Only one zone configuration can be enabled at a time.

Disabling a Zone Configuration

If devices in different zones need to be connected in special scenarios, you can disable zone configuration instead of deleting it or deleting zone to enable the connection.

Context
NOTICE:

This function disables the current zone configuration for the MX210 switch module. Run this function only when necessary.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the cfgdisable command to disable zone configurations.

    FC_SW:admin> cfgdisable 
    You are about to disable zoning configuration. This action will disable any previous zoning configuration enabled. 
    Do you want to disable zoning configuration? (yes, y, no, n): [no]     

  3. Enter y.

Deleting Zone Configurations

A single zone configuration or the whole zone configurations can be deleted to re-plan the connectivity of devices.

Procedure
  1. Log in to the MX210.

    For details, see Logging In to the MX210 over a Serial Port and Logging In to the MX210 Using SSH.

  2. Run the cfgdisable command to disable zone configurations.
  3. Delete a specific or all zone configurations.

    • Run the cfgdelete "Zone configuration name" command to delete the specified zone configuration.
    • Run the cfgclear command to delete all zone configurations.

  4. Run the cfgsave command to save the configuration.

    FC_SW:admin> cfgsave 
    WARNING!!! 
    The changes you are attempting to save will render the Effective configuration 
    and the Defined configuration inconsistent. The inconsistency will result in 
    different Effective Zoning configurations for switches in the fabric if a zone 
    merge or HA failover happens. To avoid inconsistency it is recommended to 
    commit the configurations using the 'cfgenable' command. 
    Do you still want to proceed with saving the Defined zoning configuration 
    only? (yes, y, no, n): [no] y

Translation
Download
Updated: 2018-09-20

Document ID: EDOC1000036343

Views: 34742

Downloads: 1941

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