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 [2023/08/28 13:40] – ↷ Page moved from en:dpi:bras_bng:cli:start:subs to en:dpi:bras_bng:cli:subs elena.krasnobryzhen:dpi:bras_bng:cli:subs [2025/10/01 07:29] (current) elena.krasnobryzh
Line 1: Line 1:
 ====== CLI for Subscribers Management ====== ====== CLI for Subscribers Management ======
-{{indexmenu_n>40}}+{{indexmenu_n>5}}
  
 Subscriber management commands Subscriber management commands
Line 143: Line 143:
  
 Limitation: the command may not work in multicluster mode without aggregation. Limitation: the command may not work in multicluster mode without aggregation.
 +
 +==== subs ping inet ====
 +Checking the availability of the internet.\\
 +The packet goes through the whole stack of functions and services, polysensing, etc., only after that it goes to the Internet. In this way you can determine whether the problem is on the Internet aplink, between BRAS subscribers, or on BRAS.
 +
 +Hint: ''fdpi_cli ping inet ?''
  
 ===== subs prop ===== ===== subs prop =====
Line 148: Line 154:
  
 ==== subs prop show ==== ==== subs prop show ====
-Viewing L2 properties of a subscriber for a given IPv4 or IPv6-address+Viewing L2 subscriber properties for a given IPv4 or IPv6 address, MAC or subs_id
 <code> <code>
-subs prop show IP+subs prop show <IP>
  
 Examples: Examples:
Line 157: Line 163:
 </code> </code>
  
 +<code>
 +subs prop show mac=<MAC>
 +
 +Example:
 +subs prop show mac=02:42:89:33:7b:3e
 +</code>
 +
 +<code>
 +subs prop show subs_id=<MAC>
 +
 +Example:
 +subs prop show subs_id=00:1b:21:bc:a3:0c
 +</code>
 +
 +Hint:
 +<code>
 +fdpi_cli help subs prop show 
 +</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. Modification of the subscriber's L2-properties, adding a new subscriber with the specified L2-properties, removing some L2-properties.
Line 173: Line 197:
  
 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''.
 +
 +=====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