Sun Microsystems 5602 用户手册

下载
页码 324
A – Command Line Interface
Zoneset Command
A-132
59097-01 A
0
list
Displays a list of all zone sets. This keyword does not require an Admin session.
remove [zone_set] [zone_list]
Removes a list of zones given by [zone_list] from the zone set given by 
[zone_set]. Use a <space> to delimit zone names in [zone_list]. If [zone_set] is the 
active zone set, the zone will not be removed until the zone set has been 
deactivated.
rename [zone_set_old] [zone_set_new]
Renames the zone set given by [zone_set_old] to the name given by 
[zone_set_new]. You can rename the active zone set. 
zones [zone_set]
Displays all zones that are components of the zone set given by [zone_set]. This 
keyword does not require an Admin session.
Notes
„
A zone set must be active for its definitions to be applied to the fabric.
„
Only one zone set can be active at one time.
„
A zone can be a component of more than one zone set.
Examples
The following is an example of the Zoneset Active command:
SANbox Manager #> zoneset active
  ActiveZoneSet    Bets
  LastActivatedBy  admin@OB-session6
  LastActivatedOn  day month date time year
The following is an example of the Zoneset List command:
SANbox Manager #> zoneset list
  Current List of ZoneSets
  ------------------------
  alpha
  beta
The following is an example of the Zoneset Zones command:
SANbox Manager #> zoneset zones ssss
  Current List of Zones for ZoneSet: ssss
  ----------------------------------
  zone1
  zone2
  zone3