Junos OS Operational Commands
This topic provides an overview of show
commands used on the BNG
router. This includes syntax, option descriptions, and sample output. For an overview of
show
commands used on the BNG CUPS router, see the Juniper BNG CUPS
User Guide on Juniper.net.
request network-access aaa address-assignment domain-profile
Syntax
request network-access aaa address-assignment domain-profile profile-name <profileName> ri-name <riName> <disable-logins | enable-logins>
Description
Use to disable subscriber logins against the domain profile effectively allowing the domain-profile to drain. Once all domains created from the profile have been cleaned up, the domain-profile may be safely deleted from configuration. A domain-profile cannot be deleted from configuration while there are existing domains (and associated pools) created from it.
Options
profile-name |
Domain profile name. |
ri-name |
Routing instance name. |
disable-logins |
Disable subsequent logins. |
enable-logins |
Enable subsequent logins. |
Required Privilege Level
view
Sample Output
request network-access aaa address-assignment domain-profile
user@host> request network-access aaa address-assignment domain-profile profile-name techPark ri-name default disable-logins
show network-access address-assignment address-pool-manager status
Syntax
show network-access address-assignment address-pool-manager status
Description
Display the status information for APM when it is connected to the BNG router.
Required Privilege Level
view and system
Output Fields
Table 1 lists the
output fields for the show network-access address-assignment
address-pool-manager status
command. Output fields are listed in
the approximate order in which they appear.
Field Name |
Field Description |
---|---|
State |
Connection status of APM;
connected or
disconnected . |
SystemID |
APM’s external IP address. |
Security |
Security is either clear-text or
TLS |
Apportionment |
Apportionment is either
Remote (pool prefixes are sourced from APM)
or Local (pool prefixes are sourced from Local
Reserve). |
Sample Output
show network-access address-assignment address-pool-manager status
user@host> show network-access address-assignment address-pool-manager status APM: State: connected SystemId: 192.168.0.0 Security: TLS Apportionment: Remote
show network-access address-assignment domain
Syntax
show network-access address-assignment domain <name name> <routing-instance routing-instance-name>
Description
Display the status information of each pool domain (linked address pool) managed by APM, including a the number of alarms sent to APM by a pool domain
Options
none | Display a summary of all domains for the default routing instance. |
name name |
(Optional) Display the status information for the domains created from the specified profile name. |
routing-instance
routing-instance-name |
(Optional) Display the status information for the specified routing instance. If no routing instance is specified, the output displays the default pool domain. |
Required Privilege Level
view and system
Output Fields
Table 2 lists the
output fields for the show network-access address-assignment
domain
command. Output fields are listed in the approximate order
in which they appear.
Field Name |
Field Description |
---|---|
Domain Name | Domain pool name. |
Head |
Name of the domain’s pool head. |
Pool Count |
The number of pools linked to the pool domain. |
Addresses |
Total number of IP addresses in the pool. |
Free |
Number of free IP addresses. |
Apport |
Number of apportion alarms. Apportion alarms are sent when the number of free addresses falls below the apportion threshold. |
Reclaim |
Number of reclaim alarms. Reclaim alarms are sent when the number of free addresses rises above the reclaim threshold. |
Abate |
Number of abatement events. Abatement events are sent when the number of free addresses crosses the abatement threshold (midpoint between apportions and reclamation threshold). |
Drain |
Number of pool-drain alarms. Pool-drained alarms are sent after a pool completes its drain. |
Sample Output
show network-access address-assignment domain
user@host> show network-access address-assignment domain Domain Name Head Pool Count Addresses Free Apport Reclaim Abate Drain iroh-default iroh-default 3 765 253 3 0 0 0
show network-access address-assignment domain-state
Syntax
show network-access address-assignment domain-state <routing-instance routing-instance-name>
Description
Display the outstanding alarms for each pool domain.
Options
none | Display the alarm information for the default routing instance. |
routing-instance
routing-instance-name |
(Optional) Display the alarm information for the specified routing instance. |
Required Privilege Level
view and system
Output Fields
Table 3 lists the
output fields for the show network-access address-assignment
status
command. Output fields are listed in the approximate order
in which they appear.
Field Name |
Field Description |
---|---|
Domain Name |
Domain pool name. |
Alarm |
Current status of the pool domain, including whether an alarm has been raised. |
Age |
How long the pool domain has been in this state. |
Sample Output
show network-access address-assignment domain-state
user@host> show network-access address-assignment domain-state Domain Name Alarm Age vis235-default Apportion 00:00:20 arx40a-foo Reclaim 13:10:18 Portland-default - -