2014年7月9日 星期三

AD 批次修改範例

摘錄自 小小役男日記

 

AD 批次修改使用者的屬性

公司有時候會遇到一些例外狀況,會需要把所有同仁的屬性做修改,比如密碼永久有效(這裡不談資安議題...)等需求,那麼必須該怎麼做呢?
首先,可以先到AD主機去打開命令提示字元,然後使用dsquery及dsmod去修改使用者的屬性,假如我現在要將不能變更密碼選項打勾(圖1是未勾選),

圖1   使用者不能變更密碼未勾選






















1個帳號當然可以直接這樣勾一勾就好了,如果是100個,也可以悶著頭勾,但公司有好幾萬個人要怎麼辦呢(本公司就是好幾萬人...)?
所以就要將dsquery 跟 dsmod 合在一起變成一行指令去跑即可,例如:
dsquery user cn=John,ou=infra,ou=it,ou=company,dc=tw,dc=AAA,dc=com | dsmod user -canchpwd no
就會變成圖2了( 上列指令是針對單一使用者帳號做的,如果要針對OU內所有帳號做一樣的設定,只需要把cn=John的參數拿掉就可以了),至於有那些屬性可以修改就看備註囉。。

圖2    使用者不能變更密碼已勾選
























備註:
dsmod 說明

描述: 修改目錄中現存的使用者。
語法: dsmod user <UserDN ...> [-upn <UPN>] [-fn <FirstName>]
[-mi <Initial>] [-ln <LastName>] [-display <DisplayName>]
[-fnp <first name phonetic>] [-lnp <last name phonetic>]
[-displayp <display name phonetic>]
[-empid <EmployeeID>] [-pwd {<Password> | *}]
[-desc <Description>] [-office <Office>] [-tel <Phone#>]
[-email <Email>] [-hometel <HomePhone#>] [-pager <Pager#>]
[-mobile <CellPhone#>] [-fax <Fax#>] [-iptel <IPPhone#>]
[-webpg <WebPage>] [-title <Title>] [-dept <Department>]
[-company <Company>] [-mgr <Manager>] [-hmdir <HomeDir>]
[-hmdrv <DriveLtr>:] [-profile <ProfilePath>]
[-loscr <ScriptPath>] [-mustchpwd {yes | no}]
[-canchpwd {yes | no}] [-reversiblepwd {yes | no}]
[-pwdneverexpires {yes | no}]
[-acctexpires <NumDays>] [-disabled {yes | no}]
[{-s <Server> | -d <Domain>}] [-u <UserName>]
[-p {<Password> | *}] [-c] [-q] [{-uc | -uco | -uci}]
參數:
值 描述
<UserDN ...> 必要/stdin。要修改之一或多位使用者的辨別名稱 (DN)。
如果省略目標物件,則會從標準輸入 (stdin) 取得,支援
將另一個命令的輸出傳送為這個命令的輸入。
-upn <UPN> 將 UPN 值設定為 <UPN>。
-fn <FirstName> 將使用者名字設定為 <FirstName>。
-mi <Initial> 將使用者名字簡寫設定為 <Initial>。
-ln <LastName> 將使用者姓氏設定為 <LastName>。
-display <DisplayName> 將使用者顯示名稱設定為 <DisplayName>。
-fnp <FirstNamePhonetic> 將使用者注音標示名字設定為 <FirstNamePhonetic>。
-lnp <LastNamePhonetic> 將使用者注音標示姓氏設定為 <LastNamePhonetic>。
-displayp <DisplayNamePhonetic> 將使用者注音標示顯示名稱設定為 <DisplayNamePhonetic>。
-empid <EmployeeID> 將使用者員工識別碼設定為 <EmployeeID>。
-pwd {<Password> | *} 將使用者密碼重設為 <Password>。如果輸入 *,則會提示
您輸入密碼。
-desc <Description> 將使用者描述設定為 <Description>。
-office <Office> 將使用者辦公室位置設定為 <Office>。
-tel <Phone#> 將使用者電話號碼設定為 <Phone#>。
-email <Email> 將使用者電子郵件地址設定為 <Email>。
-hometel <HomePhone#> 將使用者住家電話號碼設定為 <HomePhone#>。
-pager <Pager#> 將使用者呼叫器號碼設定為 <Pager#>。
-mobile <CellPhone#> 將使用者行動電話號碼設定為 <CellPhone#>。
-fax <Fax#> 將使用者傳真號碼設定為 <Fax#>。
-iptel <IPPhone#> 將使用者 IP 電話號碼設定為 <IPPhone#>。
-webpg <WebPage> 將使用者網頁 URL 設定為 <WebPage>。
-title <Title> 將使用者職稱設定為 <Title>。
-dept <Department> 將使用者部門設定為 <Department>。
-company <Company> 將使用者公司資訊設定為 <Company>。
-mgr <Manager> 將使用者主管設定為 <Manager>。
-hmdir <HomeDir> 將使用者主目錄設定為 <HomeDir>。如果這是 UNC
路徑,則也必須透過 -hmdrv 指定對應到這個路徑的磁碟機
代號。
-hmdrv <DriveLtr>: 將使用者主磁碟機代號設定為 <DriveLtr>:
-profile <ProfilePath> 將使用者的設定檔路徑設定為 <ProfilePath>。
-loscr <ScriptPath> 將使用者的登入指令檔路徑設定為 <ScriptPath>。
-mustchpwd {yes | no} 設定使用者是否必須在下次登入時變更密碼 (yes 或 no)。
-canchpwd {yes | no} 設定使用者是否可以變更密碼 (yes 或 no)。
如果 -mustchpwd 設定為 "yes",則這個設定應該為 "yes"。
-reversiblepwd {yes | no}
設定是否應該使用可反轉的加密來存放使用者密碼 (yes 或
no)。
-pwdneverexpires {yes | no}
設定使用者密碼是否永久有效 (yes 或 no)。
-acctexpires <NumDays> 將使用者帳戶設定成從今天算起的 <NumDays> 天後到期。
值為 0 表示帳戶會在今天結束前到期。
正數值表示將到期日設定在未來。
負數值表示將到期日設定在過去。
字串值 "never" 表示帳戶永久有效。
-disabled {yes | no} 設定使用者帳戶是否已停用 (yes 或 no)。
{-s <Server> | -d <Domain>}
-s <Server> 會連線到名稱為 <Server> 的 AD DC/LDS
執行個體。
-d <Domain> 會連線到網域 <Domain> 內的 AD DC。
預設值: 登入網域中的 AD DC。
-u <UserName> 以 <UserName> 身分連線。預設值: 登入的使用者。
使用者名稱可以是: 使用者名稱、網域\使用者名稱
或使用者主要名稱 (UPN)。
-p <Password> 使用者 <UserName> 的密碼。如果輸入 *,則會提示
您輸入密碼。
-c 連續操作模式: 指定多個目標物件時,會報告錯誤,
但是會繼續處理引數清單中的下一個物件。如果未指定
這個選項,命令會在第一次發生錯誤時結束。
-q 安靜模式: 不在標準輸出顯示所有輸出。
{-uc | -uco | -uci} -uc 指定輸出到管道或從管道輸入時使用 Unicode 格式。
-uco 指定輸出到管道或檔案時使用 Unicode 格式。
-uci 指定從管道或檔案輸入時使用 Unicode 格式。
備註:
如果輸入的值含有空格,請使用引號括住該文字 (例如,
"CN=John Smith,CN=Users,DC=microsoft,DC=com")。
如果輸入多個值,則必須用空格隔開每個值 (例如,辨別名稱的清單)。
特殊權杖 $username$ (區分大小寫) 可以用來將 SAM 帳戶名稱當成
-webpg、-profile、-hmdir 及 -email 等參數的值。
例如,如果目標使用者 DN 是 CN=Jane Doe,CN=users,CN=microsoft,CN=com,
而 SAM 帳戶名稱屬性是 "janed",則 -hmdir 參數可以有下列替代項目:
-hmdir \users\$username$\home
-hmdir 參數的值會修改為下列值:
- hmdir \users\janed\home
範例:
重設使用者的密碼:
dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
-pwd A1b2C3d4 -mustchpwd yes
將多個使用者密碼重設成共用密碼,並強制他們在下次登入時變更其密碼:
dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
"CN=Jane Doe,CN=Users,DC=microsoft,DC=com" -pwd A1b2C3d4 -mustchpwd yes
同時啟用多個使用者帳戶:
dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
"CN=Jane Doe,CN=Users,DC=microsoft,DC=com" -disabled yes
使用 $username$ 權杖,將多位使用者的設定檔路徑修改成共用路徑:
dsmod user "CN=John Doe,CN=Users,DC=microsoft,DC=com"
"CN=Jane Doe,CN=Users,DC=microsoft,DC=com" -profile \users\$username$\profile

請參閱:
dsmod computer /? - 修改目錄中現有電腦的說明。
dsmod contact /? - 修改目錄中現有連絡人的說明。
dsmod group /? - 修改目錄中現有群組的說明。
dsmod ou /? - 修改目錄中現有組織單位的說明。
dsmod server /? - 修改目錄中現有 AD DC/LDS 執行個體的說明。
dsmod user /? - 修改目錄中現有使用者的說明。
dsmod quota /? - 修改目錄中現有配額規格的說明。
dsmod partition /? - 修改目錄中現有分割的說明。
目錄服務命令列工具說明:
dsadd /? - 新增物件的說明。
dsget /? - 顯示物件的說明。
dsmod /? - 修改物件的說明。
dsmove /? - 移動物件的說明。
dsquery /? - 尋找與搜尋準則相符物件的說明。
dsrm /? - 刪除物件的說明。

2014年5月9日 星期五

Fortigate 硬體檢測 HQIP


摘錄自 http://www.huagai.com/technology.aspx?UID=348&SortID=0&key=

Fortigate-100A3.00,build0474,061228    技術部   王俊                      2007-12-7

目的:飛塔防火牆出現問題時用於設備硬件狀態的一種手段
前期準備:首先下載思科TFTP服務器模擬器 地址:http://www.onlinedown.net/soft/33433.htm
然後去http://emea.fortinet.net/fortinet/aht/  去下載做HQIP所需的文件 註:文件後綴名*.img
HQIP文件要放到TFTP服務器的根目錄下

那麼現在可以正式開始了
第一步:打開TFTP服務器

圖-1
標題欄的地址是192.168.1.96 這個地址是本機的地方 即:把基本模擬成TFTP服務器 這個地址要是192.168.1.0網段 即和FORTIGATE的內網口地址一個網段,先把它晾這裡。


第二步:打開超級終端
開始----程序---附件---通訊—超級終端

圖-2
這裡的名字可以隨便填

圖-3
這裡選COM 1口

圖-4
這裡點以下還原為默認值
 
圖-5
隨後就正式進入超級終端界面了
這是可以幫FORTIGATE通電了~通電後出現以下界面

圖-6
通電後不停按空格鍵(其實是按任意鍵)
然後選個G\F\B\C\Q\H
這裡我們做的是HQIP所以選擇G

圖-7
第一個選項輸入TFTP標題欄的地址
第二個選項輸入FORTIGATE內網口地址
第三個文件是之前準備好的HQIP文件
然後按回車
TFTP服務器中會有進度顯示

圖-8
一直到成功!

圖-9
超級終端會讓你選擇D\B\R選擇R
在選擇R的同時用交叉線把所有接口一對一連起來 以FORTIGATE 100A為例
 
 
 
 
FortiGate-100A:    INTERNAL
                 +-----------+
                [4] [3] [2] [1] [DMZ2] [DMZ1] [WAN2] [WAN1]
                 +   +   +   +    +      +      +      +
                 |   |   |   +----+      |      |      |
                 |   |   +---------------+      |      |
                 |   +--------------------------+      |
                 +-------------------------------------+
http://emea.fortinet.net/fortinet/aht/  飛塔網站上有各個型號的不同接法供參考

一直到出現這個界面


==============Fortinet Hardware Quick Inspection Report ==================


                      BIOSIntegrity Check:      PASS
                         PCIDevice Check:      PASS
            System Configuration Verification:      PASS
                             Memory Test:      PASS
                                CPU Test:      PASS
                CPU/MEM Performance Test:      PASS
                                USB Test:      FAIL
                     FortiASIC Device Test:      PASS
                                 IDE Test:      PASS
                     Network Controller Test:      PASS


==============Fortinet Hardware Quick Inspection FAILED ==================

USB Testrequires loopback cables.
Failure onthis test may be caused by bad cable or poor connection.
Checkwirings before taking further actions.


這裡可以根據分析結果來判斷設備問題~


 下面是一份完整的 飛塔60  HQIP記錄

FGT60(11:24-04.25.2005)                       
Ver:04000000           
Serialnumber:FGT-603907503437                             
RAMactivation             
TotalRAM: 128MB               
Enablingcache...Done.                     
ScanningPCI bus...Done.                       
AllocatingPCI resources...Done.                               
EnablingPCI resources...Done.                             
ZeroingIRQ settings...Done.                           
VerifyingPIRQ tables...Done.                            
Boot up,boot device capacity: 30MB.                                   
Press anykey to display configuration menu...                                             
.
[G]:  Get firmware image from TFTP server.                                         
[F]:  Format boot device.                        
[Q]:  Quit menu and continue to boot with defaultfirmware.                                                          
[H]:  Display this list of options                               

EnterG,F,Q,or H:                

EnterG,F,Q,or H:                

EnterTFTP server address [192.168.1.168]: 192.168.1.96                                                      
Enterlocal address [192.168.1.188]: 192.168.1.99                                                
Enterfirmware image file name [image.out]: FG-60-HQIP.img                                                          
MAC:00:09:0f:17:57:d8                    
###  
Total3876448 bytes data downloaded.                                   
Verifyingthe integrity of the firmware image.                                             

Total28000kB unzipped.                      
Save asDefault firmware/Run image without saving:[D/R]?                                                       
...........................                          
Reading boot image 1970152 bytes.                                 
Initializingfirewall...                       
Initializing   eth0, MAC:00:09:0F:17:5                                    
Initializing   eth1, MAC:00:09:0F:17:57:DA                                         
Initializing   eth2, MAC:00:09:0F:17:57:D9                                         
Initializing   eth3, MAC:00:09:0F:17:57:D8                                         
4interface(s) initialized.                          
NETworkBurn-in Test(netbt) device loaded.                                         

Testprogram loading(61,Build044,May  4 200515:50:22) ...                                                         
Startingtest 61......                     

TestBegin at Thu Oct 25 01:33:53 2007                                      

ModelName:             [FGT-60]                               
Unit BIOSVersion:      [04000000]                                 
UnitFortinet SN:      [FGT-603907503437]                                         
Unit OEMSN:            [FGT-603907503437]                                         
UnitFirst MAC:         [00090f1757d8]                                     


BIOSIntegrity Check PASS.                         

CheckingPCI devices...                      
Lookingfor [0x06011106](VT8601 [Apollo ProMedia]) at 00:00.00 ...Found.                                                                       
Lookingfor [0x86011106](VT8601 [Apollo ProMedia AGP]) at 00:01.00 ...Found.                                                                            
Lookingfor [0x400115BC](FortiASIC CP2) at 00:0D.00 ...                                                      
        No device [0x400115BC](FortiASIC CP2)found at 00:0D.00(0x400510CA).                                                                            


PCIdevices check failed.                        

Gatheringsystem information......                                 

Gatheringsystem information OK!                               

Verifysystem configuartion                          

Verifysystem configuartion PASS                               

1. Systeminformation                    
        model name      : VIA Samuel 2                                     
        CPU number      : 1                           
        CPU MHz         : 400                            
        CPU MIPS        : 799                            
        Compact Flash   : 32MB CompactFlash Card                                               
        size            : 30 MB                              
        Compact Flash   : 32MB CompactFlash Card                                               
        size            : 30 MB                              
        Total Memory    : 125188 KB                                   

        Total 4 net port(s) found.                                 

        internal(eth3) macaddress:      00:09:0F:17:57:D8                                                        
        dmz(eth2) macaddress:   00:09:0F:17:57:D9                                                 
        wan1(eth1) macaddress:  00:09:0F:17:57:DA                                               
        wan2(eth0) macaddress:  00:09:0F:17:57:DB                                                



2. Memorytest             
        Free memory is 88060KB.                              
        pagesize=4096,pagesizemask=FFFFF000                                           
        Detecting memory(117MB)...      [Done, 63MB will be tested]                                                                   

        STRESS->MEM-> 1.StuckAddress...                                       
        STRESS->MEM-> 1.Stuck AddressPASSED.                                            
        STRESS->MEM-> 2.Random value...                                      
        STRESS->MEM-> 2.Random valuePASSED.                                           
        STRESS->MEM-> 3.XORcomparison...                                        
        STRESS->MEM-> 3.XOR comparison PASSED.                                             
        STRESS->MEM-> 4.SUBcomparison...                                        
        STRESS->MEM-> 4.SUB comparisonPASSED.                                             
        STRESS->MEM-> 5.MULcomparison...                                        
        STRESS->MEM-> 5.MUL comparisonPASSED.                                             
        STRESS->MEM-> 6.DIVcomparison...                                        
        STRESS->MEM-> 6.DIV comparisonPASSED.                                             
        STRESS->MEM-> 7.ORcomparison...                                       
        STRESS->MEM-> 7.OR comparisonPASSED.                                            
        STRESS->MEM-> 8.ANDcomparison...                                        
        STRESS->MEM-> 8.AND comparisonPASSED.                                             
        STRESS->MEM-> 9.SequentialIncrement...                                              
        STRESS->MEM-> 9.SequentialIncrement PASSED.                                                   
        STRESS->MEM-> Round    0 completed in 53 seconds (0 errors).                                                                   

        Release memory done.                           


3. CPUtest OK !               
        Free memory is 87960KB.                              

4. Streamtest             
        vvvvvvvvvv                 
        Function      Rate (MB/s)   RMS time    Min time     Max time                                                                     
        Copy:          96.6554       0.3311       0.3311       0.3312                                                                    
        Scale:        147.0623       0.2177       0.2176       0.2183                                                                    
        Add:          154.6935       0.3103       0.3103       0.3103                                                                    
       Triad:        132.0655       0.3635       0.3                                                   

5. TestASIC DES Encrypt and Decrypt.                                    
        Open device /dev/fpga0 error:No suchdevice                                                   

6. TestCompact Flash and Harddisk.                                  
        Compact Flash(/dev/hda) Model:32MBCompactFlash Card                                                           
        Size:32112640(bytes)                            
        Testing write/read to compactflash(/dev/hda):                                                     
        vvvvvvv              
        Read/write test PASS.Write/Read Rate:    1.35MBPS/    4.17MBPS                                                                       


7. TestUSB ports.                 
        Testing device /dev/ttyusb0 ...                                      
        :FAILED in open device(No suchdevice).                                               
        Testing device /dev/ttyusb1 ...                                      
        :FAILED in open device(No suchdevice).                                              

8. TestNetwork interface controller.                                    
Wire thenetwork ports as follow for NIC loopback test.                                                      
     INTERNAL            
  +-----------+              
 [4] [3] [2] [1] [DMZ] [WAN1] [WAN2]                                   
  V  +   +   +   +      +      +                                 
      |  |   +----+      |     |                                 
      |  +---------------+      |                                 
      +--------------------------+                                  

Initializing   eth0, MAC:00:09:0F:17:57:DB                                         
Initializing   eth1, MAC:00:09:0F:17:57:DA                                         
Initializing   eth2, MAC:00:09:0F:17:57:D9                                          
Initializing   eth3, MAC:00:09:0F:17:57:                                     
4interface(s) initialized.                          
        Network traffic test between internaland dmz...                                                       
Try tostart netbt device...                           
Interface   eth3 pair: [me 00:09:0F:17:57:D8]     <3>[he 00:09:0F:17:57:D9]                                                                          
Interface   eth2 pair: [me 00:09:0F:17:57:D9]     <3>[he 00:09:0F:17:57:D8]                                                                          
Total 2pairs configurated.                          
NETBTdevice started.                    
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<  64> eth2.tx:    154596     9275760       0                                                       
<  64> eth2.rx:    154596     9275760       0      0  15459      9      0                                                                          
<  64> eth3.tx:    154596     9275760       0      0  15459      9                                                                   
<  64> eth3.rx:    154596     9275760       0      0  15459      9      0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                     
<128> eth2.tx:    136496     16925440       0     0   13649     15                                                                   
<128> eth2.rx:    136496     16925440       0     0   13649     15     0                                                                          
<128> eth3.tx:    136496     16925440       0     0   13649     15                                                                   
<128> eth3.rx:    136496     16925440       0     0   13649     15     0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<256> eth2.tx:    112159     28263940       0     0   11215     23                                                                    
<256> eth2.rx:    112159     28263940       0     0   11215     23     0                                                                          
<256> eth3.tx:    112159     28263940       0     0   11215     23                                                                   
<256> eth3.rx:    112159     28263940       0     0   11215     23     0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<512> eth2.tx:     79733     40504108       0     0    7973     33                                                                   
<512> eth2.rx:     79733     40504108       0     0    7973     33     0                                                                          
<512> eth3.tx:     79733     40504108       0     0    7973     33                                                                   
<512> eth3.rx:     79733     40504108       0     0    7973     33     0                                                                           
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<1024>eth2.tx:     49612     50603728       0     0    4961     40                                                                   
<1024>eth2.rx:     49612     50603728       0     0    4961     40     0                                                                          
<1024>eth3.tx:     49612     50603728       0     0    4961     40                                                                   
<1024>eth3.rx:     49612     50603728       0     0    4961     40     0                                                                          
----------------------------------------------------------------------------                                                                           
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<1518>eth2.tx:     35982     54476254       0     0    3598    43                                                                   
<1518>eth2.rx:     35982     54476254       0     0    3598     43     0                                                                          
<1518>eth3.tx:     35982    54476254       0      0   3598     43                                                                   
<1518>eth3.rx:     35982     54476254       0     0    3598     43     0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                     
<  64> eth2.tx:    155166     9311414       0      0  15516      9                                                                   
<  64> eth2.rx:    155145     9310154       0      0  15514      9     0                                                                          
<  64> eth3.tx:    155166     9311414       0      0  15516      9                                                                   
<  64> eth3.rx:    155166     9311414       0      0  15516      9      0                                                                          
Stopnetbt device.                 
        PASSED             

        Network traffic test between internaland wan1...                                                         
Try tostart netbt device...                           
Interface   eth3 pair: [me 00:09:0F:17:57:D8]     <3>[he 00:09:0F:17:57:DA]                                                                          
Interface   eth1 pair: [me 00:09:0F:17:57:DA]     <3>[he 00:09:0F:17:57:D8]                                                                          
Total 2pairs configurated.                          
NETBTdevice started.                    
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<  64> eth1.tx:    153289     9197340       0      0  15328      9                                                                   
<  64> eth1.rx:    153289     9197340       0      0  15328      9      0                                                                           
<  64> eth3.tx:    153289     9197340       0      0  15328      9                                                                   
<  64> eth3.rx:    153289     9197340       0      0  15328      9      0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  M bps                                                                    
<128> eth1.tx:    134640     16695296       0     0   13464     15                                                                   
<128> eth1.rx:    134640     16695296       0     0   13464     15     0                                                                          
<128> eth3.tx:    134640     16695296       0     0   13464     15                                                                    
<128> eth3.rx:    134640     16695296       0     0   13464     15     0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<256> eth1.tx:    111890    28196152       0      0  11189     23                                                                   
<256> eth1.rx:    111890     28196152       0     0   11189     23     0                                                                          
<256> eth3.tx:    111890     28196152       0     0   11189     23                                                                   
<256> eth3.rx:    111890     28196152       0     0   11189     23     0                                                                           
----------------------------------------------------------------------------                                                                          
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<512> eth1.tx:     80420     40853104       0     0    8042     33                                                                   
<512> eth1.rx:     80420     40853104       0     0    8042     33     0                                                                          
<512> eth3.tx:     80420     40853104       0     0    8042     33                                                                   
<512> eth3.rx:     80420     40853104       0     0    8042     33     0                                                                          
------------------------------------------------------------------------------                                                                              
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<1024>eth1.tx:     49572     50562928       0     0    4957     40                                                                   
<1024>eth1.rx:     49572     50562928       0     0    4957     40     0                                                                          
<1024>eth3.tx:     49572     50562928       0     0    4957     40                                                                   
<1024>eth3.rx:     49572     50562928       0     0    4957     40     0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                     
<1518>eth1.tx:     35921     54383900       0     0    3592     43                                                                   
<1518>eth1.rx:     35921     54383900       0     0    3592     43     0                                                                           
<1518>eth3.tx:     35921     54383900       0     0    3592     43                                                                   
<1518>eth3.rx:     35921     54383900       0     0    3592     43     0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  M bps                                                                    
<  64> eth1.tx:    153751     9226514       0      0  15375      9                                                                   
<  64> eth1.rx:    153751     9226514       0      0  15375      9      0                                                                          
<  64> eth3.tx:    153751     9226514       0      0  15375      9                                                                    
<  64> eth3.rx:    153751     9226514       0      0  15375      9      0                                                                          
Stopnetbt device.                 
        PASSED              

        Network traffic test between internaland wan2...                                                        
Try tostart netbt device...                           
Interface   eth3 pair: [me 00:09:0F:17:57:D8]     <3>[he 00:09:0F:17:57:DB]                                                                          
Interface   eth0 pair: [me 00:09:0F:17:57:DB]     <3>[he 00:09:0F:17:57:D8]                                                                          
Total 2pairs configurated.                          
NETBTdevice started.                    
-------------------------------------------------                                              
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                     
<  64> eth0.tx:    152193     9131580       0      0  15219      9                                                                   
<  64> eth0.rx:    152193     9131580       0      0  15219      9      0                                                                          
<  64> eth3.tx:    152193     9131580       0      0  15219      9                                                                   
<  64> eth3.rx:    152193     9131580       0      0  15219      9      0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<128> eth0.tx:    135133     16756428       0     0   13513     15                                                                    
<128> eth0.rx:    135133     16756428       0     0   13513     15     0                                                                          
<128> eth3.tx:    135133     16756428       0     0   13513     15                                                                   
<128> eth3.rx:    135133     16756428       0     0   13513     15     0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<256> eth0.tx:    111220     28027312       0     0   11122     23                                                                   
<256> eth0.rx:    111220     28027312       0     0   11122     23     0                                                                          
<256> eth3.tx:    111220     28027312       0     0   11122     23                                                                   
<256> eth3.rx:    111220     28027312       0     0   11122     23     0                                                                           
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<512> eth0.tx:     76606     38915592       0     0    7660     32                                                                   
<512> eth0.rx:     76606     38915592       0     0    7660     32     0                                                                          
<512> eth3.tx:     76606     38915592       0     0    7660     32                                                                   
<512> eth3.rx:     76606     38915592       0     0    7660     32     0                                                                          
------------------------------------------------------------------------------                                                                              
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<1024>eth0.tx:     49520     50509888       0     0    4952     40                                                                   
<1024>eth0.rx:     49520     50509888       0     0    4952     40     0                                                                          
<1024>eth3.tx:     49520     50509888       0     0    4952     40                                                                   
<1024>eth3.rx:     49520     50509888       0     0    4952     40     0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                     
<1518>eth0.tx:     35976     54467170       0     0    3597     43                                                                   
<1518>eth0.rx:     35976     54467170       0     0    3597     43     0                                                                          
<1518>eth3.tx:     35976     54467170       0     0    3597     43                                                                   
<1518>eth3.rx:     35976     54467170       0     0    3597     43     0                                                                          
------------------------------------------------------------------------------                                                                             
  Interface  |  packets |   bytes   |dropped|errors|pks/sec|  Mbps                                                                    
<  64> eth0.tx:    152806     9169814       0      0  15280      9                                                                    
<  64> eth0.rx:    152806     9169814       0      0  15280      9      0                                                                          
<  64> eth3.tx:    152806     9169814       0      0  15280      9                                                                   
<  64> eth3.rx:    152806     9169814       0      0  15280      9      0                                                                          
Stopnetbt device.                 
        PASSED             



        Network traffic test between inter                                       
        Network traffic test between internaland wan1: PASSED                                                              
        Network traffic test between internaland wan2: PASSED                                                             

Test Endat Thu Oct 25 01:39:22 2007                                   
ElapsedTime: 329 Seconds(5m29s).                                 



==============Fortinet Hardware Quick Inspection Report ==================


                    BIOS Integrity Check:      PASS
                        PCI Device Check:      FAIL
       System Configuration Verification:      PASS
                             Memory Test:      PASS
                                CPU Test:      PASS
                CPU/MEM Performance Test:      PASS
                                USB Test:      FAIL
                   FortiASIC Device Test:      FAIL
                                IDE Test:      PASS
                 Network Controller Test:      PASS


==============Fortinet Hardware Quick Inspection FAILED ==================

USB Testrequires loopback cables.
Failureon this test may be caused by bad cable or poor connection.
Checkwirings before taking further actions.