| Parameter | Description | Value |
|---|---|---|
slot-id |
Specifies the slot ID of the Service Processing Unit (SPU). Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter. |
- |
cpu-id |
Specifies the CPU ID. Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter. |
- |
You can run the display l2tp statistics command to view:
Number of packets sent using L2TP
Number of packets received using L2TP
# Take USG6615E/6625E as an example to display L2TP statistics.
<sysname> display l2tp statistics
=============================================
Inbound packets: 0
Control packets: 0
Data packets: 0
PppIp packets: 0
PppControl packets: 0
Creat L2tp session: 0
Creat Nat session: 0
Fragment process counts: 0
Inbound success packets: 0
Devolve after decap packets: 0
Outbound packets: 0
Outbound success packets: 0
Outbound to ipsec: 0
Devolve to encap packets: 0
Refurbish route: 0
=============================================
Inbound error packets: 0
PppHead invalid: 0
Packet forward fail: 0
Decode ip fail: 0
Devolve after decap fail: 0
Smbuf cut head fail: 0
Smbuf append tail fail: 0
Ppp packet protocol invalid: 0
Ppp packet length invalid: 0
Invalid ppp packet: 0
Outbound error packets: 0
Get portcfg fail: 0
Get remote fail: 0
Devolve to encap fail: 0
Dp output L3 fail: 0
Smbuf append head fail: 0
Smbuf null: 0
Session id invalid: 0
Share lns invalid: 0
Fib search fail: 0
DataPlane ShareLns Counts: 1000
=============================================
Assign Lns id: 0
Assign Lns id fail: 0
Callback Lns id: 0
Callback Lns id fail: 0
Convert struct: 0
Convert struct fail: 0
Add route: 0
Delete route: 0
Broudcast route fail: 0
Smbuf to Mbuf Error Counts: 0
Mbuf to Smbuf Error Counts: 0
DataPlane to ManagePlane Error Counts: 0
ManagePlane to DataPlane Error Counts: 0
# Take USG6680E as an example to display L2TP statistics.
<sysname>disp l2tp statistics Mgmtplane Statistic Information =========================================================== Assign Lns id: 0 Assign Lns id fail: 0 Callback Lns id: 0 Callback Lns id fail: 0 ManagePlane to DataPlane Error Counts: 0 Send Stop Sccn:L2tp hello time out: 0 Receive Stop Sccn:L2tp hello time out: 0 Send Terminate:Lcp Echo time out: 0 Receive Terminate:Lcp echo time out: 0 Receive Terminate Car: 0 Receive Get PeerIp Ack: 0 Assign shareLns to CPU error: 0 Callback shareLns from CPU error: 0 =========================================================== Slot 11 Cpu 0 Statistic Information =========================================================== Inbound packets: 0 Control packets: 0 Data packets: 0 PppIp packets: 0 PppControl packets: 0 Fragment process counts: 0 Inbound success packets: 0 Outbound packets: 0 Outbound success packets: 0 Devolve to encap packets: 0 Inbound error packets: 0 PppHead invalid: 0 Packet forward fail: 0 Smbuf cut head fail: 0 Smbuf append tail fail: 0 Ppp packet protocol invalid: 0 Ppp packet length invalid: 0 Outbound error packets: 0 Smbuf append head fail: 0 Smbuf null: 0 Session id invalid: 0 Share lns invalid: 0 DataPlane to ManagePlane Error Counts: 0 DataPlane ShareLns Counts: 1000 =========================================================== Slot 12 Cpu 0 Statistic Information =========================================================== Inbound packets: 1193 Control packets: 0 Data packets: 1193 PppIp packets: 0 PppControl packets: 1193 Fragment process counts: 0 Inbound success packets: 0 Outbound packets: 0 Outbound success packets: 0 Devolve to encap packets: 0 Inbound error packets: 0 PppHead invalid: 0 Packet forward fail: 0 Smbuf cut head fail: 0 Smbuf append tail fail: 0 Ppp packet protocol invalid: 0 Ppp packet length invalid: 0 Outbound error packets: 0 Smbuf append head fail: 0 Smbuf null: 0 Session id invalid: 0 Share lns invalid: 0 DataPlane to ManagePlane Error Counts: 0 DataPlane ShareLns Counts: 1000 ===========================================================
Item |
Description |
|---|---|
Inbound packets |
Number of received packets |
Control packets |
Number of control packets |
Data packets |
Number of data packets |
PppIp packets |
Number of IP packets in PPP decapsulation |
PppControl packets |
Number of PPP control packets |
Creat L2tp session |
Number of times L2TP sessions are created |
Creat Nat session |
Number of times NAT sessions are created |
Fragment process counts |
Number of times fragments are processed |
Inbound success packets |
Number of decapsulated packets that are successfully forwarded |
Devolve after decap packets |
Number of decapsulated packets that are forwarded to another board |
Outbound packets |
Number of encapsulated packets |
Outbound success packets |
Number of encapsulated packets that are successfully sent |
Outbound to ipsec |
Number of outbound packets for which IPsec is performed |
Devolve to encap packets |
Number of packets forwarded to another board for encapsulation |
Refurbish route |
Number of route update times |
Inbound error packets |
Number of packet receiving failures |
PppHead invalid |
Number of PPP packets with invalid headers |
Packet forward fail |
Number of decapsulated packets that fail to be forwarded |
Decode ip fail |
Number of decapsulated packets whose IP addresses fail to be decoded |
Devolve after decap fail |
Number of decapsulated packets that fail to be forwarded to another board |
Smbuf cut head fail |
Number of Smbuf packets for which the header fails to be removed |
Smbuf append tail fail |
Number of Smbuf packets that fail to be reassembled |
Ppp packet protocol invalid |
Invalid PPP |
Ppp packet length invalid |
Number of PPP negotiation packets with incorrect packet length |
Invalid ppp packet |
Number of invalid PPP packets |
Outbound error packets |
Number of packets that fail to be sent |
Get portcfg fail |
Number of times interface configurations fail to be obtained |
Get remote fail |
Number of times outbound interface information fails to be obtained |
Devolve to encap fail |
Number of encapsulated packets that fail to be forwarded to another board |
Dp output L3 fail |
Number of packets that fail to be sent from the interface |
Smbuf append head fail |
Number of Smbuf packets for which the header fails to be added |
Smbuf null |
Null Smbuf pointer |
Session id invalid |
Invalid session ID |
Share lns invalid |
Invalid Share Lns |
Fib search fail |
Route query failure |
DataPlane ShareLns Counts |
ShareLns entry of the L2TP |
Assign Lns id |
Successful LNS ID allocation |
Assign Lns id fail |
LNS ID allocation failure |
Callback Lns id |
Successful LNS ID reclamation |
Callback Lns id fail |
LNS ID reclamation failure |
Convert struct |
Successful data structure conversion |
Convert struct fail |
Data structure conversion failure |
Add route |
Broadcast route adding |
Delete route |
Broadcast route deletion |
Broudcast route fail |
Broadcast routing message sending failure |
Smbuf to Mbuf Error Counts |
Number of Smbuf to Mbuf failures |
Mbuf to Smbuf Error Counts |
Number of Mbuf to Smbuf failures |
DataPlane to ManagePlane Error Counts |
Number of data threat to management thread failures |
ManagePlane to DataPlane Error Counts |
Number of management threat to data thread failures |
Assign shareLns to CPU error |
Number of times that ShareLns entries fail to be allocated to the CPU. |
Callback shareLns from CPU error |
Number of times that ShareLns entries fail to be reclaimed from the CPU. |