Deny - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Syntax
allow address/netmask
allow any
Parameters
address/netmask
any
Guidelines
The allow command defines an allow clause for the ACL. This clause identifies
which IP addresses to grant access. If the ACL contains only deny clauses, the last
clause in the ACL must be the allow any clause.
Related Commands

deny

Examples
v Enters ACL configuration mode for the Restricted ACL. Limits access to IP
deny
Identifies IP addresses to deny access.
Syntax
deny address/netmask
deny any
Parameters
address/netmask
any
170
Command Reference
Defines a range of IP addresses. Specify the IP address in dotted decimal
format. Specify the net mask in CIDR (slash) format or dotted decimal
format. CIDR format is an integer that specifies the length of the network
portion of the address.
Specifies all IP addresses.
addresses 10.10.10.224 through 10.10.10.255, 192.168.14.1, and 10.10.100.1. All
other IP addresses are denied access.
# acl Restricted
ACL configuration mode
# allow 10.10.10.0/27
# allow 192.168.14.1/32
# allow 10.10.100.1/32
# exit
#
Defines a range of IP addresses. Specify the IP address in dotted decimal
format. Specify the net mask in CIDR (slash) format or dotted decimal
format. CIDR format is an integer that specifies the length of the network
portion of the address.
Specifies all IP addresses.

Advertisement

Table of Contents
loading

Table of Contents