All MIBs › CISCO-ZS-MIB › zoneCompactZones
zoneCompactZones
Module: CISCO-ZS-MIB
OID (symbolic): CISCO-ZS-MIB::zoneCompactZones
OID (numeric): 1.3.6.1.4.1.9.9.294.1.1.40.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Setting this object to 'compact' will result in compaction of the zones that are associated to zonesets on this VSAN.
Zones present in higher bitmaps will be moved down so that the holes in the lowest zones are filled. As a result of this, the ids of the corresponding zones are changed and a management station should re-read the zoneTable. If such a compaction is not possible or the zones are already compacted, the SET operation will result in error.
If a compaction operation goes through successfully, then the notification zoneCompactNotify is generated.
Setting this object to 'noop', will result in no action being taken.
The value of this object when read is always 'noop'.
What is zoneCompactZones?
This read-write INTEGER, set to compact(1), reclaims gaps across all zones associated with zonesets on this VSAN (not just the lowest 2048), moving higher-numbered zones down to fill holes and changing their IDs, which again requires a management station to re-read zoneTable; noop(2) does nothing. It gives an admin a broader compaction option than zoneCompactFirst2k when fragmentation is spread across the entire zone ID range. For example, after a bulk zone cleanup script deletes zones scattered throughout the ID space, the admin sets this object to compact(1) to defragment the whole range in one operation.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.294.1.1.40.1.2 snmpwalk -v2c -c public <target> CISCO-ZS-MIB::zoneCompactZones
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.294.1.1.40.1.2.1 snmpget -v2c -c public <target> CISCO-ZS-MIB::zoneCompactZones.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.294.1.1.40.1.2.1 i <value>
Start monitoring Cisco MDS 9148V/9396V Fibre Channel switches (zoning) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-ZS-MIB::zoneCompactZones OID value, configure state conditions and alerts, and monitor any Cisco MDS 9148V/9396V Fibre Channel switches (zoning) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.294 | ciscoZsMIB | CISCO-ZS-MIB |
| 1.3.6.1.4.1.9.9.294.1 | ciscoZoningMIBObjects | CISCO-ZS-MIB |
| 1.3.6.1.4.1.9.9.294.1.1 | zoneConfiguration | CISCO-ZS-MIB |
| 1.3.6.1.4.1.9.9.294.1.1.40 | zoneCompactTable | CISCO-ZS-MIB |
| 1.3.6.1.4.1.9.9.294.1.1.40.1 | zoneCompactEntry | CISCO-ZS-MIB |
| 1.3.6.1.4.1.9.9.294.1.1.40.1.2 | zoneCompactZones | CISCO-ZS-MIB |