Using the Node Management Services (NMS) Utilities (32022-90053)

116 Chapter5
Using NMMGR in Maintenance Mode
PURGECONF
PURGECONF
Deletes subtrees of records from the configuration file.
Syntax
PURGECONF [pathname]
Parameters
pathname The name of a path in the configuration file that
describes the location of the desired subtree. It is
composed of one to eight path identifiers separated by
periods. The format for the pathname is:
pathid.pathid.pathid...
The last pathid specified must not exist in the
configuration file. The second to last pathid must exist.
Description
PURGECONF purges records from the configuration file. It functions in
the same way as the DELETE function key on screens (like the
NETXPORT.NI screen) that require you to delete, rename, add, or
modify a configuration subtree. Note that the subtree will be purged
whether or not it contains data.
See also ADDCONF, READCONF, READALLCONF, VERSIONCONF,
WRITECONF, and UPDATECONF.
Example
NMMGR> ADDCONF netxport.ni.newname lan
NMMGR> WRITECONF outbuf,256
NMMGR> UPDATECONF
NMMGR> PURGECONF netxport.ni.oldname