76 lines
4.7 KiB
HTML
76 lines
4.7 KiB
HTML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="dc.language" scheme="rfc1766" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<meta name="dc.date" scheme="iso8601" content="2005-10-03" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow"/>
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<title>Example: Configure network node 2 (Minneapolis)</title>
|
||
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
||
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
||
|
|
||
|
|
||
|
<a name="mn1"></a>
|
||
|
<h5 id="mn1">Example: Configure network node 2 (Minneapolis)</h5>
|
||
|
<p>The following example program shows the CL commands that are used to define
|
||
|
the configuration for the system that is identified as MPLS (NN2 in <a href="rzahjex2net.htm#chimult">Figure 5</a>). The example shows these commands as used within a CL program;
|
||
|
the configuration can also be performed using the configuration menus. </p>
|
||
|
<a name="wq68"></a>
|
||
|
<div class="notetitle" id="wq68">Note:</div>
|
||
|
<div class="notebody">Read the <a href="rzahj00002.htm#codedisclaimer">code disclaimer information</a> for important legal information.</div>
|
||
|
<pre class="xmp">/*********************************************************************/
|
||
|
/* */
|
||
|
/* MODULE: MPLS LIBRARY: PUBSCFGS */
|
||
|
/* */
|
||
|
/* LANGUAGE: CL */
|
||
|
/* */
|
||
|
/* FUNCTION: CONFIGURES APPN NETWORK: */
|
||
|
/* */
|
||
|
/* THIS IS: MPLS TO CHICAGO (nonswitched) */
|
||
|
/* MPLS TO CHICAGO (switched) */
|
||
|
/* */
|
||
|
/* */
|
||
|
/*********************************************************************/
|
||
|
PGM
|
||
|
/* Change network attributes for MPLS */
|
||
|
CHGNETA LCLNETID(APPN) LCLCPNAME(MPLS) +
|
||
|
LCLLOCNAME(MPLS) NODETYPE(*NETNODE)
|
||
|
/*********************************************************************/
|
||
|
/* MPLS TO CHICAGO (nonswitched) */
|
||
|
/*********************************************************************/
|
||
|
/* Create line description for MPLS to CHICAGO */
|
||
|
CRTLINSDLC LIND(CHICAGOL) RSRCNAME(LIN022)
|
||
|
/* Create controller description for MPLS to CHICAGO */
|
||
|
CRTCTLAPPC CTLD(CHICAGOL) LINKTYPE(*SDLC) LINE(CHICAGOL) +
|
||
|
RMTNETID(APPN) RMTCPNAME(CHICAGO) +
|
||
|
STNADR(01) NODETYPE(*NETNODE)
|
||
|
/*********************************************************************/
|
||
|
/* MPLS TO CHICAGO (switched) */
|
||
|
/*********************************************************************/
|
||
|
/* Create switched line description for MPLS to CHICAGO */
|
||
|
CRTLINSDLC LIND(CHICAGOS) RSRCNAME(LIN031) CNN(*SWTPP) +
|
||
|
AUTOANS(*NO) STNADR(01)
|
||
|
/* Create controller description for MPLS TO CHICAGO */
|
||
|
CRTCTLAPPC CTLD(CHICAGOS) LINKTYPE(*SDLC) SWITCHED(*YES) +
|
||
|
SWTLINLST(CHICAGOS) RMTNETID(APPN) +
|
||
|
RMTCPNAME(CHICAGO) INLCNN(*ANS) +
|
||
|
CNNNBR(3125551111) STNADR(01) TMSGRPNBR(3) +
|
||
|
NODETYPE(*NETNODE)
|
||
|
ENDPGM</pre>
|
||
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
||
|
</body>
|
||
|
</html>
|