CLI for Subscribers Management [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dpi:bras_bng:cli:subs [2024/09/26 15:29] – external edit 127.0.0.1en:dpi:bras_bng:cli:subs [2026/03/26 08:27] (current) elena.krasnobryzh
Line 182: Line 182:
 </code> </code>
 ==== subs prop set ==== ==== subs prop set ====
-Modification of the subscriber's L2-properties, adding a new subscriber with the specified L2-properties, removing some L2-properties. +Modifying a subscriber's L2 properties, adding a new subscriber with specified L2 properties, and removing certain L2 properties.\\ 
-For complete syntax, see:+ 
 +The command includes a flag to disable L3 authorization for a specific subscriber ''[[en:dpi:bras_bng:bras_l2_vlan:bras_l2_vlan_dhcp:bras_l2_vlan_dhcp_proxy:bras_l2_vlan_dhcp_proxy_l3auth#disable_l3_auth|disable_l3_auth]]''
 + 
 +Configuration is performed via the CLI using the following parameter: 
 +  * ''disable_l3_auth=1'' — disable L3 authentication; 
 +  * ''disable_l3_auth=0'' — enable L3 authentication (default value). 
 + 
 +For the full syntax, see
 <code> <code>
 fdpi_cli help subs prop set fdpi_cli help subs prop set
 </code> </code>
- 
 ==== subs prop del ==== ==== subs prop del ====
 Removing all L2 properties of the specified subscriber. Removing all L2 properties of the specified subscriber.
Line 197: Line 203:
  
 This command actually removes the IP address from the internal database. To remove a specific subscriber property, use ''subs prop set''. This command actually removes the IP address from the internal database. To remove a specific subscriber property, use ''subs prop set''.
 +
 +=====subs traffic stat=====
 +Output billing statistics and rating group statistics for the specified subscriber, if they are connected.
 +
 +=====subs bind show=====
 +View the list of IP addresses bound to a login.\\
 +Operating modes:
 +  * ''memory'' (default) — displays the IP-to-login binding as currently configured in fastDPI.
 +  * ''udr'' — displays the IP-to-login binding from UDR.
 +
 +The output of these two modes may differ: not all IP←→login bindings are stored in UDR; for example, for Framed-Route subnets, the login binding is created only in memory, while the framed-route subnets themselves are stored in UDR in a separate table, see the CLI command group ''[[en:dpi:bras_bng:cli:framed_route|cli framed route ?]]''
 +
 +Example:
 +<code>subs bind show <login> [memory|udr]</code>
 +
 +=====subs db stat=====
 +Displaying statistics for the L2 BRAS database.\\
 +
 +=====dev info=====
 +Displays device information.
 +<code bash> fdpi_cli dev info</code>
 +Main characteristics:
 +  - Device identifier and description
 +  - MAC address and LAG
 +  - PCI bus
 +  - Driver and firmware
 +  - Current MTU
 +Device capabilities:
 +  - Number of queues (receive/transmit)
 +  - MTU limits
 +  - Buffer sizes
 +  - Maximum number of queues
 +  - Descriptor limits
 +  - Supported speeds
 +Flags and offload capabilities:
 +  - Device flags
 +  - RX offload capabilities (checksums, VLAN, RSS, etc.)
 +  - TX offload capabilities (checksums, TSO, VLAN, etc.)
 +  - Queue offload capabilities
 +  - RSS support for different traffic types
 +Default configurations:
 +  - RX/TX configuration settings
 +  - Descriptor limits
 +  - Port settings
 +Additional:
 +  - Number of xstat counters