The following example program shows the CL commands used to define the configuration for the system that is identified as MPLS (NN2 in Figure 7). The example shows these commands used within a CL program; the configuration can also be performed using the configuration menus.
/*********************************************************************/ /* */ /* MODULE: MPLSINT LIBRARY: PUBSCFGS */ /* */ /* LANGUAGE: CL */ /* */ /* FUNCTION: CONFIGURES APPN NETWORK: */ /* */ /* THIS IS: MPLS TO CHICAGO (nonswitched) */ /* */ /* */ /*********************************************************************/ PGM /* Change network attributes for MPLS */ CHGNETA LCLNETID(APPN) LCLCPNAME(MPLS) + LCLLOCNAME(MPLS) NODETYPE(*NETNODE) /*********************************************************************/ /* MPLS TO CHICAGO */ /*********************************************************************/ /* Create line description for MPLS to CHICAGO */ CRTLINSDLC LIND(CHICAGO) RSRCNAME(LIN022) /* Create controller description for MPLS to CHICAGO */ CRTCTLAPPC CTLD(CHICAGO) LINKTYPE(*SDLC) LINE(CHICAGO) + RMTNETID(APPN) RMTCPNAME(CHICAGO) + STNADR(01) NODETYPE(*NETNODE) ENDPGM