From: Polin Wei
Arguments:
big5lp -c -d$PROFILES$.PRINTER -n$PROFILES$.CONC_COPIES -t"$PROFILES$.TITLE" $PROFILES$.FILENAME
script location under AP Tier,
[prodmgr@ebsap1 ~]$ cd $AD_TOP/bin
[prodmgr@ebsap1 bin]$ ls -l big5lp
-rwxrwxr-x 1 prodmgr dba 566 Dec 13 2007 big5lp
[prodmgr@ebsap1 bin]$ cat big5lp
#!/bin/ksh
## AD Character-set Conversion session
adncnv $5 UTF8 $5 ZHT16BIG5
/usr/bin/lp $1 $2 $3 $4 $5
廣告聯播
2015年12月15日 星期二
2015年12月3日 星期四
Cisco Nexus 3064 Switch 封包收集設定
From: Polin Wei
Nexus SW 設定
switch(config)# monitor session 1
switch(config-monitor)# source interface port-channel 10 both
switch(config-monitor)# destination interface ethernet 1/#
switch(config-monitor)# no shut
switch(config-monitor)# int ethernet 1/#
switch(config-if)# switchport monitor
#為設定要收取封包的 port
設定完成後可以執行下列指令確認 session:
switch#show monitor session 1
WireShark 下載
要下載 WireShark,可以到這個網址: https://www.wireshark.org/
其中可以設定要看電腦的哪一張網卡,比較特別的是要在
Edit -> Preferences -> Capture 的設定裡面,Capture packets in promiscuous mode 要選取。
這樣電腦才會忽略 packet 的 MAC 比對,進而達到收取封包的目的。
收取的封包可以在 Capture -> Option 裡的 Output 設定將其存成一個檔案。
收取的封包可以在 Capture -> Option 裡的 Output 設定將其存成一個檔案。
Nexus SW 設定
switch(config)# monitor session 1
switch(config-monitor)# source interface port-channel 10 both
switch(config-monitor)# destination interface ethernet 1/#
switch(config-monitor)# no shut
switch(config-monitor)# int ethernet 1/#
switch(config-if)# switchport monitor
#為設定要收取封包的 port
設定完成後可以執行下列指令確認 session:
switch#show monitor session 1
WireShark 下載
要下載 WireShark,可以到這個網址: https://www.wireshark.org/
其中可以設定要看電腦的哪一張網卡,比較特別的是要在
Edit -> Preferences -> Capture 的設定裡面,Capture packets in promiscuous mode 要選取。
這樣電腦才會忽略 packet 的 MAC 比對,進而達到收取封包的目的。
收取的封包可以在 Capture -> Option 裡的 Output 設定將其存成一個檔案。
收取的封包可以在 Capture -> Option 裡的 Output 設定將其存成一個檔案。
訂閱:
文章 (Atom)
-
From: Polin Wei 陰影複製說明: 存取舊版本資料和救回刪除檔案 可以排程定期追蹤磁碟上的檔案異動 不能用來取代備份 圖一:陰影複製是針對磁碟進行設定,選定目標磁碟 圖二:按下啟用按鈕 圖三:陰影複製注意事項,不適合 I / O ...
-
From: Polin Wei 軟體名稱:Spiceworks 軟體性質:免費 最近版本:6.2.91.9 作業系統:Windows XP/2000/vista/7/server2008 資料庫:自帶 語言界面:英文+中文 http://www.spi...
-
From: Polin Wei 可以由 http://www.ocsinventory-ng.org/en/download/ 下載 OCS Inventory NG Server ,若是 CentOS 的 VM , 基本系統管理可以查看 Linux: CentO...