Fortinet black logo

CLI Reference

hardware npu

hardware npu

Use this command to display information about the network processor unit (NPU) hardware installed in a FortiGate unit. The NPUs can be built-in or on an installed AMC module.

Syntax

get hardware npu legacy {list | session <device_name_str> | setting <device_name_str>}

get hardware npu np1 {list | status}

get hardware npu np2 {list | performance <device_id_int> | status <device_id_int>}

get hardware npu np4 {list | status <device_id_int>}

get hardware npu np6 {dce | ipsec-stats | port-list | session-stats <device_id_int> | sse-stats <device_id_int> | synproxy-stats}

get hardware npu sp {list | status}

Example output

get hardware npu np1 list

ID Interface

0 port9 port10

get hardware npu np1 status

ISCP1A 10ee:0702

RX SW Done 0 MTP 0x00000000

desc_size = 0x00001000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

Total Number of Interfaces: 2

Number of Interface In-Use: 2

Interface[0] Tx done: 0

desc_size = 0x00004000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

TX timeout = 0x00000000 BD_empty = 0x00000000

HRx Packets= 0x00000000 HTXBytes = 0x00000000 HRXBytes = 0x00000000

Interface[1] Tx done: 0

desc_size = 0x00004000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

TX timeout = 0x00000000 BD_empty = 0x00000000

HRx Packets= 0x00000000 HTXBytes = 0x00000000 HRXBytes = 0x00000000

NAT Information:

head = 0x00000001 tail = 00000001

ISCP1A Performance [Top]:

Nr_int : 0x00000000 INTwoInd : 0x00000000 RXwoDone : 0x00000000

PKTwoEnd : 0x00000000 PKTCSErr : 0x00000000

PKTidErr : 0x00000000 PHY0Int : 0x00000000 PHY1INT : 0x00000000

CSUMOFF : 0x00000000 BADCSUM : 0x00000000 MSGINT : 0x00000000

IPSEC : 0x00000000 IPSVLAN : 0x00000000 SESMISS : 0x00000000

TOTUP : 0x00000000 RSVD MEMU : 0x00000010

MSG Performance:

QLEN: 0x00001000(QW) HEAD: 0x00000000

Performance:

TOTMSG: 0x00000000 BADMSG: 0x00000000 TOUTMSG: 0x00000000 QUERY: 0x00000000

NULLTK: 0x00000000

NAT Performance: BYPASS (Enable) BLOCK (Disable)

IRQ : 00000001 QFTL : 00000000 DELF : 00000000 FFTL : 00000000

OVTH : 00000001 QRYF : 00000000 INSF : 00000000 INVC : 00000000

ALLO : 00000000 FREE : 00000000 ALLOF : 00000000 BPENTR: 00000000 BKENTR: 00000000

PBPENTR: 00000000 PBKENTR: 00000000 NOOP : 00000000 THROT : 00000000(0x002625a0)

SWITOT : 00000000 SWDTOT : 00000000 ITDB : 00000000 OTDB : 00000000

SPISES : 00000000 FLUSH : 00000000

APS (Disabled) information:

MODE: BOTH UDPTH 255 ICMPTH 255 APSFLAGS: 0x00000000

IPSEC Offload Status: 0x58077dcb

get hardware npu np2 list

ID PORTS

-- -----

0 amc-sw1/1

0 amc-sw1/2

0 amc-sw1/3

0 amc-sw1/4

ID PORTS

-- -----

1 amc-dw2/1

ID PORTS

-- -----

2 amc-dw2/2

get hardware npu np2 status 0

NP2 Status

ISCP2 f7750000 (Neighbor 00000000) 1a29:0703 256MB Base f8aad000 DBG 0x00000000

RX SW Done 0 MTP 0x0

desc_alloc = f7216000

desc_size = 0x2000 count = 0x100

nxt_to_u = 0x0 nxt_to_f = 0x0

Total Interfaces: 4 Total Ports: 4

Number of Interface In-Use: 4

Interface f7750100 netdev 81b1e000 0 Name amc-sw1-1

PHY: Attached

LB Mode 0 LB IDX 0/1 LB Ports: f7750694, 00000000, 00000000, 00000000

Port f7750694 Id 0 Status Down ictr 4

desc = 8128c000

desc_size = 0x00001000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

Intf f7750100

Interface f7750264 netdev 81b2cc00 1 Name amc-sw1-2

PHY: Attached

LB Mode 0 LB IDX 0/1 LB Ports: f7750748, 00000000, 00000000, 00000000

Port f7750748 Id 1 Status Down ictr 0

desc = 81287000

desc_size = 0x00001000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

Intf f7750264

Interface f77503c8 netdev 81b2c800 2 Name amc-sw1-3

PHY: Attached

LB Mode 0 LB IDX 0/1 LB Ports: f77507fc, 00000000, 00000000, 00000000

Port f77507fc Id 2 Status Down ictr 0

desc = 81286000

desc_size = 0x00001000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

Intf f77503c8

Interface f775052c netdev 81b2c400 3 Name amc-sw1-4

PHY: Attached

LB Mode 0 LB IDX 0/1 LB Ports: f77508b0, 00000000, 00000000, 00000000

Port f77508b0 Id 3 Status Down ictr 0

desc = 81281000

desc_size = 0x00001000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

Intf f775052c

NAT Information:

cmdq_qw = 0x2000 cmdq = 82160000

head = 0x1 tail = 0x1

APS (Enabled) information:

Session Install when TMM TSE OOE: Disable

Session Install when TMM TAE OOE: Disable

IPS anomaly check policy: Follow config

MSG Base = 82150000 QL = 0x1000 H = 0x0

hardware npu

Use this command to display information about the network processor unit (NPU) hardware installed in a FortiGate unit. The NPUs can be built-in or on an installed AMC module.

Syntax

get hardware npu legacy {list | session <device_name_str> | setting <device_name_str>}

get hardware npu np1 {list | status}

get hardware npu np2 {list | performance <device_id_int> | status <device_id_int>}

get hardware npu np4 {list | status <device_id_int>}

get hardware npu np6 {dce | ipsec-stats | port-list | session-stats <device_id_int> | sse-stats <device_id_int> | synproxy-stats}

get hardware npu sp {list | status}

Example output

get hardware npu np1 list

ID Interface

0 port9 port10

get hardware npu np1 status

ISCP1A 10ee:0702

RX SW Done 0 MTP 0x00000000

desc_size = 0x00001000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

Total Number of Interfaces: 2

Number of Interface In-Use: 2

Interface[0] Tx done: 0

desc_size = 0x00004000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

TX timeout = 0x00000000 BD_empty = 0x00000000

HRx Packets= 0x00000000 HTXBytes = 0x00000000 HRXBytes = 0x00000000

Interface[1] Tx done: 0

desc_size = 0x00004000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

TX timeout = 0x00000000 BD_empty = 0x00000000

HRx Packets= 0x00000000 HTXBytes = 0x00000000 HRXBytes = 0x00000000

NAT Information:

head = 0x00000001 tail = 00000001

ISCP1A Performance [Top]:

Nr_int : 0x00000000 INTwoInd : 0x00000000 RXwoDone : 0x00000000

PKTwoEnd : 0x00000000 PKTCSErr : 0x00000000

PKTidErr : 0x00000000 PHY0Int : 0x00000000 PHY1INT : 0x00000000

CSUMOFF : 0x00000000 BADCSUM : 0x00000000 MSGINT : 0x00000000

IPSEC : 0x00000000 IPSVLAN : 0x00000000 SESMISS : 0x00000000

TOTUP : 0x00000000 RSVD MEMU : 0x00000010

MSG Performance:

QLEN: 0x00001000(QW) HEAD: 0x00000000

Performance:

TOTMSG: 0x00000000 BADMSG: 0x00000000 TOUTMSG: 0x00000000 QUERY: 0x00000000

NULLTK: 0x00000000

NAT Performance: BYPASS (Enable) BLOCK (Disable)

IRQ : 00000001 QFTL : 00000000 DELF : 00000000 FFTL : 00000000

OVTH : 00000001 QRYF : 00000000 INSF : 00000000 INVC : 00000000

ALLO : 00000000 FREE : 00000000 ALLOF : 00000000 BPENTR: 00000000 BKENTR: 00000000

PBPENTR: 00000000 PBKENTR: 00000000 NOOP : 00000000 THROT : 00000000(0x002625a0)

SWITOT : 00000000 SWDTOT : 00000000 ITDB : 00000000 OTDB : 00000000

SPISES : 00000000 FLUSH : 00000000

APS (Disabled) information:

MODE: BOTH UDPTH 255 ICMPTH 255 APSFLAGS: 0x00000000

IPSEC Offload Status: 0x58077dcb

get hardware npu np2 list

ID PORTS

-- -----

0 amc-sw1/1

0 amc-sw1/2

0 amc-sw1/3

0 amc-sw1/4

ID PORTS

-- -----

1 amc-dw2/1

ID PORTS

-- -----

2 amc-dw2/2

get hardware npu np2 status 0

NP2 Status

ISCP2 f7750000 (Neighbor 00000000) 1a29:0703 256MB Base f8aad000 DBG 0x00000000

RX SW Done 0 MTP 0x0

desc_alloc = f7216000

desc_size = 0x2000 count = 0x100

nxt_to_u = 0x0 nxt_to_f = 0x0

Total Interfaces: 4 Total Ports: 4

Number of Interface In-Use: 4

Interface f7750100 netdev 81b1e000 0 Name amc-sw1-1

PHY: Attached

LB Mode 0 LB IDX 0/1 LB Ports: f7750694, 00000000, 00000000, 00000000

Port f7750694 Id 0 Status Down ictr 4

desc = 8128c000

desc_size = 0x00001000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

Intf f7750100

Interface f7750264 netdev 81b2cc00 1 Name amc-sw1-2

PHY: Attached

LB Mode 0 LB IDX 0/1 LB Ports: f7750748, 00000000, 00000000, 00000000

Port f7750748 Id 1 Status Down ictr 0

desc = 81287000

desc_size = 0x00001000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

Intf f7750264

Interface f77503c8 netdev 81b2c800 2 Name amc-sw1-3

PHY: Attached

LB Mode 0 LB IDX 0/1 LB Ports: f77507fc, 00000000, 00000000, 00000000

Port f77507fc Id 2 Status Down ictr 0

desc = 81286000

desc_size = 0x00001000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

Intf f77503c8

Interface f775052c netdev 81b2c400 3 Name amc-sw1-4

PHY: Attached

LB Mode 0 LB IDX 0/1 LB Ports: f77508b0, 00000000, 00000000, 00000000

Port f77508b0 Id 3 Status Down ictr 0

desc = 81281000

desc_size = 0x00001000 count = 0x00000100

nxt_to_u = 0x00000000 nxt_to_f = 0x00000000

Intf f775052c

NAT Information:

cmdq_qw = 0x2000 cmdq = 82160000

head = 0x1 tail = 0x1

APS (Enabled) information:

Session Install when TMM TSE OOE: Disable

Session Install when TMM TAE OOE: Disable

IPS anomaly check policy: Follow config

MSG Base = 82150000 QL = 0x1000 H = 0x0