test security-policy-match

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

test security-policy-match

L2 Linker

Hi

Somebody help me write command test security-policy-match....... which WORKS and search that rule:

     VIP-TEST {

        from zone-v586;

        source any;

        source-region any;

        to zone-v8;

        destination 192.168.81.81;

        destination-region any;

        user cn=net_vip-test,ou=paloalto,dc=domena;

        category any;

        application/service[ ssl/tcp/any/443 web-browsing/tcp/any/80 ];

        action allow;

Thank you.

6 REPLIES 6

L3 Networker

This may work: -

test security-policy-match from <insert source zone> to zone-v8 source-user cn=net_vip,ou=paloalto,dc=domena destination 192.168.81.81 application web-browsing destination-port 80

Just replace the source zone and possibly the username (do a ? after entering source-user to get the correct syntax for their name). You can also add a "show all" at the end to see if it maybe is matching an earlier security policy.

sorry does not work

Are  you sure that syntax is correct.  I think you must use protocol and source adress.

If i use "source user ?" answer is <value>  Source User

Please tell me correct syntax argument soure-user if my login is kdaniszewski

for source user try the following format <domain_name>\<username>

for example using a domain name of testdomain and a user named kdaniszewski the format would be as follows:

source-user testdomain\kdaniszewski

Hope that helps...

You can also try this

test security-policy-match source < src IP address >  destination 192.168.81.81 protocol 6 destination-port 80.

Thanks,

Sandeep T

Thank you for help but still not work. If my policy I use argument source-user I can't find any policy but if source-user is empty I can find.

I tested and dosen't work

test security-policy-match source 0.0.0.0  destination 192.168.81.81 protocol 6 destination-port 80.

test security-policy-match source 0.0.0.0  destination 192.168.81.81 protocol 6 destination-port 80 source-user domain\kdaniszewski

test security-policy-match source 0.0.0.0  destination 192.168.81.81 protocol 6 destination-port 80 source-user domain\net_vip-test

test security-policy-match source 0.0.0.0  destination 192.168.81.81 protocol 6 destination-port 80 source-user domain\vip-test

If I use protocol IP (4) no change dosen't work.

Thank you

test security-policy-match from <zone> to <zone> source-user domain\alias  source x.x.x.x destination y.y.y.y application <name of application> protocol <protocolnumber> show all yes

Sample Example:
test security-policy-match from trust to untrust source-user test\testuser source 1.1.1.1 destination 2.2.2.2 application youtube-base protocol 80 show all yes

Thanks,

Sanju

  • 3790 Views
  • 6 replies
  • 1 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!