cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4267
Views
0
Helpful
1
Replies

How to define a SGT for address is any?

huichen2
Cisco Employee
Cisco Employee

Hi:Team:

Is there a way to  use a  sgt  represent ip address is any ?

After customer deployed the sda fabric , some acl just like  deny   ip 172.30.0.0 0.0.255.255 any  can not change to sgacl

How we can use sgacl replace transitional  acl which one the source or destination address is any ?

Thank you very much!

1 Accepted Solution

Accepted Solutions

jeaves@cisco.com
Cisco Employee
Cisco Employee

Was just going through the community questions and noticed this was answered.

Sorry for the delay.

You're right, there's no such thing as ANY for SGACLs.

If the ACL using ANY is on an interface then you can determine what subnet(s) are on that interface in order to perhaps use a Subnet:SGT mapping instead.

Remember that in your example above, the IP will be in a group. So what you want is a policy from SGT X to any other group (permit or deny as appropriate). You then complete your policies between all groups making use of a default deny or default permit, whichever allows less entries to be entered. Remember you can use the 'Unknown' group for sources or destinations that are not classified into groups.

View solution in original post

1 Reply 1

jeaves@cisco.com
Cisco Employee
Cisco Employee

Was just going through the community questions and noticed this was answered.

Sorry for the delay.

You're right, there's no such thing as ANY for SGACLs.

If the ACL using ANY is on an interface then you can determine what subnet(s) are on that interface in order to perhaps use a Subnet:SGT mapping instead.

Remember that in your example above, the IP will be in a group. So what you want is a policy from SGT X to any other group (permit or deny as appropriate). You then complete your policies between all groups making use of a default deny or default permit, whichever allows less entries to be entered. Remember you can use the 'Unknown' group for sources or destinations that are not classified into groups.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: