Cisco MDS 9000 Family NX-OS Inter-VSAN Routing Configuration Guide
Advanced_Inter-VSAN_Routing_Configuration
Downloads: This chapterpdf (PDF - 553.0KB) The complete bookPDF (PDF - 1.87MB) | Feedback

Advanced Inter-VSAN Routing Configuration

Table Of Contents

Advanced Inter-VSAN Routing Configuration

Advanced IVR Configuration Task List

Advanced IVR Configuration

IVR Service Groups

Service Group Guidelines

Default Service Group

Service Group Activation

Configuring IVR Service Groups

Copying the Active IVR Service Group Database

Clearing IVR Service Group Database

Verifying IVR Service Group Configuration

Autonomous Fabric IDs

Autonomous Fabric ID Guidelines

Configuring Default AFIDs

Configuring Individual AFIDs

Verifying the AFID Database Configuration

IVR Without IVR NAT or Auto Topology

IVR Without IVR NAT or Auto Topology Guidelines

Domain ID Guidelines

Transit VSAN Guidelines

Border Switch Guidelines

Manually Configuring and Activating an IVR Topology

Manual Configuration Guidelines

Manually Configuring an IVR Topology

Activating a Manually Configured IVR Topology

Viewing an Active IVR Topology

Working With Existing IVR Topologies

Adding an IVR-Enabled Switch to an Existing IVR Topology

Adding VSANs to an Existing IVR Topology

Copying the Active IVR Topology

Clearing a Manually Configured IVR Topology

Verifying the IVR Topology

Migrating from IVR Auto Topology Mode to Manual Mode

Persistent FC IDs for IVR

FC ID Features and Benefits

FC ID Guidelines

Configuring Persistent FC IDs for IVR

Verifying the Persistent FC ID Configuration

Advanced IVR Zones and IVR Zone Sets

IVR Zone Configuration Guidelines

Configuring LUNs in IVR Zoning

Configuring the QoS Attribute

Verifying the QoS Attribute For an IVR Zone

Renaming IVR Zones and IVR Zone Sets

Clearing the Configured IVR Zone Database

Configuring IVR Using Read-Only Zoning


Advanced Inter-VSAN Routing Configuration


This chapter provides advanced configuration information and instructions. Before setting up advanced IVR configurations, see Chapter 1, "Basic Inter-VSAN Routing Configuration" which includes basic configuration instructions and descriptions of IVR features, limits, and terminology.

This chapter includes the following sections:

Advanced IVR Configuration Task List

Advanced IVR Configuration

IVR Without IVR NAT or Auto Topology

Manually Configuring and Activating an IVR Topology

Working With Existing IVR Topologies

Persistent FC IDs for IVR

Advanced IVR Zones and IVR Zone Sets

Advanced IVR Configuration Task List

To configure an advanced IVR topology in a SAN fabric, follow these steps:

 
Configuration Task
Resource

Step 1 

Determine whether or not to use IVR Network Address Translation (NAT).

See "IVR Network Address Translation" section on page 1-5 and "IVR NAT Requirements and Guidelines" section on page 1-10.

Step 2 

If you do not plan to use IVR NAT, verify that unique domain IDs are configured in all switches and VSANs participating in IVR.

See Domain ID Guidelines.

Step 3 

Enable IVR in the border switches.

See"Enabling IVR" section on page 1-7.

 

Step 4 

Configure the service group as required.

See IVR Service Groups.

Step 5 

Configure the IVR distribution as required.

See "Distributing the IVR Configuration Using CFS" section on page 1-7.

Step 6 

Configure the IVR topology, either manually or automatically.

SeeManually Configuring and Activating an IVR Topology and Basic IVR Configuration, page 1-6.

Step 7 

Create and activate IVR zone sets in all of the IVR-enabled border switches, either manually or using fabric distribution.

See Advanced IVR Zones and IVR Zone Sets.

Step 8 

Verify the IVR configuration.

SeeVerifying the IVR Topology.


Advanced IVR Configuration

This section includes instructions on advanced IVR configurations. It includes the following topics:

IVR Service Groups

Autonomous Fabric IDs

IVR Service Groups

In a complex network topology, you might only have a few IVR-enabled VSANs. To reduce the amount of traffic to non-IVR-enabled VSANs, you can configure service groups that restrict the traffic to the IVR-enabled VSANs. A maximum of 16 IVR service groups are allowed in a network. When a new IVR-enabled switch is added to the network, you must update the service groups to include the new VSANs.

This section includes the following information on service groups:

Service Group Guidelines

Default Service Group

Service Group Activation

Configuring IVR Service Groups

Copying the Active IVR Service Group Database

Clearing IVR Service Group Database

Verifying IVR Service Group Configuration

Service Group Guidelines

IVR service group guidelines are listed below:

If you use service groups with IVR Auto topology, you should enable IVR and configure your service groups first, then distribute them with CFS before setting the IVR topology in Auto mode.

The CFS distribution is restricted within the service group only when the IVR VSAN topology is in Auto mode. See the "IVR VSAN Topology" section on page 1-5.

You can configure as many as 16 service groups in a network.

When a new IVR-enabled switch is added to the network, you must update the service group to include the new VSANs.

The same VSAN and AFID combination cannot be a member of more than one service group otherwise a CFS merge will fail.

The total number of AFID and VSAN combinations in all the service groups combined cannot exceed 128. The maximum number of AFID and VSAN combinations in a single service group is 128.

The IVR service group configuration is distributed in all IVR-enabled switches. IVR data traffic between two end devices belonging to a service group stays within that service group. For example, two members (for example, pWWN 1 and pWWN 2) cannot communicate if they belong to the same IVR zone and they belong to different service groups.

During a CFS merge, service groups with the same name would be merged, as long as there are no conflicts with other service groups.

If the total number of service groups exceeds 16 during a CFS merge, the CFS merge fails.

CFS distributes service group configuration information to all reachable SANs. If you do not enable CFS distribution, you must ensure that the service group configuration is the same on all IVR-enabled switches in all VSANs.

IVR end devices belonging to an IVR service group are not exported to any AFID or VSAN outside of its service group.

When at least one service group is defined and an IVR zone member does not belong to the service group, that IVR zone member is not able to communicate with any other device.

The default service group ID is zero (0).

Default Service Group

All AFID and VSAN combinations that are part of an IVR VSAN topology but are not part of any user-defined service group are members of the default service group. The identifier of the default service group is 0.

By default, IVR communication is permitted between members of the default service group. You can change the default policy to deny. To change the default policy, see the "Configuring IVR Service Groups" procedure. The default policy is not part of ASCII configuration.

Service Group Activation

A configured service group must be activated. Like zone set activation or VSAN topology activation, the activation of a configured service group replaces the currently active service group, if any, with the configured one. There is only one configured service group database and one active service group database. Each of these databases can have up to 16 service groups.

Configuring IVR Service Groups

To configure an IVR service group, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

switch(config)#

Enters configuration mode.

Step 2 

switch(config)# ivr service-group name IVR-SG1

switch(config-ivr-sg)#

Configures the IVR service group called IVR-SG1 and enters IVR server group configuration mode.

switch(config)# no ivr service-group name IVR-SG1

Successfully erased service group IVR-SG1

Deletes the IVR service group.

Step 3 

switch(config-ivr-sg)# autonomous-fabric-id 10 vsan-ranges 1,2,6-10

Configures AFID 10 for VSANs 1, 2, and 6 through 10.

switch(config-ivr-sg)# autonomous-fabric-id 11 vsan-ranges 1

Configures AFID 11 for VSAN 1.

switch(config-ivr-sg)# autonomous-fabric-id 12 vsan-ranges 3-5

Configures AFID 12 for VSANs 3 through 5.

switch(config-ivr-sg)# no autonomous-fabric-id 12 vsan-ranges 3-5

Removes the association between AFID 12 and VSANs 3 through 5.

switch(config-ivr-sg)# exit

switch(config)#

Returns to configuration mode.

switch(config)# ivr service-group name IVR-SG2

switch(config-ivr-sg)#

Configures the IVR service group called IVR-SG2 and enters IVR server group configuration mode.

switch(config-ivr-sg)# autonomous-fabric-id 20 vsan-ranges 3-5

Configures AFID 20 for VSANs 3 through 5.

Step 4 

switch(config-ivr-sg)# exit

switch(config)#

Returns to configuration mode.

Step 5 

switch(config)# ivr service-group activate

Activates the service group configuration and sets the communication policy between switches in the default service group as allow (default).

switch(config)# ivr service-group activate default-sg-deny

Activates the service group configuration and sets the communication policy between switches in the default service group to deny.

Note To change the communication policy back to allow, you must issue the ivr service-group activate command again.

switch(config)# no ivr service-group activate

Deactivates (default) the service group configuration.

Step 6 

switch(config)# ivr vsan-topology activate

Activates the VSAN topology.

Step 7 

switch(config)# ivr distribute

Enables CFS distribution for the IVR configuration.

Step 8 

switch(config)# ivr commit

Commits the IVR configuration to the fabric.

Copying the Active IVR Service Group Database

You can modify the configured IVR service group database; however, you cannot modify the active IVR service group database. To copy the active IVR service group database to the manually configure service group database, use the following command in EXEC mode:

switch# ivr copy active-service-group user-configured-service-group 

Clearing IVR Service Group Database

You can clear all entries in the IVR service group database using the clear ivr service-group database command in EXEC mode. This command only clears the configured database, not the active database.

switch# clear ivr service-group database 

Verifying IVR Service Group Configuration

Use the show ivr service-group active command to view the active IVR service group database.

switch# show ivr service-group active

IVR ACTIVE Service Group
====================================

SG-ID  SG-NAME    AFID  VSANS
------------------------------------------------------------------------------
 1     IVR-SG1      10  1-2,6-10
 1     IVR-SG1      11  1
 2     IVR-SG2      20  3-5

Total:   3 entries in active service group table

Use the show ivr service-group configured command to view the configured IVR service group database.

switch# show ivr service-group configured

IVR CONFIGURED Service Group
====================================

SG-ID  SG-NAME    AFID  VSANS
------------------------------------------------------------------------------
 1     IVR-SG1      10  1-2,6-10
 1     IVR-SG1      11  1
 2     IVR-SG2      20  3-5

Total:   3 entries in configured service group table
 
   

Autonomous Fabric IDs

The autonomous fabric ID (AFID) distinguishes segmented VSANS (for example, two VSANs that are logically and physically separate but have the same VSAN number). Cisco MDS NX-OS Release 4.2(1) supports AFIDs 1 through 64. AFIDs are used in conjunction with Auto mode to allow segmented VSANs in the IVR VSAN topology database.

This section includes the following information about AFIDs:

Autonomous Fabric ID Guidelines

Configuring Default AFIDs

Configuring Individual AFIDs

Verifying the AFID Database Configuration

Autonomous Fabric ID Guidelines

You can configure AFIDs individually for VSANs, or you can set the default AFIDs for all VSANs on a switch. If you configure an individual AFID for a subset of the VSANs on a switch that has a default AFID, that subset uses the configured AFID while all other VSANs on that switch use the default AFID.

You can only use an AFID configuration when the VSAN topology is in Auto mode. In a manually configured VSAN topology mode, the AFIDs are specified in the VSAN topology configuration itself and a separate AFID configuration is not needed.


Note Two VSANs with the same VSAN number but different AFIDs are counted as two VSANs out of the total 128 VSANs allowed in the fabric.


When devices attached to multiple switches belong to one VSAN, they can not communicate with each other by configuring the regular zone set because the AFIDs are different. You can consider that the different AFIDs are different fabrics; therefore the three switches represent three separate fabrics.

If we specify the IVR VSAN topology as shown in Example 2-1, IVR will set up the connection between the devices across the switches even though they have the same VSAN.

Example 2-1 IVR VSAN Topology With the Same VSAN

switch# show ivr vsan-topology
AFID  SWITCH WWN                 Active   Cfg.    VSANS 
-----------------------------------------------------
   1  20:00:00:0d:ec:27:6b:c0     yes     yes       1
   2  20:00:00:0d:ec:27:6c:00     yes     yes       1
   3  20:00:00:0d:ec:27:6c:40     yes     yes       1

Total:   3 entries in active and configured IVR VSAN-Topology

Configuring Default AFIDs

To configure the default AFID, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

switch(config)#

Enters configuration mode.

Step 2 

switch(config)# autonomous-fabric-id database

Enters AFID database configuration submode.

Step 3 

switch(config-afid-db)# switch-wwn 20:00:00:0c:91:90:3e:80 default-autonomous-fabric-id 5

Configures the default AFID for all VSANs not explicitly associated with an AFID. The valid range for the default AFID is 1 to 64.

switch(config-afid-db)# no switch-wwn 20:00:00:0c:91:90:3e:80 default-autonomous-fabric-id 5

Reverts to the default value (1) for the default AFID.

Configuring Individual AFIDs

To configure individual AFIDs, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

switch(config)#

Enters configuration mode.

Step 2 

switch(config)# autonomous-fabric-id database

Enters AFID database configuration submode.

Step 3 

switch(config-afid-db)# switch-wwn 20:00:00:0c:91:90:3e:80 autonomous-fabric-id 10 vsan-ranges 1,2,5-8

Configures an AFID and VSAN range for a switch. The valid range for AFIDs is 1 to 64.

switch(config-afid-db)# no switch-wwn 20:00:00:0c:91:90:3e:80 autonomous-fabric-id 10 vsan-ranges 2

Deletes VSAN 2 from AFID 10.

Verifying the AFID Database Configuration

To view the contents of the AFID database, use the show autonomous-fabric-id database command.

switch# show autonomous-fabric-id database

SWITCH WWN                    Default-AFID
--------------------------------------------------------------
20:00:00:0c:91:90:3e:80          5


Total:   1 entry in default AFID table

SWITCH WWN                    AFID      VSANS
--------------------------------------------------------------
20:00:00:0c:91:90:3e:80          10    1,2,5-8


Total:   1 entry in AFID table

IVR Without IVR NAT or Auto Topology

This section includes the following sections on IVR Without IVR NAT or Auto Topology

IVR Without IVR NAT or Auto Topology Guidelines

Manually Configuring an IVR Topology

IVR Without IVR NAT or Auto Topology Guidelines

Before configuring an IVR SAN fabric without IVR in NAT mode or IVR topology in Auto mode, consider the following general guidelines:

Acquire a mandatory Enterprise License Package or SAN-EXTENSION license package and one active IPS card for this feature.

If you change an FSPF link cost, ensure that the FSPF path distance (the sum of the link costs on the path) of any IVR path is less than 30,000.

IVR-enabled VSANs can be configured when an interop mode is enabled or disabled.

This section also includes the following:

Domain ID Guidelines

Transit VSAN Guidelines

Border Switch Guidelines

Domain ID Guidelines

Before configuring domain IDs, consider the following guidelines:

Configure unique domain IDs across all VSANs and switches participating in IVR operations if you are not using IVR NAT. The following switches participate in IVR operations:

All edge switches in the edge VSANs (source and destination)

All switches in transit VSANs

Minimize the number of switches that require a domain ID assignment. This ensures minimum traffic disruption.

Minimize the coordination between interconnected VSANs when configuring the SAN for the first time as well as when you add each new switch.

You can configure domain IDs using one of two options:

Configure the allowed-domains list so that the domains in different VSANs are non-overlapping on all participating switches and VSANs.

Configure static, non-overlapping domains for each participating switch and VSAN.


Note In a configuration involving IVR without NAT, if one VSAN in the IVR topology is configured with static domain IDs, then the other VSANs (edge or transit) in the topology must be configured with static domain IDs.


Transit VSAN Guidelines

Before configuring transit VSANS, consider the following guidelines:

Besides defining the IVR zone membership, you can choose to specify a set of transit VSANs to provide connectivity between two edge VSANs:

If two edge VSANs in an IVR zone overlap, then a transit VSAN is not required (though, not prohibited) to provide connectivity.

If two edge VSANs in an IVR zone do not overlap, you may need one or more transit VSANs to provide connectivity. Two edge VSANs in an IVR zone will not overlap if IVR is not enabled on a switch that is a member of both the source and destination edge VSANs.

Traffic between the edge VSANs only traverses through the shortest IVR path.

Transit VSAN information is common to all IVR zone sets. Sometimes, a transit VSAN can also act as an edge VSAN in another IVR zone.

Border Switch Guidelines

Before configuring border switches, consider the following guidelines:

Configure IVR only in the relevant border switches.

Border switches require Cisco MDS SAN-OS Release 1.3(1) or later.

A border switch must be a member of two or more VSANs.

A border switch that facilitates IVR communications must be IVR enabled.

IVR can also be enabled on additional border switches to provide redundant paths between active IVR zone members.

The VSAN topology configuration must be updated before a border switch is added or removed.

Manually Configuring and Activating an IVR Topology

You must create the IVR topology on every IVR-enabled switch in the fabric if you have not configured IVR topology in Auto mode. If you choose to manually configure IVR instead of using Auto mode, follow the instructions in this section.

This section includes the following:

Manual Configuration Guidelines

Manually Configuring an IVR Topology

Activating a Manually Configured IVR Topology

Viewing an Active IVR Topology

Manual Configuration Guidelines

Consider the following guidelines when manually configuring an IVR topology:

You can configure a maximum of 128 IVR-enabled switches and 128 distinct VSANs in an IVR topology (see the "Database Merge Guidelines" section on page 1-22).

You will need to specify the IVR topology using the following information:

The switch WWNs of the IVR-enabled switches.

A minimum of two VSANs to which the IVR-enabled switch belongs.

The AFID, which distinguishes two VSANs that are logically and physically separate, but have the same VSAN number. You can specify up to 64 AFIDs. See Figure 2-1.

Figure 2-1 Example IVR Topology with Non-Unique VSAN IDs Using AFIDs

If two VSANs in an IVR topology have the same VSAN ID and different AFIDs, they count as two VSANs for the 128-VSAN limit for IVR.

The use of a single AFID does not allow for segmented VSANs in an inter-VSAN routing topology.

Manually Configuring an IVR Topology

To manually configure an IVR topology using NX-OS, follow these steps:


Note Use the show wwn switch command to obtain the switch WWNs of the IVR-enabled switches.


 
Command
Purpose

Step 1 

switch# config t

Enters configuration mode.

Step 2 

switch(config)# ivr vsan-topology database

switch(config-ivr-topology-db)#

Enters the VSAN topology database configuration mode for the IVR feature.

Step 3 

switch(config-ivr-topology-db)# autonomous-fabric-id 1 switch 20:00:00:05:30:01:1b:b8 vsan-ranges 1-2,6

Configures VSANs 1, 2, and 6 to participate in IVR for this switch.

switch(config-ivr-topology-db)# autonomous-fabric-id 1 switch 20:00:00:05:30:01:1b:c2 vsan-ranges 1-3

Configures VSANs 1, 2 and 3 to participate in IVR for this switch.

switch(config-ivr-topology-db)# no autonomous-fabric-id 1 switch 20:00:00:05:30:01:1b:c2 vsan-ranges 1-2

Removes VSANs 1 and 2 from IVR for this switch.

Step 4 

switch(config-ivr-topology-db)# end

switch#

Reverts to EXEC mode.

View your configured IVR topology using the show ivr vsan-topology command. In the following example output, VSAN 2 is the transit VSAN between VSANs 1, 5, and 6.

switch# show ivr vsan-topology

AFID  SWITCH WWN                 Active   Cfg. VSANS
--------------------------------------------------------------
   1  20:00:00:05:30:01:1b:c2 *   no      yes  1-2
   1  20:02:00:44:22:00:4a:05     no      yes  1-2,6
   1  20:02:00:44:22:00:4a:07     no      yes  2-5

Total:   3 entries in active and configured IVR VSAN-Topology
 
Current Status: Inter-VSAN topology is INACTIVE

Repeat this configuration on all IVR-enabled switches or distribute the IVR configuration using CFS. See the "Distributing the IVR Configuration Using CFS" section on page 1-7.


Tip Transit VSANs are deduced based on your configuration. The IVR feature does not have an explicit transit-VSAN configuration.


Activating a Manually Configured IVR Topology

After manually configuring the IVR topology, you must activate it.


Caution Active IVR topologies cannot be deactivated. You can only switch to IVR topology Auto mode.

To activate a manually configured IVR topology, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

switch(config)#

Enters configuration mode.

Step 2 

switch(config)# ivr vsan-topology activate

Activates the configured IVR topology.

Viewing an Active IVR Topology

View the active IVR topology using the show ivr vsan-topology command.

switch# show ivr vsan-topology
AFID  SWITCH WWN                 Active   Cfg. VSANS
--------------------------------------------------------------
   1  20:00:00:05:30:01:1b:c2 *   yes     yes  1-2
   1  20:02:00:44:22:00:4a:05     yes     yes  1-2,6
   1  20:02:00:44:22:00:4a:07     yes     yes  2-5

Total:   3 entries in active and configured IVR VSAN-Topology

Current Status: Inter-VSAN topology is ACTIVE
Last activation time: Mon Mar 24 07:19:53 2009


Note The asterisk (*) indicates the local switch.


Working With Existing IVR Topologies

This section includes advanced IVR configurations for existing IVR topologies:

Adding an IVR-Enabled Switch to an Existing IVR Topology

Copying the Active IVR Topology

Clearing a Manually Configured IVR Topology

Verifying the IVR Topology

Migrating from IVR Auto Topology Mode to Manual Mode

Adding an IVR-Enabled Switch to an Existing IVR Topology

Before adding an IVR-enabled switch to an existing fabric, you must add an entry to the IVR topology for the new switch and activate the new IVR topology.

To add the IVR-enabled switch to an existing IVR topology, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

switch(config)#

Enters configuration mode.

Step 1 

mds(config)# ivr vsan-topology database

mds(config-ivr-topology-db)#

Enters IVR VSAN topology database configuration submode.

Step 2 

mds(config-ivr-topology-db)# autonomous-fabric-id 1 
switch-wwn 20:00:00:05:40:01:1b:c2 vsan-ranges 1,4

Adds the new IVR-enabled switch to the topology.

Step 3 

switch(config-ivr-topology-db)# exit

switch(config)#

Returns to configuration mode.

Step 4 

switch(config)# ivr vsan-topology activate

Activates the IVR VSAN topology.

Step 5 

switch(config)# ivr commit

Commits the IVR configuration change to the fabric.

Step 6 

switch(config)# exit

switch#

Returns to EXEC mode.

Step 7 

switch# copy running-config startup-config

Saves the running configuration.

After adding the switch to the IVR topology, enable IVR and CFS on the new switch (see the"Enabling IVR" section on page 1-7 and the "Distributing the IVR Configuration Using CFS" section on page 1-7).

Adding VSANs to an Existing IVR Topology

To add VSANs to an existing IVR topology you need to specify all VSANs in the command syntax. Example 2-2 shows an IVR configuration with VSANs 1101-1102 and VSANs 2101-2102. Example 2-2 shows the addition of VSANs 1103 and 2103 to the IVR topology.

Example 2-2 First IVR Configuration with VSANs 1101-1102 and 2101-2102

switch(config)# ivr enable
switch(config)# ivr distribute
switch(config)# ivr vsan-topology database
switch(config-ivr-topology-db)# autonomous-fabric-id    1 switch-wwn 
20:00:00:0d:ec:4a:5e:00 vsan-ranges 1101-1102,1199,3100,3150
switch(config-ivr-topology-db)# autonomous-fabric-id    1 switch-wwn 
20:00:00:0d:ec:4a:5f:00 vsan-ranges 2101-2102,2199,3100,3150
switch(config)# ivr vsan-topology activate

Example 2-3 Adding VSANs 1103 and 2103 to the IVR Configuration

switch(config)# ivr enable
switch(config)# ivr distribute
switch(config)# ivr vsan-topology database
switch(config-ivr-topology-db)# autonomous-fabric-id    1 switch-wwn 
20:00:00:0d:ec:4a:5e:00 vsan-ranges 1101-1103,1199,3100,3150
switch(config-ivr-topology-db)# autonomous-fabric-id    1 switch-wwn 
20:00:00:0d:ec:4a:5f:00 vsan-ranges 2101-2103,2199,3100,3150
switch(config)# ivr vsan-topology activate

Copying the Active IVR Topology

You can edit a manually configured IVR topology; however, you cannot edit an active IVR topology. To copy the active IVR topology database to the manually configure topology, use the following command in EXEC mode:

switch# ivr copy active-topology user-configured-topology

Clearing a Manually Configured IVR Topology

You can only clear manually created IVR VSAN topology entries.

To clear a manually configured IVR VSAN topology database, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

switch(config)#

Enters configuration mode.

Step 2 

switch(config)# no ivr vsan-topology database

Clears the previously created IVR topology.

Verifying the IVR Topology

You can verify the IVR topology by using the show ivr vsan-topology command. See Example 2-4 to Example 2-6.

Example 2-4 Displays the Configured IVR VSAN Topology

switch# show ivr vsan-topology
AFID    SWITCH WWN                 Active   Cfg. VSANS
--------------------------------------------------------------
   1    20:00:00:05:30:01:1b:c2 *   yes     yes  1-2
   1    20:02:00:44:22:00:4a:05     yes     yes  1-2,6
   1    20:02:00:44:22:00:4a:07     yes     yes  2-5

Total:   5 entries in active and configured IVR VSAN-Topology

Current Status: Inter-VSAN topology is ACTIVE
Last activation time: Sat Mar 22 21:46:15 1980


Note The asterisk (*) indicates the local switch.


Example 2-5 Displays the Active IVR VSAN Topology

switch# show ivr vsan-topology active
AFID   SWITCH WWN                 Active   Cfg. VSANS
--------------------------------------------------------------
    1  20:00:00:05:30:01:1b:c2 *   yes     yes  1-2
    1  20:02:00:44:22:00:4a:05     yes     yes  1-2,6
    1  20:02:00:44:22:00:4a:07     yes     yes  2-5

Total:   5 entries in active IVR VSAN-Topology

Current Status: Inter-VSAN topology is ACTIVE
Last activation time: Sat Mar 22 21:46:15 

Example 2-6 Displays the Configured IVR VSAN Topology

switch# show ivr vsan-topology configured
AFID  SWITCH WWN                 Active   Cfg. VSANS
--------------------------------------------------------------
    1  20:00:00:05:30:01:1b:c2 *   yes     yes  1-2
    1  20:02:00:44:22:00:4a:05     yes     yes  1-2,6
    1  20:02:00:44:22:00:4a:07     yes     yes  2-5

Total:   5 entries in configured IVR VSAN-Topology

Migrating from IVR Auto Topology Mode to Manual Mode

If you want to migrate from Auto mode to Manual mode, copy the active IVR VSAN topology database to the user-configured IVR VSAN topology database before switching modes.

To migrate from Auto mode to Manual mode, follow these steps:

 
Command
Purpose

Step 1 

switch# ivr copy auto-topology user-configured-topology

Copies the automatic IVR topology database to the user-configured IVR topology.

Step 2 

switch# config t

switch(config)#

Enters configuration mode.

Step 3 

switch(config)# ivr vsan-topology active

Disabled Auto mode for the IVR topology database and enables user-configuration mode.

Persistent FC IDs for IVR

This section includes the following information:

FC ID Features and Benefits

FC ID Guidelines

Configuring Persistent FC IDs for IVR

Verifying the Persistent FC ID Configuration

FC ID Features and Benefits

FC ID persistence improves IVR management by providing the following features:

Allows you to control and assign a specific virtual domain to use in a native VSAN.

Allows you to control and assign a specific virtual FC ID for a device.

The benefits of persistent FC IDs for IVR are as follows:

Host devices always see the same FC ID for targets.

FC IDs help you plan your SAN layout better by assigning virtual domains for IVR to use.

FC IDs can make SAN monitoring and management easier. When you see the same domain or FC ID consistently assigned, you can readily determine the native VSAN or device to which it refers.

FC ID Guidelines

Before configuring persistent FC IDs, consider the following:

You can configure two types of database entries for persistent IVR FC IDs:

Virtual domain entries—Contain the virtual domain that should be used to represent a native VSAN in a specific VSAN (current VSAN). Virtual domain entries contain the following information:

Native AFID

Native VSAN

Current AFID

Current VSAN

Virtual domain to be used for the native AFID and VSAN in current AFID and VSAN

Virtual FC ID entries—Contain the virtual FC ID that should be used to represent a device in a specific VSAN (current VSAN). Virtual FC ID entries contain the following information:

Port WWN

Current AFID

Current VSAN

Virtual FC ID to be used to represent a device for the given pWWN in the current AFID and VSAN

If you use persistent FC IDs for IVR, we recommend that you use them for all the devices in the IVR zone set. We do not recommend using persistent FC IDs for some of the IVR devices while using automatic allocation for other devices.

IVR NAT must be enabled to use IVR persistent FC IDs.

In an IVR NAT configuration, if one VSAN in the IVR topology is configured with static domain IDs, then the IVR domains that can be exported to that VSAN must also be assigned static domains.

Configuring Persistent FC IDs for IVR

To configure persistent FC IDs for IVR, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

Enters configuration mode.

Step 2 

switch(config)# ivr fcdomain database autonomous-fabric-num 21 vsan 22

switch(config-fcdomain)#

Enters IVR fcdomain database configuration submode for current AFID 21 and VSAN 22.

switch(config)# no ivr fcdomain database autonomous-fabric-num 21 vsan 22

Deletes all the database entries, including all the corresponding persistent FC ID entries, for current AFID 21 and VSAN 22.

Step 3 

switch(config-fcdomain)# native-autonomous-fabric-num 20 native-vsan 11 domain 12

switch(config-fcdomain-fcid)#

Adds or replaces a database entry for native AFID 20, native VSAN 11, and domain 12, and enters IVR fcdomain FC ID configuration submode. Domains of all the corresponding persistent FC ID entries, if any, are also changed to 12.

switch(config-fcdomain)# no native-autonomous-fabric-num 20 native-vsan 11

Deletes the virtual domain entry native AFID 20 and native VSAN 11, and all corresponding FC ID entries.

Step 4 

switch(config-fcdomain-fcid)# pwwn 11:22:33:44:55:66:77:88 fcid 0x114466

Adds or replaces a database entry for mapping the pWWN to the FC ID.

switch(config-fcdomain-fcid)# no pwwn 11:22:33:44:55:66:77:88

Deletes the database entries for the pWWN.

Step 5 

switch(config-fcdomain-fcid)# device-alias SampleName fcid 0x123456

Adds a database entry for mapping the device alias to the FC ID.

switch(config-fcdomain-fcid)# no device-alias SampleName

Deletes the database entries for the device alias.

Verifying the Persistent FC ID Configuration

Verify the persistent FC ID configuration using the show ivr fcdomain database command. See Example 2-7 and Example 2-8

Example 2-7 Displays All IVR fcdomain Database Entries

switch# show ivr fcdomain database
----------------------------------------------------
  AFID  Vsan  Native-AFID  Native-Vsan  Virtual-domain
----------------------------------------------------
    1     2        10          11         0xc(12)
   21    22        20          11         0xc(12)

Number of Virtual-domain entries: 2

----------------------------------------------------
  AFID  Vsan          Pwwn           Virtual-fcid
----------------------------------------------------
   21    22  11:22:33:44:55:66:77:88  0x114466
   21    22  21:22:33:44:55:66:77:88  0x0c4466
   21    22  21:22:33:44:55:66:78:88  0x0c4466

Number of Virtual-fcid entries: 3

Example 2-8 Displays the IVR fcdomain Database Entries for a Specific AFID and VSAN

switch# show ivr fcdomain database autonomous-fabric-num 21 vsan 22
----------------------------------------------------
  AFID  Vsan  Native-AFID  Native-Vsan  Virtual-domain
----------------------------------------------------
   21    22        20          11         0xc(12)

Number of Virtual-domain entries: 1

----------------------------------------------------
  AFID  Vsan          Pwwn           Virtual-fcid
----------------------------------------------------
   21    22  11:22:33:44:55:66:77:88  0x114466
   21    22  21:22:33:44:55:66:77:88  0x0c4466
   21    22  21:22:33:44:55:66:78:88  0x0c4466

Number of Virtual-fcid entries: 3

Advanced IVR Zones and IVR Zone Sets

This section describes advanced configuration information for IVR zones and IVR zone sets. For basic information on configuring IVR zones and zone sets, see the "IVR Zones and IVR Zone Sets" section on page 1-15.

As part of the IVR configuration, you need to configure one or more IVR zone to enable cross-VSAN communication. To achieve this, you must specify each IVR zone as a set of (pWWN, VSAN) entries. Different IVR zone sets can contain the same IVR zone, because IVR zones can be members of one or more IVR zone sets.


Note The same IVR zone set must be activated on all of the IVR-enabled switches.



Caution Prior to Cisco SAN-OS Release 3.0(3) you can only configure a total of 10,000 zone members on all switches in a network. As of Cisco SAN-OS Release 3.0(3) you can only configure a total of 20,000 zone members on all switches in a network. A zone member is counted twice if it exists in two zones. See the Database Merge Guidelines, page 1-22.

This section includes the following topics:

IVR Zone Configuration Guidelines

Configuring LUNs in IVR Zoning

Configuring the QoS Attribute

Verifying the QoS Attribute For an IVR Zone

Renaming IVR Zones and IVR Zone Sets

Clearing the Configured IVR Zone Database

Configuring IVR Using Read-Only Zoning

IVR Zone Configuration Guidelines

When interop mode is enabled, consider the following IVR configuration guidelines:

When a member's native VSAN is in interop mode (for example, when the interop mode is 2, 3, or 4), then ReadOnly, the QoS attribute, and LUN zoning are not permitted.

When a member's VSAN is already in interop mode and an attempt is made to configure ReadOnly, the QoS attribute, or LUN zoning, a warning message is displayed to indicate that the configuration is not permitted.

When you configure ReadOnly, the QoS attribute, or LUN zoning first, and then change the member's VSAN interop mode, a warning message is displayed to indicate the configuration is not permitted. You are then prompted to change the configuration.

Example 2-9 shows samples of the warning messages that are displayed when configuration changes are made that affect ReadOnly, the QoS attribute, and LUN zoning.

Example 2-9 IVR Zone Configuration Warning Messages

switch(config)# vsan database
switch(config-vsan-db)# vsan 2
switch(config-vsan-db)# vsan 2 interop 2
switch(config-vsan-db)# exit

switch(config)# ivr zoneset name ivr_zs1 switch(config-ivr-zoneset)# zone name ivr_z1 
switch(config-ivr-zoneset-zone)# member pwwn 21:00:00:14:c3:3d:45:22 lun 0x32 vsan 2 VSAN 
is in interop mode, and LUN zoning cannot be set.

switch(config)# ivr zoneset name ivr_zs1 switch(config-ivr-zoneset)# zone name ivr_z1 
switch(config-ivr-zoneset-zone)# member pwwn 21:00:00:14:c3:3d:45:22 vsan 2 
switch(config-ivr-zoneset-zone)# attribute read-only VSAN is in interop mode and zone 
member has been configured, zone cannot be set to READ-ONLY.
switch(config-ivr-zoneset-zone)# attribute qos priority medium VSAN is in interop mode and 
zone member has been configured, QoS cannot be assigned to zone.

Configuring LUNs in IVR Zoning

LUN zoning can be used between members of active IVR zones.You can configure the service by creating and activating LUN zones between the desired IVR zone members in all relevant edge VSANs using the zoning interface or you can use LUN zoning directly supported by IVR. For more details on the advantages of LUN zoning, refer to the Cisco MDS 9000 Family NX-OS Fabric Configuration Guide or the Cisco Fabric Manager Fabric Configuration Guide.

To configure LUNs in IVR zoning, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

switch(config)#

Enters configuration mode.

Step 2 

switch(config)# ivr zone name IvrLunZone

switch(config-ivr-zone)#

Configures an IVR zone called IvrLunZone.

Step 3 

switch(config-ivr-zone)# member pwwn 10:00:00:23:45:67:89:ab lun 0x64 vsan 10

Configures an IVR zone member based on the specified pWWN and LUN value.

Note The CLI interprets the LUN identifier value as a hexadecimal value whether or not the 0x prefix is included.

switch(config-ivr-zone)# member pwwn 10:00:00:23:45:67:89:ab lun 0x64 vsan 10 autonomous-fabric-id 20

Configures an IVR zone member based on the specified pWWN, LUN value, and AFID.

switch(config-ivr-zone)# no member pwwn 20:81:00:0c:85:90:3e:80 lun 0x32 vsan 13 autonomous-fabric-id 10

Removes an IVR zone member.


Note You can configure LUN zoning in an IVR zone set setup.


Configuring the QoS Attribute

To configure the QoS attribute for an IVR zone, follow these steps:

 
Command
Purpose

Step 1 

switch# config t

switch(config)#

Enters configuration mode.

Step 2 

switch(config)# ivr zone name IvrZone

switch(config-ivr-zone)#

Configures an IVR zone called IvrZone.

Step 3 

switch(config-ivr-zone)# attribute qos priority medium

Configures the QoS for IVR zone traffic to medium.

switch(config-ivr-zone)# no attribute qos priority medium

Reverts to the default QoS setting. The default is low.


Note If other QoS attributes are configured, the highest setting takes priority.


Verifying the QoS Attribute For an IVR Zone

Use the show ivr zone command to verify the QoS attribute for an IVR zone.

switch(config)# show ivr zone

zone name IvrZone
    attribute qos priority medium

Renaming IVR Zones and IVR Zone Sets

To rename an IVR zone, use the ivr zone rename command in EXEC mode.

switch# ivr zone rename ivrzone1 ivrzone2

To rename an IVR zone set, use the ivr zoneset rename command in EXEC mode.

switch# ivr zoneset rename ivrzone1 ivrzone2

Clearing the Configured IVR Zone Database

Clearing a zone set erases the configured zone database, not the active zone database.

To clear the configured IVR zone database, use the clear ivr zone database command.

 
Command
Purpose

Step 1 

switch# clear ivr zone database

switch(config)#

This command clears all configured IVR zone information.

Step 2 

switch# copy running-config startup-config

To ensure that the running configuration is used when you next start the switch, issue the copy running-config startup-config command.

Configuring IVR Using Read-Only Zoning

Read-only zoning (with or without LUNs) can be used between members of active IVR zones. To configure this service, you must create and activate read-only zones between the desired IVR zone members in all relevant edge VSANs using the zoning interface.


Note Read-only zoning cannot be configured in an IVR zone set setup.