Another Cisco prime template Q. Adding numbers to vlan

Hi
Im fidling with these templates. Got some good help in the last one, and some fine input and got that solved. So now im on to the next issue i have.
I will make some automation to adding VLAN.
Each location i have, has 20 vlan.
Location 1 has vlan 20-39
Location 2 has vlan 40-59
Location 3 has vlan 60-79 and so on.
The naming of my vlan is always the same.
Vlan 20 (40 and 60 etc) is: ADM
Vlan 21 (41 and 61 etc) is: ALARM
Vlan 22 (42 and 62 etc) is: WIFI
Vlan 23 (43 and 63 etc) is: INT
and so on. 
What i would like to have is if the template could be so i just enter the vlan number for the first vlan.
So if i enter vlan 20 in the template, it will automatic name that ADM as well.
And then it will make a (20+1) vlan 21 named alarm and so on and so on.
Is that even possible ?
Would save me a ton of time :)
Thx
/ Carsten

Carsten,
What you have listed could be scripted using Apache VTL with a few #if statements.
Example:
#if  ($vlanid eq "20")
       vlan $vlanid
       name ADM
       exit
       vlan 21
       name ALARM
       exit
       vlan22
       name WIFI
       exit
....and so forth to completion.  You might try setting this up using the foreach loop until it stops that way.  For my variable I used a drop down variable for $vlanid in this example.  So if your vlan ids jump by 20s as you have shown you could define the drop down variable as 20,40,60, so that it is point and click.  Be advised though that if you want to assign specific vlans to specific ports you will have to add that in there.  But again if those ports are always the same in your network that could be included in the same template by adding the interface, and switchport configs.  Here is the output of my test config based on your details minus the interface assignments.
============================================================================
#if ($vlanid eq "20")
      vlan $vlanid
      name ADM
      exit
      vlan 21
      name ALARM
      exit
      vlan 22
      name WIFI
      exit
#end
#if ($vlanid eq "40")
      vlan $vlanid
      name ADM
      exit
      vlan 41
      name ALARM
      exit
      vlan 42
      name WIFI
      exit
#end
=============================================================================
HTH,
Brandon

Similar Messages

  • WLAN Configuration Template of Cisco Prime 2.1

    Hi ,
    We have added WLC 5508 in cisco prime 2.1.0.87 wherin if we try to configure WLC Configuration template then its not reflecting existing WLAN as we need to do changes in existing WLAN with configuration template. Same way we are unable to find all listed MAC-Filter list in WLAN Confiuration template to execute the template .
    Can Any one help me on the same?
    Thanks in advance.

    Services running fine..
    check it with other Browser , Supported browser are below::
    –    Google Chrome 31 or later.
    –    Microsoft Internet Explorer 8.0 or 9.0 with Google Chrome Frame plugin (users logging in to the simplified Lobby Ambassador interface do not need the plugin).
    –    Mozilla Firefox ESR 24.
    –    Mozilla Firefox 24, 25 or 26.
    If above does not help , reboot the server once and check the issue again.
    Thanks-
    Afroz
    ***Ratings Encourages Contributors ****

  • "Busiest Clients" report template on Cisco Prime & Aironet 1242AG

    Yesterday I was trying to schedule a "Busiest Clients" report on our Cisco Prime physical appliance (PRIME-NCS-APL-K9, v2.1.0.0.87).
    My goal was to monitor the busiest clients on a couple of old Aironet access-points. These APs have been installed in a branch office of our university that rely on 4 Mb/s SHDSL WAN connectivity and, as you might imagine, some saturation occurs when the classrooms are crowded.
    Unfortunately, all the reports were empty ... there was only a "No data matches the specified criteria for the report” warning inside.
    The Client Statistics task (Administration>Background Tasks) was enabled and I was able to run this report selecting a different floor area ... after a few tries I've discovered that this error occurs only when the old Aironet 1242AG APs are involved. If I select a floor area populated with the newer 1142 and 2602 models, the report template works as intended.
    So, is there a way to fill a "Busiest Clients" report with data fetched from our old Aironet 1242AG APs?
    Our WLC is a Cisco Wireless Services Module 2 Controller for Cisco Catalyst 6500 (WS-SVC-WISM2-K9).
    (Sorry ... my English is a bit rusty)

    Hi,
    Kindly try to restart the Dameon manager with the command line of the server
    1> net stop crmdmgtd
    and then start the daemon manager --> net start crmdmgtd (wait for atleast 20-25 minutes before login back to LMS and also see if any file do exist at location CSCOps\Objects\dmgtd\ready folder).
    Get the output of pdshow after waiting for 20 minutes and stdout.log and stderr.log from CSCOpx\MDC\tomcat\logs.
    Many Thanks,
    Gaganjeet

  • Cisco Prime - extract list of hostnames and their serial numbers.

    Hi all,
    is there a way of extracting a list of hostnames ( for devices in EMEA ) and their associated serial numbers from Cisco Prime and into say a csv file?
    Many thanks,
    Paul

    Hi Paul,
    if you have Prime Infrastructure then  run the below report :
    Report > Report Launch Pad > Device > Detailed Hardware > Detailed Hardware Report Details
    If Prime LMS then :
    Reports > Inventory > Detailed Device
    Hope it will help
    Thanks-
    Afroz
    ***Ratings Encourages Contributors ***

  • Cisco Prime infrastructure template undeploy

    Hi,
    I am new to cisco prime, I have create the new Trap receiver template and deployed to one of the wireless controller and saved the deployment
    Now I want to undeploy the templates, When I tried undeploying the templates for same wireless controller, I got the warning message stating "Failed to undeploy the template"
    Please advice on below points
    1. How to undeploy the templates in cisco prime infrastructure
    2. Where to find the snmp traps ( steps to check the snmp traps) in cisco prime.
    Please Help!!!!!

    Using System Logs
    Prime Infrastructure logs all error, informational, and trace messages generated by all devices that are managed by Prime Infrastructure.
    Prime Infrastructure also logs all SNMP messages and Syslogs it receives.
    You can download and email the logs to use for troubleshooting Prime Infrastructure.
    Step 1 Choose Administration > Logging. The General Logging Options Screen appears.
    Step 2 Choose a Message Level.
    Step 3 Check the check boxes within the Enable Log Module option to enable various administration modules. Check the Log Modules option to select all modules.
    Step 4 In the Log File Settings portion, enter the following settings. These settings will be effective after restarting Prime Infrastructure.
    Note The log file prefix can include the characters "%g" to sequentially number of files.
    Step 5 Click the Download button to download the log file to your local machine.
    Note The logs.zip filename includes a prefix with the host name, date, and time so that you can easily identify the stored log file. Included in the zip file is an html file that documents the log files.
    Step 6 Enter the Email ID or Email IDs separated by commas to send the log file.
    Note To send the log file in a mail you must have Email Server Configured.
    Step 7 Click Submit.

  • Cisco Prime collaboration 9.0 assurance OVI template link plz help!!

    Dear all,
    I wanted to downlaod Cisco Prime collaboration 9.0 assurance OVI template please provide me the link. I have the download access in cisco web site.
    Please provide me the link
    Please help !!!!!!
    Regards,
    Rebecca....!!!

    Dear all,
    I wanted to downlaod Cisco Prime collaboration 9.0 assurance OVI template please provide me the link. I have the download access in cisco web site.
    Please provide me the link
    Please help !!!!!!
    Regards,
    Rebecca....!!!

  • Cisco Prime 2.1 CLI-Template for Switch configuration Backup

    Hello everybody,
    I am trying to write a CLI Template in cisco Prime to save the running-configuration of our core switch to the FTP server, 
    I have already configured the FTP username and Password in the core Switch 
    ip ftp username cisco
    ip ftp password cisco123
    in Cisco Prime I have created a template as follow:
    copy running-config ftp: 
    $FTP_IP_addrress >> the FTP Server
    $name                    >> the name of file and the date
    After deploying this template on the core switch,
    I received Error Msg in Prime as follow:
    Error : Command returned an error : copy running-config ftp: 172.16.30.30 Run_Config_Core_19_2_2015 ^ % Invalid input detected at '^' marker. QAF-DC-4507-CORE(config)#
    I know that the backup files can be fetched directly from Cisco Prime in the Configuration Archives, But also I need to test if we can take a backup directly to the FTP server using Prime.
     Thanks in advance.

    Thank you Bkennedy for replying,
    I changed my template to be as follow:
    #MODE_ENABLE
    copy running-config ftp: 
    $Mgmt_IP_addrress
    $name
    #MODE_END_ENABLE
    but still I am receiving Error like :
    Error : Exception while sending interactive commands to device, Expect timeout: Failed to match expected device output due to Expect timeout current timeout 60000. Current output : Address or name of remote host []? Current expects : (DC-450.{0,30}|DC-4507-AGG)\([^\)]+\)#\s*\z DC-4507-AGG# 
    I believe that we have to tell the Prime how to send the variables to Switch, because the switch is waiting for the remote host IP address and the destination file name???
    DC-4507-AGG#copy running-config ftp:
    Address or name of remote host []? X.Y.Z.W
    Destination filename [dc-4507-agg-confg]?
    % VRF table-id 0 not active
    % VRF table-id 0 not active
    Writing dc-4507-agg-confg !
    24425 bytes copied in 1.500 secs (16283 bytes/sec)
    DC-4507-AGG#

  • Issue with cisco prime adding aceess point in the map and move in the final position

    I have an Cisco Prime infrastructure with a 2.1.1 version, I created a new campus, a new building, a new floor after that i want to add access point in one floor i can add 4 access ponit but in other one floor I add first 3 access points successful bunt when i try to add a new access point in the same floor tha access point it is added but I can not move it to the final possition on the map.
    the cisco prime shows the followging message
    Cannot find feature by (Mac/Name/ID) null
    how can I move the access point into the last possiton ?

    Duplicate post. 
    Go HERE.

  • Adding MSE from VMware to Cisco Prime

    Hi Guys,
    I'm trying to register MSE 7.4 on installed on VMWare to Cisco Prime running on version 2.1 but it seems like i'm getting this issue every time i do: 
    "No response from server. It may be unreachable, or server is down or HTTPS connection to server failed"
    I'm sure that the IP address is correct
    I'm sure that NCS username and NCS password is correct
    I can ping MSE from MSE (hehe)
    I can ping Cisco prime from MSE
    I also tried to re install MSE on VM but i'm still getting the same error message.
    How can this be fixed? thanks

     Migrating Cisco WCS Licenses to Cisco Prime NCS Licenses
    The Cisco Prime Network Control System uses a single-tier license model. When Cisco WCS BASE or WCS PLUS licenses are being migrated, licenses will be mapped to the new Cisco Prime NCS single-tier model, as shown in Figure 1. Customers are able to migrate their existing WCS licenses by purchasing the migration SKU (L-WCS-NCS1-M-K9) as also indicated.
    For more information please refer to the link-
    http://www.cisco.com/c/en/us/products/collateral/switches/catalyst-6500-series-switches/guide_c07-653879.html

  • Cisco Prime Collaboration Usage

    Hi,
    Many Asia costumers complain it is very difficult to maintain the Cisco Collaboration system.
    So we are considering the Cisco Prime Collaboration system, see which can help or not.
    I have few questions about the Cisco Prime Collaboration Provisioning (CPCP) for SME customer / Cisco Prime Collaboration Assurance (CPCA) for Big customer.
    1. CPCP Standard version is free? one cluster? no adv. features? What is the adv. features on adv. versions?
    2. I see the CPCP will deploy the new configurations into the CM clusters, that is fine on the new CM, but the existing CM will access the CPCP push into new configurations? Any impacts will happen on delopying the new CPCP into the existing CM?
    3. CPCA lic. counted by every end devices, that is really expensive. Any cost effective methods to deploy the CPCA?
    4. If we want to monitor the TP endpoints or DX video phones, I have to plug the lan to the 37XX or above switches? 29XX cannot? 
    Medianet-Capable Devices
    Feature
    Routers
    Switches
    Cisco IOS®Software Release Supported
    Mediatrace 1.0
    Cisco 1800, 2800, 2900, 3800, 3900 Integrated Services Routers
    Cisco Catalyst® 3560E, Catalyst 3560X, 
    Catalyst 3750, 
    Catalyst 3750-Metro (only 12.2SE),
    Catalyst 3750E, and
    Catalyst 3750X
    12.2SE
    15.0SE
    15.1T
    15.1M
    IP service-level agreement (SLA) video operation
    Routers will be supported soon. Please check the feature navigator as mentioned below
    Cisco Catalyst 3560E, Catalyst 3560X, Catalyst 3750, Catalyst 3750E, and Catalyst 3750X
    12.2SE
    15.0SE

    Hi,
    Been out of the office but see that no one has yet responded to this. I can answer some of the questions.
    1. CPCP Standard version is free?
    CUCM 10+ users are entitled to use the Standard version.
     one cluster?
    Yes
     no adv. features?
    Not missing a lot, especially for smaller one cluster networks.
    What is the adv. features on adv. versions?
    The Standard and Advanced versions are pretty much the same except for the following:
    Advanced can handle multi-cluster networks
    Advanced allows administrator delegation. This means that different administrators can be assigned to different groups of end-users.
    Standard does not have advanced workflows (Approver, MAC assigner, Shipper and Receiver).
    Advanced provides a northbound API for integration to another network management application, HR system or custom UI.
    2. I see the CPCP will deploy the new configurations into the CM clusters, that is fine on the new CM, but the existing CM will access the CPCP push into new configurations?
    CPCP can push configurations to new or existing clusters. Changes made directly on a cluster will be pulled back to PCP so they stay in sync.
    Any impacts will happen on deploying the new CPCP into the existing CM?
    CPCP was designed to add to a UC network at any time. When added to an existing network, CPCP can use it's reverse sync process to import users and CM configurations.
    3. CPCA lic. counted by every end devices, that is really expensive.
    List price may appear really expensive but you need to work with a sales person to determine the actual price. There is also the option to have an enterprise license agreement which might be more cost effective if this is for a Big Customer.
    Any cost effective methods to deploy the CPCA?
    ELA as mentioned above, or use the free standard version.  It the standard version provides enough functionality, it might be an option.  Cost effective may be hard to define.  If the product significantly lowers the cost to operate the network (faster fault resolution, less administrators, usage reports, resource utilization savings, etc.) it would be cost effective.  I don't know how big the Big Customer is or what/how many endpoints/devices/apps are in the network so I cannot provide any better advice.
    I am not sure how to answer the last question so will leave it for a TME or other expert on CPCA.  It looks like a medianet question. CPCA is not completely dependent on medianet to monitor TP environments and can provide some call trace and performance without it.  This is best answered by someone on the Assurance PM/TME team.
    Regards

  • Monitoring ASA in Cisco Prime infrastructure 2.2

    Hi everybody.  I have some issue with cisco Prime Infrastructure  2.2.  We use this product in our network for monitoring network devices and I need to monitor also our ASA 5550 device with soft 8.4.  I  added ASA to Cisco PI but see only basic component like my device can reachable via  and read via snmp. But cannot see  CPU, RAM, Device ENV like Temperature, l2l vpn connection,  Interfaces status and Utilization that interfaces, cannot see sub interface that placed on ASA like that g0/0.20.  I need fully monitor ASA and See logs and trap for my device:
    CPU RAM ENV (Temperature), Interface and sub interface status, L2L VPN  Status.
    1 Cisco Prime infrastructure can full support  ASA for monitoring and logging.. IF YES how can i configure  that features in Cisco PI 2.2 for ASA
    2 IF not which product Can full support that features for full monitoring and logging  ASA devices
    I have a little deadline for finishing
    thanks everybody before

    I've not success monitoring ASA interface utilization either. I'm using PI 2.2 with device update #1. The ASA is a 5585-X with 9.2(3) software.
    I have deployed the PI monitoring template to the ASA and do see its overall status and PI has enumerated the interfaces in the device page.
    I even looked at a packet capture and see PI querying the values of the interface counters and those values being sent back to PI - yet I cannot select any ASA interface when drilling down under Performance Detail monitoring.
    When I get some free time I will open a TAC case on it, meanwhile I am getting all the info I need from the upstream and downstream switches.

  • Cisco Prime Infrastructure 2.0 Alarms (switch port down)

    We have a cisco Prime Infrastructure 2.0 managing switches, routers and AP.
    By default, when a port of a switch goes down, the cisco Prime Infrastructre generates a Critical Alarm for that. (this is a problem, because every phone of laptop disconnection will generate a critical alarm for me)
    I found out that if we go to Administration --> Alarm Severity --> Link down, I can change the Alarm from Critical to another type of alarm.(ex: warning)
    The problem is that I want to keep the Critical Alarm for my Uplinks ports and for some important switch ports, and I would like to make the alarm as warning for the normal user ports.
    I know that I can create Port Groupping and add ports to each group and apply monitoring templates on those groups. But This couldn't Help me solving my alarm problem.
    So I just need to know how to manage the alarms severity for each group of ports.
    Thank you

    Hi,
    Same problem here.
    I am using Cisco Prime Infrastructure 2.0 (evaluation version for 60 days). I want to deploy port monitoring for my trunk ports between switches and some other important ports e.g. servers. Basically I want to get alarms when these ports are down, there are errors on ports and etc.
    So in Design>Port Grouping I created User Defined group with important ports. In Deploy>Monitoring Deployment I selected Interface Health (default)>Deploy selected Port Groups and when selected port group I created.
    Now the rule shows Deployed: Yes and Status: Active. After that I just pulled out one port which was in monitored group, waited 5min as it is set in Interface Health (default) template, and nothing happened, and worse, alarms started to show up of other ports where regular users are connected (computers was turned off), which I do not want to see at all. I tried redeploy template, I even created my own template but still no desired result.
    Any suggestions how to make port monitoring work?

  • Upgrade Cisco Prime LMS 4.0 to Cisco Prime Infrastructure 2.1

    My company has asked me to migrate Prime LMS 4.0 to Prime Infrastructure 2.0 for a client and can not find the guide, the questions are? the migration is possible without an intermediate step? and There is a guide to update LMS 4.0 to PI 2.0 ??
    Thanks in advance.

    Prime LMS 4.2.2 added support for the PI template directly:
    Export Data for Prime Infrastructure
    Cisco Prime LAN Management Solution supports data migration to Prime Infrastructure 1.2. This feature enables user to export the Device Credentials Repository (DCR) data from LMS 4.2.x versions to Prime Infrastructure 1.2. The data backup status and backup location are displayed at the bottom of the Export Data for Prime Infrastructure page. The data being exported from LMS and the data imported back to PI are listed as follows.
    Data exported from LMS
    •Device Credentials Repository (DCR)
    •Software Image Management
    •Config Archive
    •Change Audit
    •Syslog
    Data Imported to PI
    Device Credentials Repository

  • Class Map Statistic Dashlet in Cisco Prime Inf. 2.1

    Dear All , 
    I installed the demo version of Cisco Prime infra . 2.1 and I saw that there is a specific Dashlet to monitor QOS class map . 
    As we have some policy-map configured  , it could be very interresting. 
    After a day spent on Google .. I didn't found how to configure it ..  I found that Cbqos must be enabled on the switch/router 
    So I did it by entering the following cmd 
    snmp-server ifindex persist 
    snmp mib persist cbqos 
    But nothing .  I also deployed the Cisco monitoring template for class map statistics . 
    Do I need another cmd to be entered  or any other device or appliance from Cisco .. ? 
    Thanks a lot 
    Marc 

    PI 1.2 definitely does not include all the regulatory compliance features of LMS. Reference.
    Even though the document says PI 1.2 will do baseline compliance, I haven't figured out how they expect you to do that.

  • Cisco Prime NCS v1.1 Eval Download

    Hello,
    I've been trying to download the evaluation of Cisco Prime NCS v1.1 from the eval page located at the below address so I could, well, evaluate it.
    https://cisco.mediuscorp.com/market/networkers/productView.se.work?/nxt/rcrs/proieidentity/=19841
    But I've been getting corrupt downloads and can't extract the .OVA file.  I've tried this on a few computers and 2 different OSs, but to no success.
    Am I doing something wrong?
    Thank you in advance and sorry if this is the wrong forum to ask this question.

    @wireless.wlc
    I installed it on a Cisco UCS server running vSphere 4.1 (ESXi).  The template wants to make it thick provision, but for testing purposes I just made it thin provision.  After only adding maybe... 20 switches, 18 APs and 1 WLC it takes up just shy of 40 GB.
    If you try to install on a 50GB hard drive or a datastore that's less than 200GB available, it will probably just give you a warning.  But I'm not 100% sure since this is being deployed from from an OVA template.
    I'll install it again on a datastore with only 100GB to test and see if it works that way.

Maybe you are looking for

  • Data load to DSO

    Hi guys... Suppose I have two Datasources that are mapped to a infosource and this infosource is mapped to one dso(all objects until DSO are emulated from 3.x to 7.x)...when I load data,I assume that I have to use two infopackages and I get data into

  • ORA-04016 - Sequence no longer exists

    Hi, In the below scenario 1. All the sequences are dropped 2. When a process requires a value from a sequence and the sequence is not available, it is created and then a sequence.nextval is executed. This statement is returning a ORA-04016 - Sequence

  • ITunes 7 - "iTunes has encountered a problem and needs to close"

    I was prompted to update to 7.0.1, so I did. When everything finished and I tried to open it, it doesn't even open, but says,"iTunes has encountered a problem and needs to close". I have tried everything, I have seen some other forums about this but

  • How can I set a second Airport Extreme to not allow wireless clients?

    I have two Airport Extremes. One is the main, and one is a remote unit used to extend my wireless network. I only want the remote Extreme to be able to use the LAN ports via ethernet to provide connectivity to my home theater gear. I don't want it to

  • Problem in generating an IDOC from Output type

    Hi Experts, I am trying to generate an IDOC of basic type "OILSHI01" using the custom output type. in my scenario the output type gets issued , but IDOC does not get generated , i have checked the configuration in NACE transaction . Can you please he