Page History
Panel | |
---|---|
In this section:
|
Include Page _IP_Access_Control_List_a_Condition_for_Using_Fill_Rate_and_Bucket_Size _IP_Access_Control_List_a_Condition_for_Using_Fill_Rate_and_Bucket_Size
IP Access Control Lists (IP ACLs) specify a 5-tuple of destination IP address, destination TCP/UDP port, source IP address, source port, and transport protocol that are to be matched against the incoming IP packets. Use IP ACLs to specify rules to permit or deny packets into the
Spacevars | ||
---|---|---|
|
The destination and source IP address indicates a network mask or wild-carded instead of a fully qualified IP address. The destination and source ports, and the transport protocol is also wild-carded. While this ability to wildcard the destination (or local) IP is sufficient for basic IP ACL functionality in the dynamic address environment of the cloud, additional functionality to explicitly use a local interface and SIP Signaling Port (SSP) as the destination IP address allows more simpler and generic configurations.
The
Spacevars | ||
---|---|---|
|
Note |
---|
When you create an IP ACL rule, its state defaults to " |
The default IP ACL supports 20 Record-Routes.
Info | ||
---|---|---|
| ||
When a user creates a new management group, the user must add user defined ACL rules to get the equivalent rules that are set up for the default management group. |
Info |
---|
Refer to SBC Provisioning Limits for the maximum number of IP ACLs allowed on the SBC. |
The
Spacevars | ||
---|---|---|
|
Command Syntax
Code Block | ||
---|---|---|
| ||
% set addressContext <addressContext_name> ipAccessControlList... |
// Mandatory parameters.
Code Block | ||
---|---|---|
| ||
rule <rule_name> precedence <1-65535> |
// Optional parameters.
Info | ||
---|---|---|
| ||
|
Code Block | ||
---|---|---|
| ||
action <accept | discard> bucketSize <bucket_size> destIpAddress <IP address> destIpAddressPrefixLength <prefix length> destIpInterface <IP interface> destIpInterfaceGroup <Destination IPIG> destMgmtIpInterface <Destination mgmt IPI> destMgmtIpInterfaceGroup <Destination mgmt IPIG> destSipSigPortIndex <Destination SSP index> destSipSigPortZone <Destination SSP zone name> destTypeIpVersion <Destination IP address version type> destinationPort <port number> fillRate <#> ipInterface <ipInterface name> ipInterfaceGroup <ipInterfaceGroup name> mgmtIpInterface <mgmtIpInterface name> mgmtIpInterfaceGroup <mgmtIpInterfaceGroup name> minTTL <0-255> protocol <any|0-255> sourceAddressPrefixLength <0-128> sourceIpAddress <IPv4/IPv6 Address> sourcePort <port number> state <disbled | enabled> vmAppName <VM application name> |
Command Parameters
The following table represents IP Access Control List
Parametersparameters (Cloud)
:
Parameter | Length/Range | Description |
---|---|---|
Mandatory parameters: | ||
| 1-23 | The name of the address context. The address context is a container of objects that correspond to a specific IP Addressing domain. |
| N/A | Access Control List rule name. |
| N/A | Action to take when this rule is matched.
|
| 1-255, or unlimited | The policing bucket size (in packets). A "bucketSize" represents a credit balance that should be consumed before the packets are discarded. The consumed credits reside in the bucket and gets reduced for every packet received on the Network Interface (NI). If a packet is received when the credit balance is less than the size of the packet, the packet is discarded subjected to the discard rate set in the IP Policing Alarm profile or in the Policer Alarm monitoring this Media Port. A setting of 'unlimited' allows continuous policing. (default = 50) |
destIpAddress | N/A | <IP address> – The destination IP address to match. |
destIpAddressPrefixLength | N/A | <Prefix length> – The length of destination IP address prefix to match. |
destIpInterface | 1-23 | <IP Interface name> – The name of an IP interface for destination host address. |
destIpInterfaceGroup | 1-23 | <IPIG name> – The interface group name of IP interface for destination host address. |
destMgmtIpInterface | 1-23 | <MIP name> – The name of a MGMT IP interface for destination host address. |
destMgmtIpInterfaceGroup | 1-23 | <MIPI name> – The interface group name of a MGMT IP interface for destination host address. |
destSipSigPortIndex | 1-2048 | <Destination SSP Index> – The index of SIP Signaling Port for destination address. |
destSipSigPortZone | 1-23 | <Destination SSP Zone name> – The zone name of SIP Signaling Port for destination address. |
destTypeIpVersion | N/A |
|
| 0-65535, or any |
|
| 1-10000, or unlimited |
|
| N/A | Enter IP interface name to match, or "any" to match any IP interface. |
| N/A | Enter IP interface group name to match, or "any" to match any IP interface group. |
| N/A | Enter MGMT IP interface name to match, or "any" to match any MGMT IP interface. |
| N/A | Enter MGMT IP interface group name to match, or "any" to match any MGMT IP interface group. |
minTTL | <0-255> | Minimum TTL value allowed. Used for BFD traffic admission. For single-hop BFD traffic, set this to 255. Default is 0 |
| 1-65535 | Use this parameter to specify the rule precedence to control which ACL rule is applied when multiple rules match a given packet. If an incoming packet matches multiple rules, the IP ACL rule with the highest precedence (lowest numerical precedence value) is applied to that packet. Each IP ACL rule must use a unique precedence value. |
| N/A | Enter IP protocol type for use as a criterion of the IP input match. Choices are 0-255, or one of the following:
These protocols are typically associated with particular logical port values. |
| N/A | The length of source IP address prefix which must match the protocol (default = 0). |
| N/A | The source IPv4 or IPv6 address to match. (default = 0.0.0.0). NOTE: When configuring a |
| 0-65535, or any | The source IP port to match. (default = 'any') |
| N/A | Administrative state of the IP access control list rule.
|
vmAppName | N/A | The virtual machine application name against which to apply this ACL rule. If no name is specified, the rule is applied to the SBC application. |
Command Examples
Code Block | ||
---|---|---|
| ||
set addressContext default ipAccessControlList rule 2 action accept bucketSize unlimited destinationAddressPrefixLength 2 destinationIpAddress 10.34.25.153 destinationPort any fillRate 33 ipInterface ipInterface1 ipInterfaceGroup INTERNAL_IPIG precedence 22 protocol any sourceAddressPrefixLength 1 sourceIpAddress 10.32.22.145 sourcePort any state disabled show addressContext default ipAccessControlList rule 2 { precedence 22; protocol any; ipInterfaceGroup INTERNAL_IPIG; ipInterface ipInterface1; sourceIpAddress 10.32.22.145; sourceAddressPrefixLength 1; destinationIpAddress 10.34.25.153; destinationAddressPrefixLength 2; sourcePort any; destinationPort any; action accept; fillRate 33; bucketSize unlimited; state disabled; } |
To display the IP access control list details with display level set to 1:
Code Block | ||
---|---|---|
| ||
show addressContext default ipAccessControlList displaylevel 1 rule RULE1; rule rule1; |
To display the IP access control list details with display level set to 3:
Code Block | ||
---|---|---|
| ||
show addressContext default ipAccessControlList displaylevel 3 rule RULE1 { precedence 4; } rule rule1 { precedence 1; protocol any; sourceIpAddress 0.0.0.0; sourceAddressPrefixLength 0; destinationIpAddress 0.0.0.0; destinationAddressPrefixLength 0; sourcePort any; destinationPort any; action accept; fillRate unlimited; bucketSize unlimited; state disabled; } |
To view the configured rules and precedence from System-level CLI:
Code Block | ||
---|---|---|
| ||
show table addressContext default ipAccessControlList rule show table addressContext default ipAccessControlList ipAclRulesByPrecedence |
To view statistics from System-level CLI:
Code Block | ||
---|---|---|
| ||
show table addressContext default ipAccessControlList ipAclOverallStatistics show table addressContext a1 ipAccessControlList ipAclRuleStatistics |
If using a management interface group other than the default, adding a set of ACL rules as shown below will replicate the defaulted ACL rules the system provides for the default management interface group. In this example, a management interface group mgmtGroup1
has been previously created.
Code Block | ||
---|---|---|
| ||
set addressContext default ipAccessControlList rule mgmt2_22 destinationPort 22 mgmtIpInterfaceGroup mgmtGroup1 protocol tcp bucketSize 10 fillRate 100 precedence 200 action accept state enabled set addressContext default ipAccessControlList rule mgmt2_80 destinationPort 80 mgmtIpInterfaceGroup mgmtGroup1 protocol tcp bucketSize 10 fillRate 100 precedence 201 action accept state enabled set addressContext default ipAccessControlList rule mgmt2_161 destinationPort 161 mgmtIpInterfaceGroup mgmtGroup1 protocol udp bucketSize 10 fillRate 50 precedence 202 action accept state enabled set addressContext default ipAccessControlList rule mgmt2_123 sourcePort 123 mgmtIpInterfaceGroup mgmtGroup1 protocol udp bucketSize 4 fillRate 4 precedence 103 state enabled set addressContext default ipAccessControlList rule mgmt2_162 sourcePort 162 mgmtIpInterfaceGroup mgmtGroup1 protocol udp bucketSize fillRate 10 precedence 104 state enabled set addressContext default ipAccessControlList rule mgmt2_1812 sourcePort 1812 mgmtIpInterfaceGroup mgmtGroup1 protocol udp bucketSize 4 fillRate 4 precedence 105 state enabled set addressContext default ipAccessControlList rule mgmt2_2022 destinationPort 2022 mgmtIpInterfaceGroup mgmtGroup1 protocol tcp bucketSize 10 fillRate 10 precedence 206 action accept state enabled set addressContext default ipAccessControlList rule mgmt2_443 destinationPort 443 mgmtIpInterfaceGroup mgmtGroup1 protocol tcp bucketSize 10 fillRate 100 precedence 208 action accept state enabled set addressContext default ipAccessControlList rule mgmt2_2024 destinationPort 2024 mgmtIpInterfaceGroup mgmtGroup1 protocol tcp bucketSize 250 fillRate 2500 precedence 209 action accept state enabled set addressContext default ipAccessControlList rule mgmt2_1813 sourcePort 1813 mgmtIpInterfaceGroup mgmtGroup1 protocol udp bucketSize 250 fillRate 1200 precedence 110 state enabled commit |
To view the default system IP ACL statistics:
Div | |||||
---|---|---|---|---|---|
| |||||
|
The following example CLI ipAccessControlList
commands define ACL rules to allow SSReq to receive packets on ports 3090 and 3091:
- Port 3090 is used by SSReq Server to receive XML requests over UDP from a SSReq Client.
- Port 3091 is used by SSReq Server to receive XML requests over TCP from a SSREeq Client.
Code Block | ||
---|---|---|
| ||
set addressContext default ipAcessControlList rule ssrequdp precedence 2 destinationPort 3090 state enabled set addressContext default ipAcessControlList rule ssreqtcp precedence 3 destionationPort 3091 state enabled |
Info | ||
---|---|---|
| ||
System ACLs are displayed only for default AddressContext. |
System ACL Command Parameters
The following table represents the System ACL parameters:
Parameter | Description |
---|---|
| Displays the address context ID of the ACL rule. |
| Displays the application that uses the ACL rule. |
| Displays the policer bucket size. |
| Displays the allowed packet rate. |
| Displays the destination IP address, Port Number and Prefix length. |
| Displays the management group ID. |
| Displays the number of packets accepted by the rule. |
| Displays the number of packets discarded by the ACL policer. |
| Displays the aggregator policer ID. |
| Displays the aggregator policer priority. |
| Displays the policing mode in packets per second. |
| Displays the protocol type of the rule. |
| Displays the source IP address, Port Number and Prefix length. |