AP-Group vlan in 4.2.207

Hello everyone,
I'm trying to assign a separate interface (VLAN) to the same SSID on different APs. For this I have defined a new dynamic interface with a new vlan, I also defined an additional AP group has the same default SSID but changing the interface that is assigned. I took an AP and I've assigned to that group, but when a client is associated on that AP, controller ignores the new interface and keeps it in the interface definied at SSID at default group.
Any suggestions?
Thanks in advance.

Thanks George for your answer.
Your tutorial is the solution but I had already found another guide very similar at cisco:
http://www.cisco.com/application/pdf/paws/71477/ap-group-vlans-wlc.pdf
Thanks you.
Regards.

Similar Messages

  • AP Groups VLAN showing all SSIDs - Need help.....

    Hey everyone!
         I am hoping I can find some help with configuring the AP Groups VLAN feature on a WiSM + WCS ver 4.2 environment. I enabled and setup AP Groups VLAN for a campus type network acording to the guide here:
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008073c723.shtml
    The issue I am having is that even though I enabled and setup the AP Group VLAN as well as assigned the interface / network the AP to the group, all the SSIDs still broadcast on that AP where I only want one SSID to be present. I am testing this in a building that is an extension of another and only have 1 AP thus far so I know I am not picking up the SSIDs from other APs. 
    Anyone have any suggestions or can help? I would greatly appreciate it.....
    Thank You!
    Ed

    Hi Ed,
    The feature you are looking for is called WLAN Override in 4.x release versions
    Enabling WLAN Override
    By default, access points transmit all defined WLANs on the controller. However, you can use the WLAN Override option to select which WLANs are transmitted and which ones are not on a per access point basis. For example, you can use WLAN override to control where in the network the guest WLAN is transmitted or you can use it to disable a specific WLAN in a certain area of the network.
    From this doc;
    http://www.cisco.com/en/US/docs/wireless/controller/4.0/configuration/guide/c40wlan.html#wp1114777
    Once you create a new WLAN, the WLAN > Edit page for the new WLAN appears. In this page you can define various parameters specific to this WLAN including General Policies, RADIUS Servers, Security Policies, and 802.1x Parameters.
    **Check Admin Status under General Policies to enable the WLAN. If you want the AP to broadcast the SSID in its beacon frames, check Broadcast SSID.
    Note: You can configure up to sixteen WLANs on the controller. The Cisco WLAN Solution can control up to sixteen WLANs for Lightweight APs. Each WLAN has a separate WLAN ID (1 through 16), a separate WLAN SSID (WLAN name), and can be assigned unique security policies. Lightweight APs broadcast all active Cisco WLAN Solution WLAN SSIDs and enforce the policies that you define for each WLAN.
    From this good doc;
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a0080665d18.shtml#c3
    Hope this helps!
    Rob

  • AP Groups VLAN

    I have a controller that has 4 SSID's (3 corporate and 1 guest ssid)configured with 10 AP's. I want only 1 of the AP's to advertise all 4. This is my conference room and we will only allow guest access in the conference room. The other AP's need to be only the 3 corp ssid's.
    I configured AP Groups for this. I enabled the AP Group vlan function and set up 1 group that only had my corp ssids-interfaces and I set up 1 group that had the corp-ssids and the guest ssid. I applied the corp only to the corp only AP's and the corp+guest to the conference room AP and rebooted all of the AP's.
    All the AP's still seem to offer the guest ssid and this does not seem to limit the advertised ssid's.
    Am I missing something or is there another way to control the ssid's per AP?
    Thanks for any advice.

    No need to use AP groups. AP groups are for logical segmentation of the wired traffic. To learn more about ap group check out my video http://www.my80211.com/cisco-labs/2009/3/22/cisco-ap-group-nugget.html
    What you are interested in is WLAN OVERIDE. Dive into the controller and then AP level (the ap in question). Bottom of the screen you will see WLAN OVERIDE. Click on the SSIDs you want to service from that AP.
    Cheers...
    If you found this post helpful please rate it

  • AP Group VLAN "Feelgood" does not exists on controller.

    Hi,
    While appling tenplates from WCS, i getting status report error message AP Group VLAN "Feelgood" does not exists on controller.
    I have double  checked the perticular AP group WLAN is created & mapped to the correct interface in the controller. This is not first AP group created on the controller, other AP groups are working on the same controller.
    Is there any Bug?
    Thanks

    Typically you still need to make sure that the country codes are indeed configured on the WLC. Thing can change when you upgrade code as standards might of changed and regulations also. If your AP's are functional, then you should be okay and I wouldn't worry too much about it, but if after the upgrade, the WLC complains about country code stuff, then you just need to verify that the AP's country code is defined on the WLC. May times the AP will not join and if it does join, the radios might be disabled or in a down status.
    Sent from Cisco Technical Support iPad App

  • Cisco 1702i WAP: how to get an interface in a non-native bridge group/ VLAN to be recognized by the internal DHCP server

    Does anyone know how the internal DHCP server in these access points connects to virtual interfaces and bridges in the unit?
    Is there some sort of default connection that connects the DHCP server to the native bridge group or VLAN?
    In a test case, with an SSID in the native VLAN and bridge group, the 1702i serves an IP address to a wireless client no problem. But with a second SSID in a non native VLAN and bridge group, no IP gets served. My only guess is that since the bvi1 defaults to the native bridge group and VLAN, sub-interfaces also in this group are assumed to be in the same subnet as bvi1, or in this case:
    interface bvi1
      ip address 192.168.1.205 255.255.255.0
      no ip route-cache
      exit
    It would be the ..1. subnet.
    Since the dhcp pool is set as:
    ip dhcp pool GeneralWiFi
      network 192.168.1.0 255.255.255.0
      lease 1
      default-router 192.168.1.1
      dns-server 8.8.8.8
      exit
    There may be an assumption that anything bvi1 can talk to is in the ..1. subnet, so the above pool gets activated on a request coming through bvi1.
    Is the DHCP server just hanging out waiting for a request from an "area" that is assumed to be on the same subnet as the given pool?
    Do I need to somehow show the device what subnet the 2nd SSID/ subinterfaces are in so the internal DHCP server can decide it needs to go to work, or is there some sort of bridging between the DHCP server and the interfaces that needs to be done? I am trying to use the same DHCP pool for the second subnet at this point, since I assume I will need another router to service an additional subnet and DHCP pool.

    Keep in mind that DHCP is a broadcast packet to start. So the AP can only listen in the subnet that it has an IP address for.
    Now, for any other subnet you can use the AP for DHCP but you have to have an IP helper address on your L3 pointing back to the AP.
    That being said, I wouldn't use the DHCP server on the AP as it is limited. You'd be better off using a Microsoft server or some other device that is designed for DHCP.
    HTH,
    Steve

  • AP group vs WLAN override interface priority

    Hi,
    SW version 4.2.207.0
    Which interface(VLAN ID) of SSID has priority while AP is configured with WLAN override?
    One configured in AP group or one configured in WLAN SSID.
    Example:
    LAP1 is in AP group with SSID1 to interface VLAN2 mapping
    WLAN SSID1 has mapping to interface VLAN3
    LAP1 has WLAN override enable for SSID1.
    Clients connected to LAP1 will be in VLAN2 or VLAN3?
    Thanks for clarifying.

    clients will be connecting to VLAN3. WLAN overrides what WLAN needs to be enabled/broadcasted on specific AP while AP group overrides WLAN to VLAN mappings.
    http://www.cisco.com/en/US/docs/wireless/controller/4.2/configuration/guide/c42wlan.html#wp1127323
    Configuring WLAN Override
    By default, access points transmit all defined WLANs on the controller. However, you can use the WLAN override option to select which WLANs are transmitted and which are not on a per access point basis. For example, you can use WLAN override to control where in the network the guest WLAN is transmitted, or you can use it to disable a specific WLAN in a certain area of the network.
    Configuring Access Point Groups
    In a typical deployment, all users on a WLAN are mapped to a single interface on the controller. Therefore, all users associated with that WLAN are on the same subnet or VLAN. However, you can override this default WLAN setting to distribute the load among several interfaces or to group users based on specific criteria such as individual departments (for example, marketing) by creating access point groups (formerly known as site-specific VLANs). Additionally, these access point groups can be configured in separate VLANs to simplify network administration
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008073c723.shtml
    AP Group VLANs with Wireless LAN Controllers Configuration Example

  • VLAN assignment depending on AP for one SSID

    Hi,
    I read the AP Group VLANs with WLC configuration examples but did not find exactly what I look for. I'm on a WLC 5500.
    I try to create AP groups which broadcast a set of SSID, but inside AP groups, depending on the AP on which the connection is made, i want to assign a specific VLAN for the clients.
    If connection is made on SSID1 and AP1 -> one VLAN, for example VLAN_SSID1_AP1
    same for SSID1 and AP2 -> another VLAN, for example VLAN_SSID1_AP2
    I want to assign some VLANs to one of my networks to get local IPs depending on the AP.
    The VLAN are all defined as dynamic interfaces, currently the SSID matches one VLAN, but i did not find how to do this assignment. I cannot define a VLAN for a network(SSID) and an AP.
    Thanks for your ideas,
    Christophe

    You need to create two AP Groups.  Both will have the SSID, but AP Group #1 will have SSID mapped to vlan 1 and AP Group #2 will have SSID mapped to vlan 2.  Then you add the appropriate ap's to which group you want.

  • AP Grouping configuration

    Infrastructure:
    we have 3000 access point spread across 15 buildings,
    we have 15 WiSMs (3no.s of 6509 controllers) catering those AP's from central locations,
    we have 350 AP's in one building (3 floors) and in some 200 AP's(2 floors),
    planning for ACS with EAP-FAST implementation.
    Requirement:
    I want to use /24 subnet for AP's as well as for WLAN Clients.
    clients should have /24 subnet only
    I know about the AP grouping concept and I read some document aswell on the cisco site, but in those documents didn't help me much for AP Grouping VLAN and  external DHCP configuration (Client)
    Could anyone help me in configuring the AP grouping with external DHCP server for clients /24 subnet IP's.

    Thanks for your reply,
    My Switch working as L2 in buildings and L3 only in Datacenter location.
    I am Planning to use 8 SSID's,
    As a best practice from Cisco 100 AP's per subnet, I would like to go with AP grouping configuration, now I would like to know how to configure clients with /24 subnet, (external DHCP Server), if you have any sample configuration steps kindly share the same, or give me idea about how to configure /24 subnet for clients.
    in the WiSM I am configuring AP grouping 90 access point to one group, 150 access point to one group, remaining in the other group.
    Now since I have only 3 AP group and I want to configure /24 clients keeping max. 20 users per access point. how to configure the client IP address.

  • AP Groups SSID's

    Hello
    When you create an Ap-Group you are defined that SSID is going to belong to the AP-Group.I don't understand because they in the AP spread all the SSID that they is definite in the Lan controller, I understand that only should publish the SSIS that they are defined when you define the AP-Group.
    Does any form exist of that the AP it only publish the SSID that they is definite in their AP-Group?

    Hi Jose,
    Thats is not the main purpose of AP group I believe and I believe what you see is expected.
    The whole purpose of AP Group vlan is that same ssid can be mapped to multiple vlans and then mapped to different ap groups which is further mapped to APs and when you roam to different APs which are mapped to different AP groups depending upon which AP you are associated you will get assigned to that vlan as the SSID remain same but mapped to dfferent vlans.
    I believe what you should configure is WLAN Override feature where you can select which AP should advertise which WLANS and you can specify it per radio also.
    Have a look at this link
    http://www.cisco.com/univercd/cc/td/doc/product/wireless/control/c44/ccfig40/c40wlan.htm#wp1114777
    HTH
    Ankur
    *Pls rate all helpfull post

  • AP Groups

    Hi All
    Cisco WiSM
    LWAPP 1000 - 1200 Serries APs
    4 x wLANs (guest, data, voice, manufacturing)
    I have a requirement to only allow one wLAN (voice) on a specific group of access points? is this possible? if so, how do you do it? I have created an AP Groups VLAN and only allowed the voice vlan. I then added the specific access points to this group. However, it seems that al four wLANs are still being serviced by these APs...? Any ideas?
    Many thanks
    Michael

    Depending on the code version that you are running you will want to use AP Groups or WLAN Override.  These two features were combined into one in the later versions.  Since you mention using 1000 series AP's I'll assume you are running 4.2 or earlier.  In this case you would use WLAN override.  Go to Wireless - AP's - 802.11a (or b/g) and configure the radio interface for the AP.  Under there you will see a dropdown to enable WLAN Override.  After you enable it check the WLANs you want to be broadcast on that radio.  Apply the changes and reboot the AP.

  • DPM 2012 Cannot modify or create protection groups after upgrading from DPM 2010

    Hi,
    We have recently upgraded from DPM 2010 to 2012.  Since the upgrade we have been unable to create new protection groups or add new datasources to an existing group.  Existing backups are running without errors. 
    We have tried checking the DPM sql user account permissions as described in
    this article but with no luck.  More searching has not provided any other relavent fixes.  We are now stuck on how to troubleshoot this any further.
    In the DPM console we get the following error adding a VM to an existing protection group:
    Modify protection group: Virtual Machines failed:
    Error 207: An unexpected error occurred on DPM server machine during a VSS operation.
    Error details: VssError:Shadow copying the specified volume is not supported.
     (0x8004230C)
    Recommended action: Retry the operation.
    Allocate Replica For \Backup Using Saved State\Cacti failed:
    Error 207: An unexpected error occurred on DPM server machine during a VSS operation.
    Error details: VssError:Shadow copying the specified volume is not supported.
     (0x8004230C)
    Recommended action: Retry the operation.
    In the event log we see:
    The description for Event ID 955 from source MSDPM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The consistency check resulted in the following changes to SQL Server Agent schedules: Schedules added: 1 Schedules removed: 1 Schedules updated: 0.  
    Problem Details:
    <ConsistencyCheck><__System><ID>26</ID><Seq>1534</Seq><TimeCreated>23/04/2012 09:33:29</TimeCreated><Source>SchedulerImpl.cs</Source><Line>719</Line><HasError>True</HasError></__System><Tags><JobSchedule
    /></Tags></ConsistencyCheck>
    the message resource is present but the message is not found in the string/message table
    Thanks in advance for any advice.

    Hi,
    The error 0x8004230C VSS_E_VOLUME_NOT_SUPPORTED: Shadow copying the specified volume is not supported, can only come when trying to enable shadow copies on new volumes created when trying to add new datasources to protection.   Generally speaking
    Only NTFS volumes greater that 1GB with a minimum of 300MB free space can be shadow copied, so something is going wrong with the volume creation / format process.  Please investigate that, see if two new volumes get created when protecting a new data
    source, and the sizes are greated that 1GB and also verify it's formatted NTFS.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • ISE policy, DACLs and VLAN changes together

    So I have been having a hard time finding consistency in a policy that both changes the VLAN and applies a DACL. Originally, I found out that remarks were causing it to mess up. But I can't find any consistency. I can use the vanilla 'oermit all' DACL in ISE, along with a VLAN change, and it just doesn't work. My AuthZ is very simple...If you are wired_MAB and your endpoint is in a particular group, then apply a policy that changes the VLAN and applies a DACL. This seems like it's at the root of what ISE is supposed to do, but it seems so buggy. Weird thing is, that if I do the VLAN change by itself, it works. But when I add the DACL neither work. Anyone have any ideas as to why this is?

    So it worked this time. The machine has been sitting in sleep mode for a while now. This is so inconsistent. Could it have something to do with me using the same machine to test a few different policies? I'm just switching the machine's MAC between different groups in order to test different policies. Thats really when it stops working.
    - Do you have a pre-auth acl configured already on the port ? Yes, one that says permit any any
    - Is the port running open mode ? Yes
    - What does the "show auth sess int x/x" tell you once the ise has sent the authorization result to the switch ?
    SJ5051IDF1#show authentication sess int g1/5 d
                Interface:  GigabitEthernet1/5
              MAC Address:  d4be.d905.3973
             IPv6 Address:  Unknown
             IPv4 Address:  10.42.163.59
                User-Name:  D4-BE-D9-05-39-73
                   Status:  Authorized
                   Domain:  DATA
           Oper host mode:  multi-auth
         Oper control dir:  both
          Session timeout:  N/A
        Common Session ID:  0A0600210000007B24636E88
          Acct Session ID:  0x00000086
                   Handle:  0x4A000055
           Current Policy:  POLICY_Gi1/5
    Local Policies:
    Template: DEFAULT_LINKSEC_POLICY_SHOULD_SECURE (priority 150)
          Security Policy:  Should Secure
          Security Status:  Link Unsecure
    Server Policies:
               Vlan Group:  Vlan: 1620
                  ACS ACL:  xACSACLx-IP-BLDG-AUTOMATION-DACL-52fa7487
    Method status list:
           Method           State
           mab              Authc Success
    interface GigabitEthernet1/5
    switchport access vlan 32
    switchport mode access
    switchport voice vlan 64
    ip access-group ACL-ALLOW in
    logging event link-status
    authentication event fail action next-method
    authentication event server dead action authorize vlan 2700
    authentication event server alive action reinitialize
    authentication host-mode multi-auth
    authentication open
    authentication order mab dot1x
    authentication priority dot1x mab
    authentication port-control auto
    authentication periodic
    authentication timer reauthenticate server
    authentication violation restrict
    mab
    dot1x pae authenticator
    dot1x timeout tx-period 10
    service-policy input QoS-Input-Policy
    service-policy output QoS-Host-Port-Output-Policy
    end

  • Help with VLANs on ASR9001

    Hi All,
    I have read the exapmles on this forum of setting up vlans but must have missed something.
    Im trying to setup Bundle ether 1 to connect to a 3750x on vlan 220, bundle ether 2 will goto a customer (not active yet)
    Both the asr and 3750 are reporting port chanel active but i cannot ping end to end
    here is my ASR currect (non production) config
    lacp system mac e4c7.2243.689c
    rp mgmtethernet forwarding
    interface Bundle-Ether1
    description 2x10GbE Bundle to SecurITon Core
    mac-address e4c7.2243.689c
    interface Bundle-Ether1.220 l2transport
    description -220-
    encapsulation dot1q 220
    rewrite ingress tag pop 1 symmetric
    interface Bundle-Ether2
    description 220
    bundle minimum-active links 1
    l2transport
    interface TenGigE0/0/2/0
    bundle id 1 mode active
    interface TenGigE0/0/2/1
    nv
      edge
       interface
    transceiver permit pid all
    interface TenGigE0/0/2/2
    bundle id 2 mode active
    interface TenGigE0/0/2/3
    nv
      edge
       interface
    interface TenGigE1/0/2/0
    bundle id 1 mode active
    interface TenGigE1/0/2/1
    nv
      edge
       interface
    transceiver permit pid all
    interface TenGigE1/0/2/2
    bundle id 2 mode active
    interface TenGigE1/0/2/3
    nv
      edge
       interface
    interface BVI220
    ipv4 address 172.17.220.2 255.255.255.0
    l2vpn
    bridge group VLANs
      bridge-domain vlan220
       interface Bundle-Ether2
       interface Bundle-Ether1.220
       routed interface BVI220
    here is sh int br
                   Intf       Intf        LineP              Encap  MTU        BW
                   Name       State       State               Type (byte)    (Kbps)
                  BV220          up          up               ARPA  1514   10000000
                    BE1          up          up               ARPA  1514   20000000
                BE1.220          up          up             802.1Q  1518   20000000
                    BE2        down        down               ARPA  1514          0
                    Nu0          up          up               Null  1500          0
        Mg0/RSP0/CPU0/0          up          up               ARPA  1514    1000000
        Mg0/RSP0/CPU0/1          up          up               ARPA  1514    1000000
              Te0/0/2/0          up          up               ARPA  1514   10000000
              Te0/0/2/1          up          up               ARPA  1514   10000000
              Te0/0/2/2        down        down               ARPA  1514   10000000
              Te0/0/2/3          up          up               ARPA  1514   10000000
        Mg1/RSP0/CPU0/0          up          up               ARPA  1514    1000000
        Mg1/RSP0/CPU0/1          up          up               ARPA  1514    1000000
              Te1/0/2/0          up          up               ARPA  1514   10000000
              Te1/0/2/1          up          up               ARPA  1514   10000000
              Te1/0/2/2        down        down               ARPA  1514   10000000
              Te1/0/2/3          up          up               ARPA  1514   10000000
    here is the 3750 x config
    vlan 220
    name220
    Interface vlan 220
    description 220
    ip address 172.17.220.10 255.255.255.0
    interface TenGigabitEthernet1/1/2
    description —ASR9001
    switchport access vlan 220
    switchport mode access
    no cdp enable
    no cdp tlv server-location
    no cdp tlv app
    spanning-tree portfast trunk
    spanning-tree bpdufilter enable
    channel-protocol lacp
    channel-group 12 mode active
    interface TenGigabitEthernet2/1/2
    description —ASR9001
    switchport access vlan 220
    switchport mode access
    no cdp enable
    no cdp tlv server-location
    no cdp tlv app
    spanning-tree portfast trunk
    spanning-tree bpdufilter enable
    channel-protocol lacp
    channel-group 12 mode active
    interface Port-channel12
    description --ASR9001
    switchport access vlan 220
    switchport mode access
    spanning-tree portfast trunk
    spanning-tree bpdufilter enable

    Thank you

  • SSID and Vlans

    I can to have two SSIDs for all branch of my country, but each ones in a differents subnets,for example:
    Area 1
    SSID 1 : guest -> 192.168.1.1
    SSID 2 : office -> 192.168.2.1
    Area 2
    SSID 1 : guest -> 192.168.3.1
    SSID 2 : office -> 192.168.4.1
    I have configured AP-Group, and this works succesfull but only with one SSID, I need two SSID, each one associated a multiples vlans, when the user are connect to SSID guest they receive the correct ip from the subnet corresponding,(Area1 ip address of host is 192.168.1.X and the Area 2 the usuer receibe the address 192.168.3.X both using the same SSID "guest"), How I can reach this requerimients using two SSID?. Using Ap-Group or there is other methods.

    AP Group VLANs are used in a setup where a Universal WLAN (service set identifier [SSID]) is required but clients need to be differentiated (placed on different interfaces configured on the WLC) by virtue of physical LAPs they associate with. Refer URL
    http://cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008073c723.shtml#c2

  • Query takes long time to return results.

    I am on Oracle database 10g Enterprise Edition Release 10.2.0.4.0 – 64 bit
    This query takes about 58 seconds to return 180 rows...
             SELECT order_num,
                    order_date,
                    company_num,
                    customer_num,
                    address_type,
                    create_date as address_create_date,
                    contact_name,
                    first_name,
                    middle_init,
                    last_name,
                    company_name,
                    street_address_1,
                    customer_class,
                    city,
                    state,
                    zip_code,
                    country_code,
                    MAX(decode(media_type,
                               'PHH',
                               phone_area_code || '''' || phone_number,
                               NULL)) home_phone,
                    MAX(decode(media_type,
                               'PHW',
                               phone_area_code || '''' || phone_number,
                               NULL)) work_phone,
                    address_seq_num,
                    street_address_2
               FROM (SELECT oh.order_num order_num,
                            oh.order_datetime order_date,
                            oh.company_num company_num,
                            oh.customer_num customer_num,
                            ad.address_type address_type,
                            c.create_date create_date,
                            con.first_name || '''' || con.last_name contact_name,
                            con.first_name first_name,
                            con.middle_init middle_init,
                            con.last_name last_name,
                            ad.company_name company_name,
                            ad.street_address_1 street_address_1,
                            c.customer_class customer_class,
                            ad.city city,
                            ad.state state,
                            ad.zip_code zip_code,
                            ad.country_code,
                            cph.media_type media_type,
                            cph.phone_area_code phone_area_code,
                            cph.phone_number phone_number,
                            ad.address_seq_num address_seq_num,
                            ad.street_address_2 street_address_2
                       FROM reporting_base.gt_gaft_orders gt,
                            doms.us_ordhdr   oh,
                            doms.us_address  ad,
                            doms.us_customer c,
                            doms.us_contact  con,
                            doms.us_contph   cph
                      WHERE oh.customer_num = c.customer_num(+)
                        AND oh.customer_num = ad.customer_num(+)
                        AND (
                               ad.customer_num = c.customer_num
                        AND
                               ad.address_type = 'B'
                         OR   (
                                ad.customer_num = c.customer_num
                        AND
                                ad.address_type = 'S'
                        AND
                            ad.address_seq_num = oh.ship_to_seq_num
                        AND ad.customer_num = con.customer_num(+)
                        AND ad.address_type = con.address_type(+)
                        AND ad.address_seq_num = con.address_seq_num(+)
                        AND con.customer_num = cph.customer_num(+)
                        AND con.contact_id = cph.contact_id(+)
                        AND oh.order_num = gt.order_num
                        AND oh.business_unit_id = gt.business_unit_id)
              GROUP BY order_num,
                       order_date,
                       company_num,
                       customer_num,
                       address_type,
                       create_date,
                       contact_name,
                       first_name,
                       middle_init,
                       last_name,
                       company_name,
                       street_address_1,
                       customer_class,
                       city,
                       state,
                       zip_code,
                       country_code,
                       address_seq_num,
                       street_address_2;This is the explain plan for the query:
    Plan
    SELECT STATEMENT FIRST_ROWS Cost: 21 Bytes: 207 Cardinality: 1
         18 HASH GROUP BY Cost: 21 Bytes: 207 Cardinality: 1
               17 NESTED LOOPS OUTER Cost: 20 Bytes: 207 Cardinality: 1
                     14 NESTED LOOPS OUTER Cost: 16 Bytes: 183 Cardinality: 1
                           11 FILTER
                                 10 NESTED LOOPS OUTER Cost: 12 Bytes: 152 Cardinality: 1
                                       7 NESTED LOOPS OUTER Cost: 8 Bytes: 74 Cardinality: 1
                                             4 NESTED LOOPS OUTER Cost: 5 Bytes: 56 Cardinality: 1
                                                   1 TABLE ACCESS FULL TABLE (TEMP) REPORTING_BASE.GT_GAFT_ORDERS Cost: 2 Bytes: 26 Cardinality: 1
                                                   3 TABLE ACCESS BY INDEX ROWID TABLE DOMS.US_ORDHDR Cost: 3 Bytes: 30 Cardinality: 1
                                                         2 INDEX UNIQUE SCAN INDEX (UNIQUE) DOMS.USORDHDR_IXUPK_ORDNUMBUID Cost: 2 Cardinality: 1
                                             6 TABLE ACCESS BY GLOBAL INDEX ROWID TABLE DOMS.US_CUSTOMER Cost: 3 Bytes: 18 Cardinality: 1 Partition #: 11
                                                   5 INDEX UNIQUE SCAN INDEX (UNIQUE) DOMS.USCUSTOMER_IXUPK_CUSTNUM Cost: 2 Cardinality: 1
                                       9 TABLE ACCESS BY GLOBAL INDEX ROWID TABLE DOMS.US_ADDRESS Cost: 4 Bytes: 156 Cardinality: 2 Partition #: 13
                                             8 INDEX RANGE SCAN INDEX (UNIQUE) DOMS.USADDR_IXUPK_CUSTATYPASEQ Cost: 3 Cardinality: 2
                           13 TABLE ACCESS BY GLOBAL INDEX ROWID TABLE DOMS.US_CONTACT Cost: 4 Bytes: 31 Cardinality: 1 Partition #: 15
                                 12 INDEX RANGE SCAN INDEX DOMS.USCONT_IX_CNATAS Cost: 3 Cardinality: 1
                     16 TABLE ACCESS BY GLOBAL INDEX ROWID TABLE DOMS.US_CONTPH Cost: 4 Bytes: 24 Cardinality: 1 Partition #: 17
                           15 INDEX RANGE SCAN INDEX (UNIQUE) DOMS.USCONTPH_IXUPK_CUSTCONTMEDSEQ Cost: 3 Cardinality: 1 Cost is good. All indexes are used. However the time to return the data is very high.
    Any ideas to make the query faster?.
    Thanks

    Hi, here is the tkprof output as requested by Rob..
    TKPROF: Release 10.2.0.4.0 - Production on Mon Jul 13 09:07:09 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Trace file: axispr1_ora_15293.trc
    Sort options: default
    count    = number of times OCI procedure was executed
    cpu      = cpu time in seconds executing
    elapsed  = elapsed time in seconds executing
    disk     = number of physical reads of buffers from disk
    query    = number of buffers gotten for consistent read
    current  = number of buffers gotten in current mode (usually for update)
    rows     = number of rows processed by the fetch or execute call
    SELECT ORDER_NUM, ORDER_DATE, COMPANY_NUM, CUSTOMER_NUM, ADDRESS_TYPE,
      CREATE_DATE AS ADDRESS_CREATE_DATE, CONTACT_NAME, FIRST_NAME, MIDDLE_INIT,
      LAST_NAME, COMPANY_NAME, STREET_ADDRESS_1, CUSTOMER_CLASS, CITY, STATE,
      ZIP_CODE, COUNTRY_CODE, MAX(DECODE(MEDIA_TYPE, 'PHH', PHONE_AREA_CODE ||
      '''' || PHONE_NUMBER, NULL)) HOME_PHONE, MAX(DECODE(MEDIA_TYPE, 'PHW',
      PHONE_AREA_CODE || '''' || PHONE_NUMBER, NULL)) WORK_PHONE, ADDRESS_SEQ_NUM,
       STREET_ADDRESS_2
    FROM
    (SELECT OH.ORDER_NUM ORDER_NUM, OH.ORDER_DATETIME ORDER_DATE, OH.COMPANY_NUM
      COMPANY_NUM, OH.CUSTOMER_NUM CUSTOMER_NUM, AD.ADDRESS_TYPE ADDRESS_TYPE,
      C.CREATE_DATE CREATE_DATE, CON.FIRST_NAME || '''' || CON.LAST_NAME
      CONTACT_NAME, CON.FIRST_NAME FIRST_NAME, CON.MIDDLE_INIT MIDDLE_INIT,
      CON.LAST_NAME LAST_NAME, AD.COMPANY_NAME COMPANY_NAME, AD.STREET_ADDRESS_1
      STREET_ADDRESS_1, C.CUSTOMER_CLASS CUSTOMER_CLASS, AD.CITY CITY, AD.STATE
      STATE, AD.ZIP_CODE ZIP_CODE, AD.COUNTRY_CODE, CPH.MEDIA_TYPE MEDIA_TYPE,
      CPH.PHONE_AREA_CODE PHONE_AREA_CODE, CPH.PHONE_NUMBER PHONE_NUMBER,
      AD.ADDRESS_SEQ_NUM ADDRESS_SEQ_NUM, AD.STREET_ADDRESS_2 STREET_ADDRESS_2
      FROM REPORTING_BASE.GT_GAFT_ORDERS GT, DOMS.US_ORDHDR OH, DOMS.US_ADDRESS
      AD, DOMS.US_CUSTOMER C, DOMS.US_CONTACT CON, DOMS.US_CONTPH CPH WHERE
      OH.ORDER_NUM = GT.ORDER_NUM AND OH.BUSINESS_UNIT_ID = GT.BUSINESS_UNIT_ID
      AND OH.CUSTOMER_NUM = C.CUSTOMER_NUM(+) AND OH.CUSTOMER_NUM =
      AD.CUSTOMER_NUM(+) AND AD.CUSTOMER_NUM = C.CUSTOMER_NUM AND (
      AD.ADDRESS_TYPE = 'B' OR ( AD.ADDRESS_TYPE = 'S' AND AD.ADDRESS_SEQ_NUM =
      OH.SHIP_TO_SEQ_NUM ) ) AND AD.CUSTOMER_NUM = CON.CUSTOMER_NUM(+) AND
      AD.ADDRESS_TYPE = CON.ADDRESS_TYPE(+) AND AD.ADDRESS_SEQ_NUM =
      CON.ADDRESS_SEQ_NUM(+) AND CON.CUSTOMER_NUM = CPH.CUSTOMER_NUM(+) AND
      CON.CONTACT_ID = CPH.CONTACT_ID(+) ) GROUP BY ORDER_NUM, ORDER_DATE,
      COMPANY_NUM, CUSTOMER_NUM, ADDRESS_TYPE, CREATE_DATE, CONTACT_NAME,
      FIRST_NAME, MIDDLE_INIT, LAST_NAME, COMPANY_NAME, STREET_ADDRESS_1,
      CUSTOMER_CLASS, CITY, STATE, ZIP_CODE, COUNTRY_CODE, ADDRESS_SEQ_NUM,
      STREET_ADDRESS_2
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        0      0.00       0.00          0          0          0           0
    Execute      0      0.00       0.00          0          0          0           0
    Fetch      257      0.04       0.05         45          0          0        6421
    total      257      0.04       0.05         45          0          0        6421
    Misses in library cache during parse: 0
    Parsing user id: 126
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        0      0.00       0.00          0          0          0           0
    Execute      0      0.00       0.00          0          0          0           0
    Fetch      257      0.04       0.05         45          0          0        6421
    total      257      0.04       0.05         45          0          0        6421
    Misses in library cache during parse: 0
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        0      0.00       0.00          0          0          0           0
    Execute      0      0.00       0.00          0          0          0           0
    Fetch        0      0.00       0.00          0          0          0           0
    total        0      0.00       0.00          0          0          0           0
    Misses in library cache during parse: 0
        1  user  SQL statements in session.
        0  internal SQL statements in session.
        1  SQL statements in session.
    Trace file: axispr1_ora_15293.trc
    Trace file compatibility: 10.01.00
    Sort options: default
           1  session in tracefile.
           1  user  SQL statements in trace file.
           0  internal SQL statements in trace file.
           1  SQL statements in trace file.
           1  unique SQL statements in trace file.
         289  lines in trace file.
          83  elapsed seconds in trace file.Thanks in advance!

Maybe you are looking for

  • Receiving error message when printing on a Mac from Reader 10.0.2

    I have tried printing several pdf files and received this error message: "Error: pstopdffilter/pstocupsraster failed with err number 13" from an HP Officejet Pro 8500. The problem started yesterday under Reader version 9.4.2, to which I upgraded a fe

  • How to upload the data from XML file to SAP database using IDOC

    Hi, I need some steps  to upload  data from XML format file from other directory to SAP database using IDOC. how to approch this please if any one knows give me ans it will be a great help ful to me Thanks in Advance Mallik

  • Syncing issues with 3GS ical and address book

    I have been using Entrourage 2008 with success for a good few months - had a few issues to start with but thought I'd cracked it!  However, I have now found that when I syn my 3gs I have to ensure that I tick replace information in the itunes sync be

  • Adobe photoshop cs6 or cc for 4k display problem.

    I have Toshiba new 4k display (3840 x 2160) laptop (window 8.1). It's showing Photoshop text very small, even I can't read it. How can I enlarge the text? Or what setting I need to follow.

  • How can I get data that was on my phone before the last sync?

    I backed up my iPhone in September.  I stupidly restored it last week without first backing up everything I had up to this point, and lost all the data in between that was on it. Is there any way to get that data back?