cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3935
Views
5
Helpful
2
Replies

unable to create acl with object group for service-port.

amardram123
Level 1
Level 1

 

Hi All,

 

I am trying to configure an acl in ASA 8.6(1)2.. but getting below error marked in bold.. just trying to understand what is wrong in my service object group.!!

 

object-group service TCP_ports 
 service-object tcp destination eq 1433
 service-object tcp destination eq 8733

 

Below is the acl i am trying to implement..

 

access-list outside_access_in extended permit tcp object-group Destinations_Enc_Domain object-group Source_Enc_Domain object-group TCP_ports

ERROR: specified object group <TCP_ports> has wrong type; expecting service type\

 

Thanks,

Amar

1 Accepted Solution

Accepted Solutions

Vibhor Amrodia
Cisco Employee
Cisco Employee

Hi,

Once , you have defined the Protocol type on the object group , you don't have to define that again in the ACE.

Use this instead:-

access-list outside_access_in extended permit object-group TCP_ports object-group Destinations_Enc_Domain object-group Source_Enc_Domain

Thanks and Regards,

Vibhor Amrodia

View solution in original post

2 Replies 2

Vibhor Amrodia
Cisco Employee
Cisco Employee

Hi,

Once , you have defined the Protocol type on the object group , you don't have to define that again in the ACE.

Use this instead:-

access-list outside_access_in extended permit object-group TCP_ports object-group Destinations_Enc_Domain object-group Source_Enc_Domain

Thanks and Regards,

Vibhor Amrodia

 

 

Thanks Vibhor,it worked... cheers :-)

Amar

 

 

Review Cisco Networking products for a $25 gift card