APM CLI Configuration Statements
auto-reclamation (APM)
Syntax
auto-reclamation { active (always | window); window-duration minutes; window-start time; }
Hierarchy Level
[edit apm pool-domain-profile domain-profile-name]
Description
Configure APM to automatically drain pools and recover their prefixes for use in
other pools. When you enable auto-reclamation
, APM requests
monitoring updates for the domain every 5 seconds.
You must configure at least one auto-reclamation
option,
even if it's with the default value, to enable automatic reclamation.
APM cancels all pending drain and recovery transactions when you remove
auto-reclamation
from the configuration.
Options
active (always | window) |
Specify when automatic reclamation is active.
|
window-duration minutes |
Specify (in minutes) how long the window is open from the
|
window-start time |
Specify when the window opens for evaluation and reclamation. This
option requires that you set the
|
Release Information
Statement introduced in APM Release 3.0.0.
entity-clients (APM)
Syntax
entity-clients; secrets { ca-certificate filename; private-key filename; certificate filename; }
Hierarchy Level
[edit apm]
Description
Configure a secure incoming connection by defining APM security parameters for
incoming connections. For dynamic managed BNG's, use the
entity-clients
command to define secrets to secure incoming
APM connections. If there aren't any entity clients, the incoming APM
connections are assumed to be insecure. The filenames
in this
configuration must match the security key and certificate files you provided
during setup.
Options
secrets |
Specify access credentials that the connection needs to access the BNG or external manager.
|
Release Information
Statement introduced in APM Release 3.1.0.
entity-match (APM)
Syntax
entity-match system id { pool-domain-profile domain-profile-name }
Hierarchy Level
[edit apm]
Description
Configure the entity-match list to map valid BNGs to a pool-domain-profile.
The entity-match
statement identifies. An entity-match statement
directs incoming APM entities to a pool-domain profile. APM reconciles its pool
domains with the BNG’s list so that the two lists match. If any domains are
deleted during reconciliation, they have their associated pool prefixes returned
to their original partition. If a domain is empty at the end of reconciliation,
both APM and the BNG remove the pool domain from their list. If an APM entity
(identified by its system-id) is not present in the entity-match list, it's not
allowed to connect and the connection is aborted.
Options
entity-match system-id |
Specify the system-id of the entity. The system-id is a unique string of up to 45 characters assigned to the managed BNG. It's used to identify the entity to APM upon successful connection. |
pool-domain-profile
domain-profile-name |
The pool domain profile to use for this system. |
inet-pool(APM)
Syntax
inet-pool { partition partition-name { free-prefix-utilization percentage; max-prefix-len max-prefix-length; min-prefix-len min-prefix-length; prefix ip-address { max-prefix-length max-prefix-length; prefix-recycle-hold seconds; reserved-prefix sub-prefix; route-tag tag; } } }
Hierarchy Level
[edit apm]
Description
Configure how APM partitions its global pool of IPv4 addresses and how it
allocates addresses to individual BNG pool domains. The address pool defined by
the inet-pool
statement consists of multiple partitions that
you create to define allocation contexts. You configure multiple root prefixes
for each partition. You can specify the minimum and maximum size of root
prefixes that are valid for the partition. You specify the smallest subnetwork
that APM can subdivide from a particular root prefix. APM subdivides the root
prefixes and allocates the resulting subnetworks to individual pool domains as
needed to supplement the domain’s available addresses.
Options
partition partition-name |
Set the name of the partition. |
free-prefix-utilization
percentage |
Set the minimum threshold percentage for unallocated prefixes in the partition. When the percentage drops below this value, a warning message is generated to indicate that the partition is running low on available addresses. The notification is only informative and triggers no other actions.
|
max-prefix-length
max-prefix-length |
Define the size of the root prefix that is valid in this partition. This configuration sets the upper limit on valid prefix lengths for the root prefixes in this partition. This upper limit defines the root prefix with the fewest host addresses to apportion. As the prefix length increases, APM can subdivide fewer subordinate prefixes from the root prefix.
The |
min-prefix-len
min-prefix-length |
Define the largest-sized subnetwork that is valid in this partition. This configuration sets the lower limit on valid prefix lengths for the root prefixes in this partition. This lower limit defines the root prefix with the most host addresses to apportion. As the prefix length decreases, APM can subdivide more subordinate prefixes from the root prefix.
The |
prefix ip-address |
Specify the root prefix for the partition. APM subdivides subnetworks
from this root to provision addresses for a BNG’s pool domains. The root
prefix length must be within the range defined by the values of the
partition-level min-prefix-len and
max-prefix-len options. You typically configure
more than one root prefix per partition.
|
Release Information
Statement introduced in APM Release 3.0.0.
pool-domain-profile (APM)
Syntax
pool-domain-profile domain-profile-name { auto-reclamation { active (always | window); } monitoring { apportion-threshold apportion-threshold-count; reclaim-threshold reclaim-threshold-count; reclamation-hold-down <0|30..3600>; } }
Hierarchy Level
[edit apm]
Description
Configure the pool domain profiles that are used to create pool domains on BNGs during apportionment. The profile specifies the number of prefixes that will be apportioned, thresholds that the BNGs will monitor, and whether automatic reclamation is active.
Options
pool-domain-profile
domain-profile-name |
|
monitoring |
Set the attributes for monitoring how a pool domain and the pools within a pool domain are using addresses. Thresholds for free (available) and used (allocated) addresses establish the points at which APM generates an alarm.
|
Some statements are explained separately. Click the linked statement in the Syntax section for details.
Release Information
Statement introduced in APM Release 3.0.0.
reclamation-hold-down
option introduced in 3.1.0
system (APM)
Syntax
system { transaction-time-out seconds; max-clients <0..500> }
Hierarchy Level
[edit apm]
Description
Configure the attributes that determine how APM behaves for alarms and transactions and define the number of APMi entities allowed to connect to APM.
Options
transaction-time-out seconds |
(Optional) Specify (in seconds) how long APM waits for a transaction to complete before it declares that the transaction has stalled (timed out). A transaction consists of a list of tasks. For example, an apportion transaction consists of a task to get an address, a task to provision the entity, and a task to update the runtime state. If any task in a transaction fails, the previously executed tasks in the list are rolled back. For example, if the provisioning task fails, then the task to get the address is rolled back, and the address is returned to the partition.
|
max-clients <0..500> |
Specify the number of APMi entities allowed to connect to the APM server.
|
Release Information
Statement introduced in APM Release 3.0.0.
max-clients
option introduced in APM Release 3.1.0.