cancel
Showing results for 
Search instead for 
Did you mean: 
sja
Level 16

Help with NCM CCT interface parameter

Hi

I need help with CCT

I have siteid@ parameter that I use in interface/ ip config

I have issues with population in a Ip....

@hostname

@SITEID

**********************************************

hostname @hostname

interface Loopback0

ip address 10.0.@SITEID.100 255.255.255.255

/*

.CHANGE_TEMPLATE_DESCRIPTION

        Change Lon Cisco IOS devices

.CHANGE_TEMPLATE_TAGS

Cisco

.PLATFORM_DESCRIPTION

        Cisco IOS

.PARAMETER_LABEL @ContextNode

        NCM Node

.PARAMETER_DESCRIPTION @ContextNode

        The node

.PARAMETER_DESCRIPTION @hostname

        The node hostname

.PARAMETER_LABEL @hostname

        hostname

.PARAMETER_LABEL @SITEID

        Site

.PARAMETER_DESCRIPTION @SITEID

        Enter new site id

*/

script ChangeR1CiscoIOS (

                                           NCM.Nodes @ContextNode,

                                           string @hostname,

                                           string @SITEID      )

{

  CLI

  {

   configure terminal

hostname @hostname

!

interface Loopback0

ip address 10.0.(@SITEID).100 255.255.255.255

!

    exit

  }

}

I get

configure terminal

hostname R1

!

interface Loopback0

ip address 10.0.(76. 255.255.255.255

!

Why ?

Labels (1)
0 Kudos
1 Reply
sja
Level 16

Re: NCM CCT problem ?

any one ?

How do I make IP octet to PARAMETER

0 Kudos