Use the delete command to delete an entity or an instance of an entity. As with create, most entities support the delete command; however, some entities are deleted automatically by software, and so do not support the delete command. For example, entities that correspond to communications links are usually deleted dynamically as these links are closed. You cannot delete an entity if it has child entities; you must delete all child entities before you can delete the parent entity. It is usually, though not always, the case that you must disable an entity before you can delete it.
1 – alias (OpenVMS)
Deletes the alias module. delete [node node-id] alias
1.1 – Exception Messages
o module enabled Disable the alias entity before trying to delete it.
1.2 – port
delete [node node-id] alias port port-name NOTE Disable routing before manually deleting an alias port. Example: delete alias port dec:.lkg.bulean
1.2.1 – Exception messages
o cannot delete the entity while it is enabled Disable the alias port entity before trying to delete it.
2 – csma-cd
delete [node node-id] csma-cd
2.1 – Exception Messages
o has children (Tru64 UNIX) Cannot delete while subentities exist. o cannot delete while subentities exist (OpenVMS) Cannot delete while csma station subentities exist.
2.2 – station
delete [node node-id] csma-cd station station-name Example: delete csma station csmacd-1
2.2.1 – Exception Messages
o station in use (Tru64 UNIX) Attempt to delete the csma-cd station entity failed because there is at least one active port still associated with this station. You must wait until the ports go away to delete this station. o wrong state The csma-cd station must be disabled before deletion.
3 – ddcmp (OpenVMS VAX)
delete [node node-id] ddcmp
3.1 – link
delete [node node-id] ddcmp link link-name Example: delete ddcmp link ddcmp-0
3.1.1 – Exception Messages
o Cannot delete while subentities exist. Cannot delete the link until its logical station subentities have been disabled and deleted. o wrong state The link must be disabled before deletion.
3.1.2 – logical_station
delete [node node-id] ddcmp link link-name - logical station station-name Example: delete ddcmp link ddcmp-0 logical station ddcmp-0
3.1.2.1 – Exception Messages
o wrong state The logical station must be disabled before deletion.
4 – device
delete [node node-id] device
4.1 – Exception Messages
o has children Cannot delete while subentities exist.
4.2 – unit
delete [node node-id] device unit simple-name
5 – dns
5.1 – clerk
delete [node node-id] dns clerk Deletes the DECdns clerk on the specified node. You must disable a clerk before you delete it (see the disable command). You can also enter this command through the dns$control utility. You must have the NET$MANAGE rights identifier (OpenVMS systems) or superuser privileges (Tru64 Unix systems).
5.1.1 – known_namespace
delete [node node-id] dns clerk - known namespace namespace-ident Removes a namespace from a specified clerk's list of known namespaces. The namespace-identifier is required. You can use one of the following: name The name of the namespace. The name argument may be different from the nickname if the nickname is ambiguous. nscts The value of the namespace creation timestamp (NSCTS) assigned to the specified namespace when it was created. The format is 14 pairs of hex digits (xx-xx). You must have the NET$MANAGE rights identifier (OpenVMS systems) or superuser privileges (Tru64 Unix systems). NOTE You are not permitted to delete the known namespace that is currently the default namespace (that is, the one shown by show dns clerk default namespace). The following command removes the namespace with the name jns from the clerk's list of known namespaces. delete dns clerk known namespace jns
5.1.2 – manual_nameserver
delete [node node-id] dns clerk - manual nameserver name Removes the knowledge of a server that exists across a WAN from the local clerk's cache. You can also enter this command through the dns$control utility. You must have the NET$MANAGE rights identifier (OpenVMS systems) or superuser privileges (Tru64 Unix systems). The following command removes knowledge of server nrl from the clerk cache on node .mfg.umbriel: delete node .mfg.umbriel dns clerk manual nameserver nrl
5.2 – server
delete [node node-id] dns server Deletes the DECdns server on the specified node and reclaims all server resources except clearinghouses, which remain. You must disable a server before you can delete it. You can also enter this command through the dns$control utility. You must have the NET$MANAGE rights identifier (OpenVMS systems) or superuser privileges (Tru64 Unix systems). The following command deletes the DECdns server from node .mfg.polaris: delete node .mfg.polaris dns server
5.2.1 – clearinghouse
delete [node node-id] dns server clearinghouse clearinghouse-name Deletes a clearinghouse on the specified node. You must disable a clearinghouse before you can delete it. You can also enter this command through the dns$control utility. This command also automatically deletes all read-only replicas from the clearinghouse when executed. DECdns does not permit you to delete a clearinghouse that contains a master replica. You must have delete access to the directories in the clearinghouse as well as to the clearinghouse. You must have the NET$MANAGE rights identifier (OpenVMS systems) or superuser privileges (Tru64 Unix systems). The following command deletes a clearinghouse named .sales.ny_ch from the node .sales.orion. delete node .sales.orion dns server clearinghouse .sales.ny_ch
6 – dtss
delete [node node-id] dtss
7 – event_dispatcher
7.1 – outbound_stream
delete [node node-id] event dispatcher - outbound stream simple-name Example: delete event dispatcher outbound stream local_stream
7.1.1 – Exception Messages
o wrong state The operation failed because the entity was not in an off state.
7.2 – relay
delete [node node-id] event dispatcher relay
7.2.1 – Exception Messages
o entity has children Cannot delete while subentities exist. o wrong state The relay must be disabled before deletion.
7.3 – sink
delete [node node-id] event dispatcher sink simple-name Example: delete event dispatcher sink local_sink
7.3.1 – Exception Messages
o has children Cannot delete while subentities exist. o wrong state The sink must be disabled before deletion.
8 – fddi
delete [node node-id] fddi
8.1 – Exception Messages
o has children Cannot delete while subentities exist. FDDI Stations must be disabled and deleted before the FDDI module can be deleted.
8.2 – station
delete [node node-id] fddi station station-name Example: delete fddi station fddi-1
8.2.1 – Exception Messages
o wrong state The station must be disabled before deletion.
9 – frame (OpenVMS)
delete [node node-id] frame
9.1 – link
delete [node node-id] frame link frame-link-id Example: delete frame link frame-0
10 – hdlc
delete [node node-id] hdlc
10.1 – link
delete [node node-id] hdlc link link-name Example: delete hdlc link hdlc-0
10.1.1 – Exception Messages
o wrong state The logical station must be disabled before deletion. o has children Cannot delete while subentities exist. The Logical Station subentities must be disabled and deleted before this link can be deleted. o link enabled The link is still enabled. Disable the link and reissue the delete command.
10.1.2 – logical_station
delete [node node-id] hdlc link link-name - logical station logical-station-name Example: delete hdlc link hdlc-0 logical station hdlc-0
11 – lapb
delete [node node-id] lapb
11.1 – link
delete [node node-id] lapb link simple-name Example: delete lapb link link-0
12 – llc2
delete [node node-id] llc2
12.1 – sap
delete [node node-id] llc2 sap simple-name Example: delete llc2 sap sap-0
12.1.1 – link
delete [node node-id] llc2 sap simple-name - link simple-name Example: delete llc2 sap sap-0 link dte-1
13 – modem_connect
delete [node node-id] modem connect
13.1 – Exception Messages
o has children The modem connect entity has subentities. You must delete these subentities before you can delete the modem connect entity.
13.2 – line
delete [node node-id] modem connect line line-name Example: delete modem connect line DSY-0-0
14 – mop
delete [node node-id] mop
14.1 – Exception Messages
o has children Cannot delete while subentities exist. MOP Client Circuits and Clients must be deleted before the MOP Module can be deleted.
14.2 – circuit
delete [node node-id] mop circuit circuit-name Example: delete mop circuit csmacd-1
14.2.1 – Exception Messages
o has children Cannot delete while MOP Circuit Operation or Station subentities exist.
14.3 – client
delete [node node-id] mop client client-name Example: delete mop client lamchp
15 – nsp
delete [node node-id] nsp
15.1 – Exception Messages
o Wrong State You cannot delete the entity while it is enabled.
16 – osak
Deletes an OSAK entity and reclaims the resources associated with it. The entity must be in the NotAvailable state before it can be deleted. delete [node node-id] osak
16.1 – Exception Messages
o subentity exists Cannot delete while subentities exist. o wrong state The osak entity is in the wrong state for the command you have tried to use on it. The text accompanying the exception message specifies which command has failed.
16.2 – application (OpenVMS)
delete [node node-id] osak application "presentation address" Example: delete osak application "'0001'H/'0001'H/'0004'H/NS+21,CLNS"
16.2.1 – Exception Messages
o wrong state Disable the osak application before trying to delete it.
16.2.2 – invocation (OpenVMS)
delete [node node-id] osak - application "presentation address" - invocation invocation-identifier Example: delete osak application "'0001'H/'0001'H/'0004'H/NS+21,CLNS" - invocation [AP_Invocation = -1, AE_Invocation = -1]
16.2.2.1 – Exception Messages
o wrong state You cannot delete an osak application invocation entity when it still has open ports.
17 – osi_transport
delete [node node-id] osi transport
17.1 – Exception Messages
o wrong state Disable the osi transport entity before trying to delete it.
17.2 – application (OpenVMS)
delete [node node-id] osi transport application application-name Example: delete osi transport application osit$ivp
17.3 – template
delete [node node-id] osi transport template template-id Example: delete osi transport template osit$rfc1006
17.3.1 – Exception Messages
o cannot delete default template Attempt to delete the osi transport template entity failed because the template named Default cannot be deleted.
18 – routing
delete [node node-id] routing
18.1 – Exception Messages
o wrong state Routing module cannot be deleted when it is enabled. o has children Cannot delete while subentities exist.
18.2 – circuit
delete [node node-id] routing circuit circuit-name Example: delete routing circuit csmacd-1
18.2.1 – adjacency
delete [node node-id] routing circuit circuit-name - adjacency adjacency-name Example: delete routing circuit csmacd-1 adjacency RTG$0001
18.2.1.1 – Exception Messages
o deletion not permitted An attempt has been made to delete an automatic adjacency, or an adjacency on a circuit that is not a dynamically assigned X.25 circuit.
18.2.2 – reachable_address
delete [node node-id] routing circuit circuit-name - reachable address simple-name Example: delete routing circuit csmacd-1 reachable address to-bulean
18.3 – egp_group
delete [node node-id] routing egp group group-name
18.3.1 – egp_neighbor
delete [node node-id] routing egp group group-name - egp neighbor neighbor-name
18.4 – permitted_neighbor
delete [node node-id] routing permitted neighbor neighbor-name
19 – session_control
Supported only on Tru64 UNIX: delete [node node-id] session control
19.1 – Exception Messages
o wrong state Disable the session control entity before trying to delete it.
19.2 – application
delete [node node-id] session control - application application-name Example: delete session control application SMISERVER
19.3 – backtranslation_softlink
Removes a backtranslation softlink subentity from the session control database on the specified node. delete [node node-id] session control - backtranslation softlink softlinkname Note that this command does NOT remove the softlink from the DECdns namespace, which may be done using the DNS$CONTROL. The softlink must be removed from the DECdns namespace in order to prevent other nodes from using this backtranslation. In other words, until the softlink is corrected in the DECdns namespace, other nodes may use this backtranslation softlink, thus associating this address with the wrong target node. Example: delete session control backtranslation softlink - ! Represents DEC:.DNA_BACKTRANSLATION.%X49.%X0004.%XAA0004007413 ! DECnet ! address 24.36 delete session control backtranslation softlink - ! On OpenVMS only, DEC:.DNA_BACKTRANSLATION.%XA1725E3E ! deletes the ! softlink for ! IP address ! 161.114.94.62
19.4 – port
delete [node node id] session control port port-name Example: delete session control port SCL$PORT$1202002C
19.5 – proxy (Tru64 UNIX)
delete [node node-id] session control proxy name Name is a simple name assigned to a particular entity instance. The name is the management identifier for the proxy database entry and is kept unique among the entries in this database maintained by Session Control.
19.6 – tower_maintenance
delete [node node-id] session control tower maintenance fullname Example: delete session control tower maintenance DEC:.LKG.FALSE
19.7 – transport_service
delete [node node-id] session control - transport service transport-name Examples: delete session control transport service OSI delete session control transport service NSP
19.7.1 – Exception Message
o wrong state (Tru64 UNIX) This entity cannot be deleted while there are connections using this transport.
20 – token ring (Tru64 UNIX)
delete [node node-id] token ring
20.1 – Exception Messages
o has children Cannot delete while subentities exist.
20.2 – station
delete [node node-id] token ring station station-name
20.2.1 – Exception Messages
o wrong state Failure to delete the token ring station entity because the station must be disabled before deletion.
20.2.2 – FA map
delete [node node-id] token ring station station-name - FA map famap-id
20.2.3 – source_route
delete [node node-id] token ring station station-name - source route sourceroute-id
21 – x25_access
delete [node node-id] x25 access
21.1 – application
delete [node node-id] x25 access application application-name Example: delete x25 access application X25_MAIL
21.2 – dte_class
delete [node node-id] x25 access dte class class-name Example: delete x25 access dte class REMOTE-CLASS-0
21.2.1 – Exception Messages
o inbound DTE class The DTE Class is referenced by an enabled DTE.
21.3 – filter
delete [node node-id] x25 access filter filter-name Example: delete x25 access filter X29
21.4 – reachable_address
delete [node node-id] x25 access reachable address address-name Example: delete x25 access reachable address x121
21.5 – security_dte_class
delete [node node-id] x25 access security dte class class-name
21.5.1 – remote_dte
delete [node node-id] x25 access - security dte class class-name - remote dte dte-name
21.6 – security_filter
delete [node node-id] x25 access - security filter filter-name Example: delete x25 access security filter APPL_APPLICATION_0
21.7 – template
delete [node node-id] x25 access template template-name Example: delete x25 access template TEMPLATE-0
22 – x25 client (OpenVMS)
delete [node node-id] x25 client
23 – x25_protocol
delete [node node-id] x25 protocol
23.1 – dte
delete [node node-id] x25 protocol dte dte-name Example: delete x25 protocol dte dte-0
23.1.1 – pvc
delete [node node-id] x25 protocol - dte dte-name pvc pvc-name Example: delete x25 protocol dte dte-0 pvc PVC-0
23.2 – group
delete [node node-id] x25 protocol group group-name Example: delete x25 protocol group GROUP-0
23.2.1 – Exception Messages
o referenced dte enabled One or more of the DTEs referenced by this group is still enabled.
24 – x25 relay (Alpha)
delete [node node-id] x25 relay
24.1 – client
delete [node node-id] x25 relay client client-name
24.1.1 – Exception Messages
o has active connections One or more active connections exist on this client.
24.2 – pvc
delete [node node-id] x25 relay pvc pvc-name
25 – x25_server
delete [node node-id] x25 server
25.1 – client
delete [node node-id] x25 server client simple-name
25.2 – security_nodes
delete [node node-id] x25 server - security nodes simple-name
26 – xot (OpenVMS Alpha)
Deletes the X.25 Over TCP/IP (XOT) module. delete [node node-id] xot Before the XOT module can be deleted, all of its associated SAPs and LINKs must be disabled and deleted. Example: show xot sap * state ! To find all SAPs and their states show xot sap sap-0 link * state ! To find all links for a SAP disable xot sap sap-0 link link-0 ! All links must be disabled/deleted delete xot sap sap-0 link link-0 disable xot sap sap-0 ! All SAPs must be disabled/deleted delete xot sap sap-0 delete xot ! Before XOT itself can be deleted
26.1 – Exception Messages
o has children The XOT module cannot be deleted when it has active subentities.
26.2 – sap
Deletes a disabled Service Access Point (SAP) entity. Sap-name is a simple name that uniquely identifies a particular SAP instance. delete [node node-id] xot sap sap-name Before a SAP can be deleted, all of its associated LINK entities must be disabled and deleted. Example: show xot sap * - local ip addr, state ! Identifies the sap to delete. show xot sap sap-0 link * ! There can be no link subentities disable xot sap sap-0 ! and SAP must be disabled delete xot sap sap-0 ! before the SAP can be deleted.
26.2.1 – link
Deletes a previously disabled LINK entity, which represents a remote system with which XOT is allowed to communicate. The sap-name and link-name are simple names which uniquely identify particular SAP and LINK instances. delete [node node-id] xot sap sap-name link link-name Example: show xot sap sap-0 link * - ! Finds link to delete. remote ip address, state disable xot sap sap-0 link link-0 ! LINK must be disabled delete xot sap sap-0 link link-0 ! before deletion.
26.2.1.1 – Exception messages
o wrong state The XOT SAP LINK entity must be disabled before it can be deleted.
26.2.2 – Exception Messages
o wrong state The XOT SAP entity must be disabled before it can be deleted. o has children The XOT SAP entity cannot be deleted when it has LINK subentities.