25
FWA-2112 User Manual
C
ha
pte
r 1
Lin
ux
P
latf
orm
S
oft
w
are
G
uid
e I
ntr
od
uc
tio
n
1.9
NDI (Network Device Identifier)
1.9.1
Introduction
Network Device Identifier (SLA required) is designed to solve a common problem on
x86 about How to link the “eth device” in Linux system with actual physical port in the
system. Network Device Identifier can show almost all information which the user is
interesting in (eth devices’ name, bus, id, subsystem id, slot name, panel name, fea
-
ture, and model name of Advantech.). Advantech provides a Linux command line util
-
ity that uses the libapdi library. The utility can also be used in scripts, rather than
requiring full integration of the libapdi library into applications.
1.9.2
Command and Usage
Detailed commands and usages please refer to ndi user manual. Please contact
Advantech FAE to get it.
The following is usage:
#sudo ./apdi
-a List all eth devices information (Onboard MGMT, LAN, SFP+ -> NMC Slots ->
PCIe Slots)
e.g. apdi -a
e.g. apdi -a -config apdi.cfg -legacy
-d <eth name> Output specific eth device's bus:dev.fun, slot, front panel name and
feature.
e.g. apdi -d eth0
e.g. apdi -d eth0 -config apdi.cfg -legacy
-f <feature name> List all eth devices those have this feature.
e.g. apdi -f POE
apdi -f A_BYPASS
apdi -f L_BYPASS
apdi -f N/A
apdi -f N/A -config apdi.cfg -legacy
-p <bus:dev.fun> Output specific eth device's slot, front panel name and feature.
e.g. apdi -p 5e:00.3
e.g. apdi -p 5e:00.3 -config apdi.cfg -legacy
-o <file name> Output identified result to <file name>
e.g. apdi -o output
e.g. apdi -o output -config apdi.cfg -legacy
-lbpcu.cfg Output lbpcu.cfg for lan bypass control utility(lbpcu)
e.g. apdi lbpcu.cfg
-legacy Identify old NMC card without correct subsystem id, this function may show
wrong info when using new cards
This command could be added after any other command.
e.g. apdi -a -legacy
e.g. apdi -a -legacy -config apdi.cfg
-config <file name> Read file to get more info about the platform, like internal PCIe
slot, PCIe switch or onboard NIC's feature based on HW design
This command could be added after any other command.
e.g. apdi -a -config apdi.cfg
e.g. apdi -a -config apdi.cfg -legacy
-sys_NMC_cfg <file name> Read file to tell apdi what NMC cards are in the platform
when using -legacy command
-legacy command could show NMC-0807/0803, if user only use NMC-0803,
then the user can use NMC config file to tell
Содержание FWA-2112
Страница 1: ...User Manual FWA 2112 Network Security Platform ...
Страница 10: ...FWA 2112 User Manual x ...
Страница 11: ...Chapter 1 1 Linux Platform Software Guide Introduction ...
Страница 37: ...Appendix A A Glossary ...