Syntax
SET -APPN LinkStaCONTrol = <LinkName> <Activate | Deactivate [Orderly | Immediate]>
SHow -APPN LinkStaCONTrol [linkname]
No default
The LinkStaCONTrol parameter dynamically activates or deactivates a specific link without taking the physical port up or down. (To take an APPN port up or down, use the PortCONTrol parameter described in this chapter.) This parameter activates and deactivates both regular adjacent link stations and DLUr link stations. To display the names of the links to any adjacent link stations, and the status of those links, use the SHow command.
This parameter uses the SET command, which means the changes you make are dynamic to that link.
Values
To deactivate a link on port 3 named "LINK002" and take the sessions down in an orderly manner, enter:
SET !3 -APPN LinkStaCONTrol = LINK002 Deactivate Orderly
CONLOSER CP-CP SESSION WITH US3COMHQ.GOLD IS UP
CONWINNER CP-CP SESSION WITH US3COMHQ.GOLD IS UP
To reactivate a link to an adjacent link station you previously deactivated, use:
SET !<port> -APPN LinkStaCONTrol
SET !3 -APPN LinkStaCONTrol = LINK002 Activate
WARNING: Port is not active. Use set !<port> -appn PortCONTrol = Activate
The following is an example of the display obtained using the SHow LinkStaCONTrol command. The display shows adjacent link stations, DLUr link stations, and link stations learned from remote sites. Table 26 describes the meanings of the headings and status messages included in the display.