WLC 5508 upgradation from 7.4.100.0 to 7.4.110.0
Hi All,
We have upgraded the wlc from 7.4.100.0 to 7.4.110.0. where we found after reboot the configuration has failed to load with the below errors.
Cryptographic library self-test....passed!
XML config selected
XML root tag XML_mapping_variables not found
XML root tag XML_mapping_variables not found
XML root tag XML_mapping_variables not found
XML root tag XML_mapping_variables not found
XML root tag XML_mapping_variables not found
Parse error at line 6:
not well-formed (invalid token)
Validating XML configuration
Read HA Config before validation
octeon_device_init: found 1 DPs
readCPUConfigData: cardid 0x6070001
Parse error at line 3:
unclosed token
XML root tag XML_config_variables not found
XML root tag XML_config_variables not found
XML root tag XML_config_variables not found
XML root tag XML_config_variables not found
Parse error at line 5:
unclosed token
We have reloaded the configuration on the controller. What might be cause for this.??
Regards,
Channa
Did you try to factory default the WLC and rebuild it from scratch? You shouldn't have any issues when upgrading, but when you upgrade and the configuration gets corrupt, there is noting you can do, except to rebuild the WLC. If this is part of an HA AP SSO setup, then you need to make sure you reset the peer and then the primary. Question is.... are you running HA AP SSO and if not, is the WLC working fine after a reboot?
Scott
Similar Messages
-
WLC Image upgrade from 7.0 to 7.6
Dear All,
I am planning to upgrade my WLC 5508 image from 7.0 to 7.6 to accommodate the new series access points (2702).
Currently I am using 1142 &1242 access points in my network and some of them are in HREAP mode.
Does this upgrade will affect my existing setup anyway ??
Thanks in advance.
Regards,
Shijo.Release Notes for Cisco Wireless LAN Controllers and Lightweight Access Points for Release 7.6.120.0
The following access point platforms are supported in this release:
Cisco Aironet 2700 and 700W Series Access Points.
Cisco Aironet 3500p Access Point.
Cisco 1040, 1130, 1140, 1240, 1250, 1260, 1600, 2600, 3500, 3600, 3700, Cisco 600 Series OfficeExtend Access Points, 700 Series, AP801, and AP802
Cisco Aironet 1530 Series outdoor 802.11n mesh access points, Cisco Aironet 1550 (1552) Series outdoor 802.11n mesh access points, Cisco Aironet 1520 (1522, 1524) Series outdoor mesh access points
http://www.cisco.com/c/en/us/td/docs/wireless/controller/release/notes/crn76mr02.html -
Anchor mobility configuration getting lost in wlc 5508 ios code 7.4.100.0
It is observed that in WLC 5508 , ios 7.4.100.0 , mobility anchor configuration on wlan is getting lost . we configure anchor ip address on guest wlan > mobility anchor > Switch IP Address (Anchor).
We have configured the template on NCS 2.0 to push the anchor mobility ip address on all WLC
Has anyone oberved this behavoiur. We have more than 100 WLC , and everyweek mobility anchor configuration is lost on some WLC having code 7.4.100.0.I am having this exact same problem. I am running 7.3 on 5508 WLC. My remote site LAP's are using Flex (HREAP). The initial access point that my laptop associates to connects with no problem, as soon as I wander out of range of the initial LAP and into the area of another access point, I lose data connectivity. The was validated like the original post as I start a constant ping on the LAN and watch as the ping latency increases and then ping replies stop. The only way to correct the problem is resetting of the wireless adapter on the laptop. Side note my DroidX has no problem wandering from AP to AP.
Laptop: Windows 7 32bit
I then returned to my home site and test where I have a secondary controller and the LAP's are configured for local mode, no problems roaming from access point to access point. Validated with constant ping test. The pings drop for a second and re-
continues as the laptop reconnects.
**Edit: I am going to try the removing the DHCP Addr. Assignment required option, and report that back to the TAC engineer.
Message was edited by: Michael Dunki-Jacobs
**Edit Solved:***
The problem is in deed solved by turning the "DHCP Address Required" but why? -
Some C1242 Radios are disabled after WLC 5508 upgrade to 7.3.101.0
One week ago I use a WLC 5508 to place and replace another WLC 5508 with version 6.0.199.4, when I conect the new WLC all AP´s works OK only 10 dont work and not are recognizes from the WLC with version 7.3.101.0. The fail is the radios stay disabled. All ap´s are AIR-AP1242G-AK9 . See the image below, the only difference this ten AP´s are conected in switches cisco all the rest are connected in switches of ohter vendor.
If possible some command in the configuration is not neccesary and make the bad function?
This is tipically config apllied by the customer in they cisco switches
interface GigabitEthernet0/22
description PB-RS-A22
switchport access vlan 5
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
I reed some documents but i don´t found the right solution can any help me?
ThankAre the APs being powered through POE or perhaps an injector (if injector, do you have the injector override enabled for joined APs with their radios down?) What's the disparity of the models; are all 1242s in this "down radio" state, or only the 1242s plugged in to the Cisco Switches?
When you say the 10 don't work and are not "recognized" by the WLC, are you indicating that they have not re-joined the newer WLC or are they joined but their radios are not operationally up? Please clarify the state of these APs.
http://www.cisco.com/en/US/docs/wireless/controller/release/notes/crn73.html#wp965532
Please note that a version prior to 7.0.98.0 cannot be upgraded directly to 7.3.101.0 from the WLC perspective, but it's possible your 1242 AP's image (used from the 6.0.199.4 release) is not able to properly join and download code for the 7.3.101.0 WLC that was put in to place. The 1242 APs in your scenario would still be running the old 6.0.199.4 image.
I'm curious what all is or isn't happening from the questions above, but you may need to load a newer recovery release on the 1242s to have them join properly - or - downgrade the WLC to a version that allows a direct upgrade from 6.0.199.4 such as 7.0.240.0. Let the APs join the downgraded WLC and finish up any image downloads and re-join, then upgrade the WLC back to 7.3.101.0 (would recommend latest 7.3.112.0 instead) and see if they rejoin and radios are online. -
Hi All,
We currently have 4 x WLC 5500 (AIR-CT5508-K9) V01 and V02
So two in one datacenter and the other two in another datacenter. They are connected via Mobility group to and BOYD open wifi with an Anchor WLC the other 1.
All four of them are 7.4.110.0 and the APs we use are AIR-LAP1142N-E-K9 and AIR-CAP2602I-E-K9.
We are looking to get 2700 or 3700 AP so we can use 802.11ac, but we need to upgrade all WLC to 7.6.130.0.
1. is it a direct upgrade from 7.4.110.0 to 7.6.130.0?
2. If I upgrade one datacenter one weekend and the other next weekend, during that week two WLC would be 7.4 and other two 7.6 would it break or cause issue with Mobility group to and BOYD open wifi with an Anchor WLC?
3. Can any please provide step to step guide for the upgrade from 7.4 to 7.6?
Many Thanks
appreciate it :)Hi Rasika,
Many Thanks for your reply and help!
1. In regards to Upgrade the FUS, is it required to be upgraded once the WLC are upgraded to 7.6 or is just good practice?
2. Or I can I upgrade the FUS another time?
Here is our sysinfo
(Cisco Controller) >show sysinfo
Manufacturer's Name.............................. Cisco Systems Inc.
Product Name..................................... Cisco Controller
Product Version.................................. 7.4.110.0
Bootloader Version............................... 1.0.1
Field Recovery Image Version..................... 6.0.182.0
Firmware Version................................. FPGA 1.3, Env 1.6, USB console 1.27
Build Type....................................... DATA + WPS
System Name...................................... bupa-sw_sta-un1-dcwlc
System Location.................................. Unit1 DC
System Contact...................................
System ObjectID.................................. 1.3.6.1.4.1.9.1.1069
Redundancy Mode.................................. Disabled
IP Address....................................... 10.96.5.10
Last Reset....................................... Software reset
System Up Time................................... 448 days 13 hrs 9 mins 12 secs
System Timezone Location......................... (GMT) London, Lisbon, Dublin, Edinburgh
System Stats Realtime Interval................... 5
System Stats Normal Interval..................... 180
Configured Country............................... GB - United Kingdom
Operating Environment............................ Commercial (0 to 40 C)
--More-- or (q)uit
Internal Temp Alarm Limits....................... 0 to 65 C
Internal Temperature............................. +39 C
External Temperature............................. +26 C
Fan Status....................................... OK
State of 802.11b Network......................... Enabled
State of 802.11a Network......................... Enabled
Number of WLANs.................................. 7
Number of Active Clients......................... 572
Memory Current Usage............................. Unknown
Memory Average Usage............................. Unknown
CPU Current Usage................................ Unknown
CPU Average Usage................................ Unknown
Burned-in MAC Address............................ 64:00:F1:F1:1E:40
Power Supply 1................................... Present, OK
Power Supply 2................................... Absent
Maximum number of APs supported.................. 175
3. Also once Ive upgraded the WLCs from 7.4 to 7.6, should I reboot the WLC and let it upgrade all APs, the upgrade the FUS or upgrade FUS after upgrading the WLC without the reboot which is required?
Many Thanks,
Zilad -
Wlc 5508 upgrade problem from 7.0.116.0 to 7.0.235.3
We have two WLC model 5508 with the follwing information
Manufacturer's Name.............................. Cisco Systems Inc.
Product Name..................................... Cisco Controller
Product Version.................................. 7.0.116.0
Bootloader Version............................... 1.0.1
Field Recovery Image Version..................... 6.0.182.0
Firmware Version................................. FPGA 1.3, Env 1.6, USB console 1.27
Build Type....................................... DATA + WPS + LDPE
System Name...................................... WLC-IDB-3
System Location..................................
System Contact...................................
System ObjectID.................................. 1.3.6.1.4.1.9.1.1069
IP Address....................................... 10.80.2.250
Current Boot License Level....................... base
Current Boot License Type........................ Permanent
Next Boot License Level.......................... base
Next Boot License Type........................... Permanent
Configured Country............................... SA - Saudi Arabia
I tried to upgrde the software version to 7.0.230.0 or 7.0.235.3 but wlc displayed the following message
ERROR: Incompatible SW image.ERROR: Please install the Data Payload Encryption licensed image”
please i need the necessary steps to resolve the problem.
Regards ,Hi,
This issue occurs because the Controller has an LDPE image installed, which is only needed in Russia where Data DTLS Payload Encryption is regulated by the Government. Cisco only recommends using this image if you reside in Russia. To resolve this issue and put the standard image on
To follow the steps go through the below link
http://sigkillit.com/tag/error-incompatible-sw-image-error-please-install-the-data-payload-encryption-licensed-image/ -
WLC 5508 - upgrade image + H-REAP
All, good day.
I have a bug reported (CSCsy23704) for the H-REAP functionality. This sunday I will perform an image upgrade to try to solve this issue.
What would it be the best image to go for?.
After the upgrade, what will happen with the APs?, should I reconfigure them or they will enter in contact with the WLC automatically?.
Current image is 6.0.199.0
The WLC is a 5508
Thanks in advance!!After you load the code on the WLC you can use the pre download feature. Tis will allow you to push the new image to the ap before you reboot.
Steve
Sent from Cisco Technical Support iPad App -
WLC 5508 upgrade to software 7.6
Hi,
I upgraded Cisco WLC from version 7.5 to 7.6, but unfortunately I lost connection to WLC. After upgrade I restarted the wireless controller but it didnt come up. The fiber port of WLC connnected to switch is showing down , down but the service port is showing up. I cannot login through serice port also.
The controller is at remote location and I am at main office, I want to know does the configuration WLC had got lost after upgrade and why the fiber port is showing down, down in switch?
Thanks.
ShakeerIt is less than 90 days since we purchased the controller. How can I open a case ? When I am entering S/No it is showing not covered under service contract.
1. Send an email to [email protected] Make sure the following details are included in the email: S/N of the appliance, nature of the problem, your CCO login.
2. You'll receive a response saying that you are not entitled, so you need to scanned copy of the appliance's delivery receipt/docket, the appliance's purchase order. Scan those and reply to this email. -
5508 upgrade to 7.6.100 memory leak
We have a single 5508 running 7.6.100 with just over 300 Ap's. I've noticed since our upgrade, we're having some problems. The bigest, is a reboot. When the system comes up, the memory is sitting at about 56%. It creeps up to about 86% and then reboots on its own. Don't really like that. Anyone seen this or got a resolution to this?
Maybe you can try the newer firmware, 7.6.110.X?
-
Hi All,
I have read some release notes and Configuration guide but they all didn't tell me the detail. Actually I want to know can I directly upgrade the WLC from old 3.2 version to the newest 4.0 version? And will the existing configuration be kept after the upgrade? Anyone can help me? Thanks!
Jason,
ThanksFYI:
If you are also planning on upgrading your WCS (if you have one), you will find some helpful information on an earlier thread:
http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Wireless%20-%20Mobility&topic=Security%20and%20Network%20Management&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1ddcbc4c
In the case of the WCS, you are forced to perform an uninstall of 3.2 software and an install from scratch of 4.0. We did the upgrade prior to performing any configuration in 3.2 and so did not attempt to carry forward the config. But you will have some "fun" bringing any AP licensing forward.
- John -
WLC firmware upgradation from 6.0.196.0 to 7.0.98.0
Hi,
I have not come across to upgrade the IOS of WLC at any time .
Right now , I have WLC 6.0.196.0 and it is working fine but still if in case I need to upgrade to 7.0.98.0 or whichever is latest , What is the procedure ?
How to go about it ?
kindly suggest me for the same.Hi Vinod,
Sorry for the late reply.. this forum thingy is messed up.. suddenly this throws me off!! hav to re-login.. strange!! ok lemme get back..
Main image = The image helps you in getting the GUI and helps you in configuring through the CLI..
Boot Loader image = Is almost equal to ROMMON version on switches!! ok lemme explain u in WLC world.. When you reboot ur WLC, while rebooting if u hit "Escape" then you can see something like the Intial WLC config wizard.. or while doing the PASSWORD recovery we select options 1 to 5.. this is called as Boot loader version..
The complex explanation is.. A boot loader, also called a boot manager, is a small program that places the Operating System (OS) of a computer into Memory. When a computer is powered-up or restarted, the basic functions performs some initial tests.
lemme know if this answered your question and mark it as answered if so!!
Regards
Surendra
====
Please dont forget to rate the posts which answered your question and mark it as answered or was helpfull -
WLC Upgrades to 7.5.102.0 from 7.4.100.0 Question
We went through an upgrade from 7.4.100.0 for all of our WLC's this morning. One of the interesting features, that we wanted to take advantage of, was the BYOD profiling that the release notes talk about. I'm going through the controllers and see that there is now a tab under the SSID called "policy mapping". However, when I look for where I can create the local policy, I cannot find anything on the WLC for completing that task. I've been looking for instructions and notes on how to do this, but cannot seem to find any. Would anyone be able to point me in the right direction? Thanks!
Please
follow the below steps to create Local Policies.
Step 1
Choose Security > Local Policies.
Step 2
Click New to create a new policy.
Step 3
Enter the policy name and click Apply.
Step 4
On the Policy List page, click the policy name to be configured.
Step 5
On the Policy > Edit page, follow these steps:
In the Match Criteria area, enter a value for Match Role String. This is the user type or user group of the user, for example, student, teacher, and so on.
From the Match EAP Type drop-down list, choose the EAP authentication method used by the client.
From the Device Type drop-down list, choose the device type.
Click Add to add the device type to the policy device list.
The device type you choose is listed in the Device List.
In the Action area, specify the policies that are to be enforced. From the IPv4 ACL drop-down list, choose an IPv4 ACL for the policy.
Enter the VLAN ID that should be associated with the policy.
From the QoS Policy drop-down list, choose a QoS policy to be applied.
Enter a value for Session Timeout. This is the maximum amount of time, in seconds, after which a client is forced to reauthenticate.
Enter a value for Sleeping Client Timeout, which is the timeout for sleeping clients.
Sleeping clients are clients with guest access that have had successful web authentication that are allowed to sleep and wake up without having to go through another authentication process through the login page.
This sleeping client timeout configuration overrides the WLAN-specific sleeping client timeout configuration.
In the Active Hours area, from the Day drop-down list, choose the days on which the policy has to be active.
Enter the Start Time and End Time of the policy.
Click Add.
The day and start time and end time that you specify is listed.
Click Apply. -
WLC 5508 -7.4.100 mDNS Bonjour snooping
Hello
Have 7.4 installed and configured for Bonjour Snooping. All is working, but working too well. We have a large campus that house 2 schools and each school is complaining that they can see the other schools AppleTV devices.
I have played around with a few different scenarios to see if I can localize the bonjour traffic.
I guess I am looking to create a logical split for bonjour devices amoung the schools.
Apple came to the school and informed us that the IPAD has a limit of 64 devices that can be seen via the bonjour. At some point we will have over 100 AppleTV added.
so we have 3 wlc 5508's with 7.4.100
we have 2 SSIDs that span the whole campus
using AP groups to segment the floors in buildings
So the schools are logically split with AP groups
Here is what I have tried
I created few mDNS profiles and assigned the services for Apple TV - let's call them school1 and school2
I assign the mDNS profiles to the interfaces dedicated each school
enable snooping on the WLAN with profile of none
The end result is that devices from both schools can be seen.
I tried to create new ssid for apple TVs and a new ssid for 1 schools teachers
I followed the vlan select example
http://www.cisco.com/en/US/products/hw/wireless/ps4570/products_tech_note09186a0080bb1d7c.shtml
end result is that devices from both schools can be seen
I have tried the mDNS without multicast enabled just like the video shows to no avail - I assume maybe my AP groups might be more complicated then the example of just 2 vlans
https://supportforums.cisco.com/community/netpro/wireless-mobility/begin-wireless/blog/2013/01/01/wireless-lan-controller-wlc-release-74--bonjour-gateway-configuration-example
I have tried combinations of things, but I must be missing something
In the webinar, Cisco said it will use filtering to restrict which clients can see which services (Apple TV's, etc). What will Cisco use to filter Bonjour requests?
according to this article
http://www.pcadvisor.co.uk/news/network-wifi/3376119/cisco-answers-user-questions-about-upcoming-apple-bonjour-gateway/#ixzz2SIDqFH49
The filtering options are: · Per WLAN/SSID · Per VLAN or AP Group · Per Interface Group (which is a group of VLANs pooled together).
A Bonjour service policy can be created and applied on any one of the above criteria. In the future, we will support per-user Bonjour service policies which will come as a RADIUS attribute from the AAA server.
Read more: http://www.pcadvisor.co.uk/news/network-wifi/3376119/cisco-answers-user-questions-about-upcoming-apple-bonjour-gateway/#ixzz2SZqMYpdh
Cheers
Any insight would be appreciatedHere are the ACLs for the controller
acl create BlockBonjour
acl apply BlockBonjour
acl counter start
acl rule add BlockBonjour 1
acl rule add BlockBonjour 2
acl rule action BlockBonjour 1 deny
acl rule action BlockBonjour 2 permit
acl rule destination address BlockBonjour 1 224.0.0.251 255.255.255.255
acl rule destination address BlockBonjour 2 0.0.0.0 0.0.0.0
acl rule destination port range BlockBonjour 1 0 65535
acl rule destination port range BlockBonjour 2 0 65535
acl rule source address BlockBonjour 1 0.0.0.0 0.0.0.0
acl rule source address BlockBonjour 2 0.0.0.0 0.0.0.0
acl rule source port range BlockBonjour 1 0 65535
acl rule source port range BlockBonjour 2 0 65535
acl rule direction BlockBonjour 1 In
acl rule direction BlockBonjour 2 Any
acl rule dscp BlockBonjour 1 Any
acl rule dscp BlockBonjour 2 Any
acl rule protocol BlockBonjour 1 Any
acl rule protocol BlockBonjour 2 Any
acl apply BlockBonjour ipv6 acl create BlockAllIPv6
ipv6 acl apply BlockAllIPv6
ipv6 acl rule add BlockAllIPv6 1
ipv6 acl rule action BlockAllIPv6 1 deny
ipv6 acl rule destination address BlockAllIPv6 1 :: 0
ipv6 acl rule destination port range BlockAllIPv6 1 0 65535
ipv6 acl rule source address BlockAllIPv6 1 :: 0
ipv6 acl rule source port range BlockAllIPv6 1 0 65535
ipv6 acl rule direction BlockAllIPv6 1 Any
ipv6 acl rule dscp BlockAllIPv6 1 Any
ipv6 acl rule protocol BlockAllIPv6 1 Any
ipv6 acl apply BlockAllIPv6
Apply to wlan: The wlan index is used in this case, the first wlan created on controller
wlan acl 1 BlockBonjour
wlan ipv6 acl 1 BlockAllIPv6 -
WLC 5508 HA Problem Soft.ver 7.4.100
Dear Support,
we are using two WLC 5508 software ver.7.4.100 with first 50AP license and in the next day we add 50AP license again to the primary WLC. when we activate HA base in the following guiden http://www.cisco.com/c/en/us/td/docs/wireless/controller/technotes/7-5/High_Availability_DG.html but when we doing test the failover we found a couple log message on the Secondary WLC like below and not for long time all AP on the Secondary WLC was drop off.
1. DP Critical Error
2. *RRM-DCLNT-2_4: May 23 07:43:53.204: #RRM-3-RRM_LOGMSG: rrmTables.c:682 RRM LOG: Could not retrieve RRM Coverage Measurement DataKey BSSID:34:db:fd:dd:3e:20,Key SlotId:0
*RRM-DCLNT-2_4: May 23 07:43:53.164: #RRM-3-RRM_LOGMSG: rrmTables.c:682 RRM LOG: Could not retrieve RRM Coverage Measurement DataKey BSSID:34:db:fd:dd:3e:20,Key SlotId:0
*RRM-DCLNT-2_4: May 23 07:43:52.854: #RRM-3-RRM_LOGMSG: rrmTables.c:682 RRM LOG: Could not retrieve RRM Coverage Measurement DataKey BSSID:2c:36:f8:72:fc:c0,Key SlotId:0
I also send a complete log for both problem above and enclose it with pdf file. need you advice and assistance,
regard, afriansyahI agree go to version 7.4.121.0 I has some strange issues on prior releases. Personally I am running 7.6.120.0 right now but that's mainly due to support for the 3702 access points.
http://www.cisco.com/c/en/us/td/docs/wireless/controller/technotes/7-5/High_Availability_DG.html#pgfId-74573
that's a good guide just to double check yourself just in case. - -
Hi Experts ,
I am having weird issue with 5508 controller which is having firmware 7.2.110.0 . This controller is restarting automatically
Since this issue was occuring since long time with earlier version , I have upgraded to 7.2.110.0 , however still no luck ....
I do not have any logs related to controller crash info.Hey Scott,
I'm about to upgrade a 5508 controller from 7.0.220.0 to 7.4.110.0 , and was just prepping myself on upgrading the FUS as it will be the first time. Latest for 5508 is 1.7 and I noticed for 2504 its 1.8.
I was just curious where you saw that its mandatory to upgrade the FUS ? I can't seem to locate any actual documentation specifying anything about upgrading the FUS when going from one version to another etc. I know one of my clients has a 5508 on 7.4 with the old FUS (see below).
Bootloader Version............................... 1.0.1Field Recovery Image Version..................... 6.0.182.0
Firmware Version................................. FPGA 1.3, Env 1.6, USB console 1.27
Build Type....................................... DATA + WPS
Looking forward to your reply
Thanks !
Maybe you are looking for
-
Hi, I have worked on Graphical mapping and XSLT Mapping. I want to do some scenarios using Java mapping. Can anyone give the detailed steps to work on Java Mapping. What are the softwares needed and their configurations. Also I want to know whether N
-
in the file management when i select a file and zip it , the size of the file does not change ? Solved! Go to Solution.
-
Still no compatibility between Storage Client Library v3 and emulator?
Hi, According to this blog post: I'm apparently unable to post a link, but here's the text from the blog. I'm sure you can find it via google if interested.) <<<< Storage Emulator Guidance As mentioned above an updated Windows Azure Storage Emulator
-
Adobe LiveCycle Designer 8.1 Drop-Down List Problem
I have an array of data. I'm populating one drop-down list (Genus) with data and then trying to populate a second drop-down list (Species) based on the selection from the first drop-down list (Genus).<br /><br /><?xml version="1.0" encoding="UTF-8"?
-
Error messages help need asap!!!!
hi this is my code and I need help with what i need to do and how to do it to get rid of the error messages CREATE OR REPLACE FUNCTION no_of_task_types (x NUMBER) RETURN NUMBER IS my_val NUMBER; BEGIN SELECT COUNT(distinct t.task_type_no) INTO my_val