zoneset activate

Use zoneset activate to activate a zone set and distribute it to the entire fabric.

Use undo zoneset activate to delete an active zone set and distribute the deletion to the entire fabric.

Syntax

zoneset activate name zoneset-name

undo zoneset activate

Views

VSAN view

Predefined user roles

network-admin

Parameters

name zoneset-name: Specifies the zone set to be activated by its name, a case-sensitive string of 1 to 64 characters. This name can contain letters (uppercase and lowercase), numbers, and special symbols (see Table 34). It must start with a letter.

Usage guidelines

Only FCF switches and VSANs operating in FCF mode support this command.

Each VSAN can have multiple zone sets. However, only one zone set can be active at a time. It is called the active zone set. The active zone set must contain at least one N_Port member and determines access control over N_Ports.

The system prints a log message if the distribution fails because of a network fault. To ensure a consistent active zone set across the fabric, reactivate the zone set after the network fault is fixed.

The distribution type specified by using the zoneset distribute full command applies to distribution operations triggered by the zoneset activate command.

In basic zoning mode, if the size of the zone set to be activated exceeds the system limit, the activation fails.

Examples

# Create a zone named z1.

<Sysname> system-view
[Sysname] vsan 1
[Sysname-vsan1] zone name z1

# Add an N_Port with FC address 010000 to zone z1.

[Sysname-vsan1-zone-z1] member fcid 010000
[Sysname-vsan1-zone-z1] quit

# Create a zone set named zs1.

[Sysname-vsan1] zoneset name zs1

# Add zone z1 to zone set zs1.

[Sysname-vsan1-zoneset-zs1] member z1
[Sysname-vsan1-zoneset-zs1] quit

# Activate zone set zs1 and distribute it to the entire fabric.

[Sysname-vsan1] zoneset activate name zs1

Related commands

display zoneset active

zoneset distribute full