<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7907625078643816377</id><updated>2026-06-02T02:26:18.003+08:00</updated><category term="Cisco"/><category term="露營生活"/><category term="Linux"/><category term="Cacti"/><category term="Splunk"/><title type='text'>Leslie&#39;s Note</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>89</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-7106497472466567342</id><published>2017-01-07T12:56:00.000+08:00</published><updated>2017-01-07T12:56:13.888+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco 1841 IOS(Firmware) upgrade c1841-adventerprisek9-mz.123-14.T3.bin(support SSH v2)</title><content type='html'>######################################################&lt;br /&gt;
&lt;span style=&quot;color: red; font-size: large;&quot;&gt;Before procedure need setup ftp Username &amp;amp; Password&lt;/span&gt;&lt;br /&gt;
######################################################&lt;br /&gt;
&lt;br /&gt;
# Del origin IOS c2800nm-ipbase-mz.124-15.T9.bin&lt;br /&gt;
del /force /recursive flash:c1841-ipbase-mz.124-1c.bin&lt;br /&gt;
&lt;br /&gt;
del /force /recursive flash:c1841-adventerprisek9-mz.123-14.T3.bin&lt;br /&gt;
&lt;br /&gt;
del /force /recursive flash:securedesktop-ios-3.1.1.27-k9.pkg&lt;br /&gt;
&lt;br /&gt;
del /force /recursive flash:sdm.tar&lt;br /&gt;
&lt;br /&gt;
# Del origin IOS c2800nm-ipbase-mz.124-24.T6.bin&lt;br /&gt;
del /force /recursive flash:c2800nm-ipbase-mz.124-24.T6.bin&lt;br /&gt;
&lt;br /&gt;
# Use ftp service transfer IOS to flash&lt;br /&gt;
copy ftp://172.17.200.2/CiscoIOS/c1841-entservicesk9-mz.124-19a.bin flash:&lt;br /&gt;
&lt;br /&gt;
# Verify IOS file&lt;br /&gt;
verify /md5 flash:/c1841-entservicesk9-mz.124-19a.bin aefd7bef96f681fddf5bd1019252425b&lt;br /&gt;
&lt;br /&gt;
# Setup Boot from IOS c1841-entservicesk9-mz.124-19a.bin&lt;br /&gt;
config term&lt;br /&gt;
# Delete old boot config&lt;br /&gt;
no boot system flash c1841-adventerprisek9-mz.123-14.T3.bin&lt;br /&gt;
&lt;br /&gt;
# Add New boot config&lt;br /&gt;
boot system flash c1841-entservicesk9-mz.124-19a.bin&lt;br /&gt;
exit&lt;br /&gt;
write&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/7106497472466567342/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/7106497472466567342' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/7106497472466567342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/7106497472466567342'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2017/01/cisco-1841-iosfirmware-upgrade-c1841.html' title='Cisco 1841 IOS(Firmware) upgrade c1841-adventerprisek9-mz.123-14.T3.bin(support SSH v2)'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-2886705425637327346</id><published>2017-01-03T15:14:00.001+08:00</published><updated>2017-01-03T15:37:11.675+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco Archive(Schedule Backup Config)</title><content type='html'>&lt;br /&gt;
Cisco Archive(Schedule Backup Config)&lt;br /&gt;
&lt;br /&gt;
config term&lt;br /&gt;
&lt;br /&gt;
archive&lt;br /&gt;
&amp;nbsp;log config&lt;br /&gt;
&amp;nbsp; hidekeys&lt;br /&gt;
&amp;nbsp;path ftp://172.17.200.2/CiscoArchive/$h-config_&lt;br /&gt;
&amp;nbsp;write-memory&lt;br /&gt;
&amp;nbsp;time-period 10080&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
======================================================================&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial; font-size: 14px; line-height: 1; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
The next backup will be performed in one week exactly (time in minutes), but what if we would like to configure this periodicity with an explicit date time? Unfortunately with the current Archive features, it is not possible. In that case we could combine the Archive feature with Kron Schedule.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial; font-size: 14px; line-height: 20px; min-height: 8pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial; font-size: 14px; line-height: 1; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Kron is a command scheduler used to automate tasks in the Cisco IOS Software. With Kron, we can set policies and use them once or with a certain periodicity. For this we configure a Kron Policy List and then apply an occurrence to the global Kron policy. Note that Kron does not work with interactive commands, meaning commands that have some type of dialog for validation. An example would be &quot;copy running-config startup-config&quot;. In this case, a dialog would appear in order to validate the execution of the sentence. Since we have this &quot;limitation&quot; with that sentence, we could use the &quot;write memory&quot; command which does not need any validation and use it in the Kron Policy.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #333333; font-family: Arial; font-size: 14px; line-height: 20px; min-height: 8pt; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-size: 13px; overflow-x: auto; padding: 0px 0px 0px 30px; vertical-align: baseline;&quot;&gt;R1(config)#kron policy-list CONFIGURATION_BACKUP
R1(config-kron-policy)#cli write memory
R1(config)#kron occurrence Backup BACKUP_OCCURRENCE at 9:00 25 recurring
R1(config-kron-occurrence)#policy-list CONFIGURATION_BACKUP&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-size: 13px; overflow-x: auto; padding: 0px 0px 0px 30px; vertical-align: baseline;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-size: 13px; overflow-x: auto; padding: 0px 0px 0px 30px; vertical-align: baseline;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-size: 13px; overflow-x: auto; padding: 0px 0px 0px 30px; vertical-align: baseline;&quot;&gt;=============================================================================&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-size: 13px; overflow-x: auto; padding: 0px 0px 0px 30px; vertical-align: baseline;&quot;&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-size: 13px; overflow-x: auto; padding: 0px 0px 0px 30px; vertical-align: baseline;&quot;&gt;&lt;div style=&quot;border: 0px; font-family: Arial; font-size: 14px; line-height: 20px; padding: 0px; vertical-align: baseline; white-space: normal;&quot;&gt;
Thank you for response, you can see below our used configs.&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Arial; font-size: 14px; line-height: 20px; min-height: 8pt; padding: 0px; vertical-align: baseline; white-space: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Arial; font-size: 14px; line-height: 20px; padding: 0px; vertical-align: baseline; white-space: normal;&quot;&gt;
!&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Arial; font-size: 14px; line-height: 20px; padding: 0px; vertical-align: baseline; white-space: normal;&quot;&gt;
kron occurrence backup-config at 10:09 Wed recurring system-startup&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Arial; font-size: 14px; line-height: 20px; padding: 0px; vertical-align: baseline; white-space: normal;&quot;&gt;
policy-list backup-config&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Arial; font-size: 14px; line-height: 20px; padding: 0px; vertical-align: baseline; white-space: normal;&quot;&gt;
!&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Arial; font-size: 14px; line-height: 20px; padding: 0px; vertical-align: baseline; white-space: normal;&quot;&gt;
kron policy-list backup-config&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Arial; font-size: 14px; line-height: 20px; padding: 0px; vertical-align: baseline; white-space: normal;&quot;&gt;
&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;cli show config | redirect t&lt;/span&gt;&lt;a class=&quot;jive-link-external-small&quot; href=&quot;ftp://10.1.1.200/tftp/iznsw25.conf&quot; style=&quot;border: 0px; color: #0086c0; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;ftp://10.1.1.200/tftp/iznsw25.conf&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: Arial; font-size: 14px; line-height: 20px; padding: 0px; vertical-align: baseline; white-space: normal;&quot;&gt;
!&lt;/div&gt;
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/2886705425637327346/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/2886705425637327346' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/2886705425637327346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/2886705425637327346'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2017/01/cisco-archiveschedule-backup-config.html' title='Cisco Archive(Schedule Backup Config)'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-4075378234991008608</id><published>2016-07-21T18:57:00.004+08:00</published><updated>2016-07-21T18:57:58.456+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>使用 GRE Tunnel 時，可能會遇到的 MTU 問題</title><content type='html'>&lt;div class=&quot;article-header&quot; style=&quot;display: table; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; margin: 0px; outline: none; padding: 0px; text-align: center; width: 750px;&quot;&gt;
&lt;h1 class=&quot;title entry-title&quot; itemprop=&quot;name&quot; style=&quot;display: table-cell; font-size: 20px; font-weight: normal; margin: 0px; padding: 0px 40px 0px 0px; position: relative; vertical-align: middle; width: 710px;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;From:http://teenyscrew.blogspot.tw/2014/06/gre-tunnel-mtu.html&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;a data-id=&quot;5547148212639161809&quot; data-item-type=&quot;post&quot; href=&quot;http://teenyscrew.blogspot.com/2014/06/gre-tunnel-mtu.html&quot; itemprop=&quot;url&quot; rel=&quot;bookmark&quot; style=&quot;color: #333333; outline: none; text-decoration: none; transition: color 0.3s initial initial;&quot;&gt;使用 GRE Tunnel 時，可能會遇到的 MTU 問題&lt;/a&gt;&lt;/h1&gt;
&lt;/div&gt;
&lt;div class=&quot;article-content entry-content&quot; itemprop=&quot;articleBody&quot; style=&quot;clear: both; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.4; margin: 10px auto 5px; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;一般來說，Ethernet 的 MTU (Frame 除了 header 以外的 Palyload) 是 1500 Bytes， Header &amp;nbsp;+ Tailer 則是 14 Bytes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;這 1500 bytes 包含了&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;ol style=&quot;margin: 0.5em 0px; outline: none; padding: 0px 0px 0px 2em;&quot;&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;IP 層 Header (固定 20 Bytes)&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;TCP / UDP 層 Header &amp;nbsp;(固定 20 Bytes)&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;TCP / UDP 層 Payload (變動)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;對 TCP 來說，在三方交握時，兩方會針對第三點的大小進行協議，得到的數值就是 MSS&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;因為 Ethernet MTU 一般是 1500 Bytes，扣掉固定大小的 IP Header 以及 TCP Header 之後，&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;得到的 1460 Bytes 就是在一般情況之下，MSS 能夠達到的最大值。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;因此 TCP 在進行三方交握時，一般都假設自己的 MSS 是 1460 Bytes。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;好，MTU 的觀念整理完了，接下來要說 GRE Tunnel。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;GRE Tunnel 是把封包原封不動的在前面另外加上 GRE Header，而這個 Header 總計 24 Bytes*。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;所以一個 TCP / IP Packet ( MSS=1460 )，送到 GRE Tunnel Router 後，再加上 GRE Header 會變成&lt;/span&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-size: xx-small;&quot;&gt;1460 + 20 + 20 + 24 = 1524 Bytes&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;冰崩，問題來了，就算是 GRE Tunnel 的封包，最終還是要從實體端口傳送出去，&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;Ethernet MTU 是 1500 Bytes ，所以封包若要傳送一定要經過 Fragmentation，如果封包加上 DF，則傳送就會失敗。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;要避免 fragmentation 的問題，其中一個方法是減少 MSS ，讓封包加上 GRE Header 之後還能在 1500 Bytes 以下。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;因此這個 MSS 應該小於或等於&lt;/span&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-size: xx-small;&quot;&gt;1500 - 24 - 20 - 20 = 1436&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;這也是為什麼 GRE Tunnel MTU 預設會是 1436 + 20 + 20 &amp;nbsp;= 1476 Bytes 了&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;br /&gt;至於修改 MSS 的方式有幾種，&lt;/span&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;ol style=&quot;margin: 0.5em 0px; outline: none; padding: 0px 0px 0px 2em;&quot;&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;主機上修改。很不方便，不建議&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;Router 攔截 TCP Connection 後修改 MSS Value :&amp;nbsp;&lt;strong style=&quot;background-color: #eeeeee; border: 0px; color: #444444; font-family: monospace, &amp;quot;Lucida Sans&amp;quot;, sans-serif; line-height: 28.0453px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;ip tcp adjust-mss 1436&lt;/strong&gt;&lt;strong style=&quot;background-color: white; border: 0px; color: #444444; font-family: monospace, &amp;quot;Lucida Sans&amp;quot;, sans-serif; line-height: 28.0453px; margin: 0px; padding: 0px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(設定在 int tunnel)(註)&lt;/strong&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;在 windows 用 ping 指令測試時，要注意的是，當我們用 -l &amp;nbsp;指令來指定封包大小時，這個大小其實只包含了 icmp data 欄位，也就是尚不包含 icmp header **，更不包含 ip header。所以對 MTU = 1500 bytes 的Ethernet 來說，icmp 封包超過 1500 - 20 - 8 = 1472 時，封包就無法傳送出去了。（前提是測試時有設定DF bit）如&lt;/span&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: #cccccc; font-size: xx-small;&quot;&gt;&amp;nbsp;ping 168.95.1.1 -l 1472 -f&amp;nbsp;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;但在 cisco device 上作 ping test 時，指定的 packet size 其實是包含了 ip header + icmp header + icmp data。所以做測試時，packet size 最大可以設定成 1500。超過此數值，又同時設定 df-bit 則封包會無法傳送***。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;最後要注意的是，IPv6 header size 是 40 bytes，所以一般狀態下 MSS 應該是 1500(MTU) - 40(IPv6 Header) - 20(TCP Header) = 1440 bytes。在 GRE Tunnel 狀態下，MSS 等於 1500 - 24 - 40 - 20 = 1416 bytes(比 IPv4 小 20 bytes)。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&amp;nbsp;*&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;更嚴格來說 4 Bytes 係來自於 GRE 的 4 Bytes 與新的&amp;nbsp;&lt;a href=&quot;http://en.wikipedia.org/wiki/Generic_Routing_Encapsulation&quot; style=&quot;color: #009eb8; display: inline; outline: none; text-decoration: none; transition: color 0.3s;&quot;&gt;IP Header 20 Bytes&lt;/a&gt;。因為&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;New IP Packet &amp;nbsp;= new ip header + gre header + original ip packet。by the way,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;Dynamic Multipoint VPN (DMVPN) using GRE Header 是 26 Bytes。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;** ICMP 封包的完整格式包括：&lt;a href=&quot;http://www.itwissen.info/bilder/icmp-rahmen-im-ip-rahmen.png&quot; style=&quot;color: #009eb8; display: inline; outline: none; text-decoration: none; transition: color 0.3s;&quot;&gt;ethernet header + ip header&amp;nbsp;&lt;/a&gt;+ icmp header。所以 icmp 不屬於二層也不屬於三層，但是又需要 IP 來協助傳送。&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;*** 引用&amp;nbsp;&lt;a href=&quot;https://learningnetwork.cisco.com/thread/10788&quot; style=&quot;color: #009eb8; display: inline; outline: none; text-decoration: none; transition: color 0.3s;&quot;&gt;Cisco Forum&lt;/a&gt;&amp;nbsp;上一個 CCIE 工程師的回答&lt;/span&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: arial; font-size: xx-small;&quot;&gt;&lt;i&gt;In IOS, when you specify the size, that is the overall packet length.&amp;nbsp; So if you specify size 250, the packet will be 250 bytes.&amp;nbsp; In windows, ping -l &lt;size&gt; specifies the ICMP data.&amp;nbsp; So -l 250 produces a 278 byte IP packet.&amp;nbsp; This is calculated as 250 bytes of data + 8 bytes of ICMP header + 20 bytes of IP header.&amp;nbsp; I just wanted to make the distinction as to what size meant in IOS as opposed to Windows.&lt;/size&gt;&lt;/i&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;註 有篇&lt;a href=&quot;http://blog.ipspace.net/2013/01/mtu-issues-and-tcp-mss-clamping-in.html&quot; style=&quot;color: #009eb8; display: inline; outline: none; text-decoration: none; transition: color 0.3s;&quot;&gt;文章&lt;/a&gt;說 IPv6 的指令，IOS version 必須在 15.2(4)M 之後才有，但是我測試結果是不行，或許跟 License 有關？&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;table style=&quot;background-color: lightcyan; border: 1px dotted black; margin-left: auto; margin-right: auto; padding: 10px; width: 690px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;2014-07-07 更新&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;經網路上前輩提醒，該文章說的 ipv6 tcp adjust-mss 指令，只有在 ASR 才會出現，所以我用 ISR 試一輩子也沒用。不過原本的 IP tcp adjust-mss 指令就可以滿足我的條件，因為他會同時修改 IPv6 and IPv4 TCP MSS。早上做了實驗的確是這樣，用 Wireshark 看三方交握的封包，的確改成我設定的 1220 Bytes。（測試用，依據最小 MTU 1280 byte計算得來）&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;參考文章&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://networklessons.com/ip-routing/pppoe-mtu-troubleshooting-cisco-ios/&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://www.cisco.com/c/en/us/support/docs/ip/generic-routing-encapsulation-gre/13725-56.pdf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://itchenyi.blog.51cto.com/4745638/1137143&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://blog.thousandeyes.com/troubleshooting-path-mtu-tcp-mss-problems/&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://switchpacket.blogspot.tw/2014/07/understanding-difference-between-mtu.html&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/4075378234991008608/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/4075378234991008608' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/4075378234991008608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/4075378234991008608'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2016/07/gre-tunnel-mtu.html' title='使用 GRE Tunnel 時，可能會遇到的 MTU 問題'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-310244777362086524</id><published>2016-03-25T20:57:00.001+08:00</published><updated>2016-03-25T20:57:12.721+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Cron Example</title><content type='html'># Example of job definition:&lt;br /&gt;
# .---------------- minute (0 - 59)&lt;br /&gt;
# | &amp;nbsp;.------------- hour (0 - 23)&lt;br /&gt;
# | &amp;nbsp;| &amp;nbsp;.---------- day of month (1 - 31)&lt;br /&gt;
# | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;.------- month (1 - 12) OR jan,feb,mar,apr ...&lt;br /&gt;
# | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;| &amp;nbsp;.---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat&lt;br /&gt;
# | &amp;nbsp;| &amp;nbsp;| &amp;nbsp;| &amp;nbsp;|&lt;br /&gt;
# * &amp;nbsp;* &amp;nbsp;* &amp;nbsp;* &amp;nbsp;* user-name &amp;nbsp;command to be executed&lt;br /&gt;
&lt;br /&gt;
3 0 * * * root /raid/log/dailytar.sh &amp;gt;&amp;gt; /raid/data/log/dailytar.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
33 0 * * * root /raid/log/synclog.sh &amp;gt;&amp;gt; /raid/syslog/TPBak/rsync.log 2&amp;gt;&amp;amp;1&lt;br /&gt;
*/3 1-23 * * * root /raid/log/checklog.sh&lt;br /&gt;
50 23 * * * root /raid/data/module/rSyslog/system/etc/rc.d/rsyslog-server restart &amp;gt; /dev/null</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/310244777362086524/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/310244777362086524' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/310244777362086524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/310244777362086524'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2016/03/cron-example.html' title='Cron Example'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-3611860524685100746</id><published>2016-03-19T16:37:00.001+08:00</published><updated>2016-03-28T15:29:02.493+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="Splunk"/><title type='text'>Splunk滙入Cisco ASA5550 firewall log並指定特殊字串,避免超出限額</title><content type='html'>&lt;br /&gt;
&lt;b&gt;1. Splunk Monitor&amp;nbsp;D:\Firewall-Log-Splunk\filter-tpe-asa5550* file&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;2. Use 【props.conf】 TRANSFORMS-set&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;3. Define transforms.conf to filter event include string &quot;0x&quot;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;4. After configure need restart splunk service.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;C:\Program Files\Splunk\etc\apps\search\local&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;inputs.conf&lt;/span&gt;&lt;br /&gt;
===================================================================&lt;br /&gt;
[monitor://J:\Firewall-Log-Check]&lt;br /&gt;
disabled = false&lt;br /&gt;
index = firewall-log-check&lt;br /&gt;
whitelist =&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;[monitor://D:\Firewall-Log-Splunk]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;disabled = false&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;index = tpe-asa5550&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;whitelist = filter-tpe-asa5550*&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
[monitor://D:\014-FirewallLog-Splunk]&lt;br /&gt;
disabled = false&lt;br /&gt;
index = 014-firewalllog-splunk&lt;br /&gt;
whitelist = tpe-014pix*&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;C:\Program Files\Splunk\etc\apps\learned\local&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;props.conf(與【資料輸入】-&amp;gt;【檔案和目錄】-&amp;gt;【來源類型】有關)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
=================================================================&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
[filter-tpe-asa]&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;TRANSFORMS-set = setnull, setparsing&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
MAX_TIMESTAMP_LOOKAHEAD = 36&lt;/div&gt;
&lt;div&gt;
is_valid = True&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;C:\Program Files\Splunk\etc\system\local&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;transforms.conf(與【欄位】-&amp;gt;【欄位轉換】有關)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
=================================================================&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;[setnull]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;REGEX = .&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;DEST_KEY = queue&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;FORMAT = nullQueue&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;[setparsing]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;REGEX = 0x&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;DEST_KEY = queue&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;FORMAT = indexQueue&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/3611860524685100746/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/3611860524685100746' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/3611860524685100746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/3611860524685100746'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2016/03/splunkcisco-asa5550-firewall-log.html' title='Splunk滙入Cisco ASA5550 firewall log並指定特殊字串,避免超出限額'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-4673978346691956364</id><published>2016-03-09T17:05:00.002+08:00</published><updated>2016-03-09T17:41:15.481+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco Router/Switch Enable SSH</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
Follow the next steps to enable SSH:&lt;br /&gt;
• Configure the hostname command.&lt;br /&gt;
• Configure the DNS domain.&lt;br /&gt;
• Generate RSA key to be used.&lt;br /&gt;
• Enable SSH transport support for the virtual type terminal (vty)&lt;br /&gt;
&lt;br /&gt;
Example SSH version 2 configuration:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;hostname ssh-router&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;aaa new-model&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;username cisco password cisco&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;ip domain-name routers.local&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
! Specifies which RSA keypair to use for SSH usage.&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;#在Cisco 4506與4507上無法下這段指令&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;ip ssh rsa keypair-name sshkeys&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
! Enables the SSH server for local and remote authentication on the router.&lt;br /&gt;
! For SSH Version 2, the modulus size must be at least 768 bits.&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;crypto key generate rsa usage-keys label sshkeys modulus 1024&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
! Configures SSH control variables on your router.&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;ip ssh timeout 120&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
! configure SSH version 2 (will disable SSH version 1)&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;ip ssh version 2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
!--- disable Telnet and enable SSH&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;line vty 0 4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;transport input SSH&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Commands to verify SSH configuration:&lt;br /&gt;
• show ssh&lt;br /&gt;
• show ip ssh&lt;br /&gt;
• debug ip ssh&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
###Remove RSA key&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;(config)#crypto key zeroize rsa&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
% All RSA keys will be removed.&lt;br /&gt;
% All router certs issued using these keys will also be removed.&lt;br /&gt;
Do you really want to remove these keys? [yes/no]: no&lt;br /&gt;
&lt;br /&gt;
=====================================================================&lt;br /&gt;
ip domain-name pro.tcbank.cop&lt;br /&gt;
&lt;br /&gt;
crypto key generate rsa usage-keys label sshkeys modulus 1024&lt;br /&gt;
&lt;br /&gt;
ip ssh time-out 120&lt;br /&gt;
&lt;br /&gt;
ip ssh version 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
line vty 0 4&lt;br /&gt;
no access-class VTY_ACL in&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
no ip access-list extended VTY_ACL&lt;br /&gt;
&lt;br /&gt;
ip access-list extended VTY_ACL&lt;br /&gt;
&amp;nbsp;permit tcp host 192.168.91.44 any eq telnet&lt;br /&gt;
&amp;nbsp;permit tcp host 192.168.1.45 any eq telnet&lt;br /&gt;
&amp;nbsp;permit tcp host 172.17.1.18 any eq telnet&lt;br /&gt;
&amp;nbsp;permit tcp host 172.16.11.21 any eq 22&lt;br /&gt;
&amp;nbsp;permit tcp host 172.16.11.196 any eq 22&lt;br /&gt;
&amp;nbsp;permit tcp host 172.17.1.27 any eq 22&lt;br /&gt;
&amp;nbsp;permit tcp host 172.17.1.33 any eq 22&lt;br /&gt;
&amp;nbsp;permit tcp host 172.17.1.56 any eq 22&lt;br /&gt;
&amp;nbsp;permit tcp host 192.168.1.25 any eq 22&lt;br /&gt;
&amp;nbsp;permit tcp host 192.168.1.25 any eq telnet&lt;br /&gt;
&amp;nbsp;permit tcp host 192.168.1.28 any eq 22&lt;br /&gt;
&amp;nbsp;permit tcp host 192.168.90.27 any eq 22&lt;br /&gt;
&amp;nbsp;permit tcp host 192.168.90.27 any eq telnet&lt;br /&gt;
&amp;nbsp;permit tcp host 192.168.90.7 any eq 22&lt;br /&gt;
&amp;nbsp;permit tcp 10.91.0.0 0.0.255.255 any eq 22&lt;br /&gt;
&amp;nbsp;permit tcp 10.90.0.0 0.0.255.255 any eq 22&lt;br /&gt;
&lt;br /&gt;
line vty 0 4&lt;br /&gt;
access-class VTY_ACL in&lt;br /&gt;
transport input ssh telnet&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/4673978346691956364/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/4673978346691956364' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/4673978346691956364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/4673978346691956364'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2016/03/cisco-routerswitch-enable-ssh.html' title='Cisco Router/Switch Enable SSH'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-7243852565623108893</id><published>2016-03-09T14:04:00.002+08:00</published><updated>2016-03-09T14:04:55.495+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>xShell使用SSH時出現【WARNING! The remote SSH server rejection agent-forwarding request.】</title><content type='html'>&lt;br /&gt;
使用xShell SSH連線Cisco Switch時輸入完username/password後，會出現&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;【WARNING! The remote SSH server rejection agent-forwarding request.】&lt;/span&gt;&lt;br /&gt;
只需設定SSH Tunneling Forwarding Port即可解決此問題。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9KP968odBUUMdcwdBZ9zCd4VTTrAOQucqvKWkSRf-cQywi6nIj4vJrI51_-ny9N1vy9llteY0KWIk5r3rq3rtmd_dJuYO8dmOFSqPMVPicaHNUUx5qkNl-wVdmcdKaYHB_nr7sOOjQr4/s1600/xShell-SSH1.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;562&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9KP968odBUUMdcwdBZ9zCd4VTTrAOQucqvKWkSRf-cQywi6nIj4vJrI51_-ny9N1vy9llteY0KWIk5r3rq3rtmd_dJuYO8dmOFSqPMVPicaHNUUx5qkNl-wVdmcdKaYHB_nr7sOOjQr4/s640/xShell-SSH1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2xcHacfHdzksxW0gL8EjR7eQMEhtMLYWPiMnEzOZA1b9obAQl2i8vsNtghT2IqmHHpNYE00dFK0VcgowsrLhajxLyjh95GTGg_GCCTk1VyCTCBM0KtEucZMkebyPamuIjNuAtT1P2nV0/s1600/xShell-SSH.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2xcHacfHdzksxW0gL8EjR7eQMEhtMLYWPiMnEzOZA1b9obAQl2i8vsNtghT2IqmHHpNYE00dFK0VcgowsrLhajxLyjh95GTGg_GCCTk1VyCTCBM0KtEucZMkebyPamuIjNuAtT1P2nV0/s640/xShell-SSH.jpg&quot; width=&quot;600&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
reference url:&lt;a href=&quot;https://www.netsarang.com/tutorial/xshell/1018/Using_X11_forwarding&quot;&gt;https://www.netsarang.com/tutorial/xshell/1018/Using_X11_forwarding&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/7243852565623108893/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/7243852565623108893' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/7243852565623108893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/7243852565623108893'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2016/03/xshellsshwarning-remote-ssh-server.html' title='xShell使用SSH時出現【WARNING! The remote SSH server rejection agent-forwarding request.】'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9KP968odBUUMdcwdBZ9zCd4VTTrAOQucqvKWkSRf-cQywi6nIj4vJrI51_-ny9N1vy9llteY0KWIk5r3rq3rtmd_dJuYO8dmOFSqPMVPicaHNUUx5qkNl-wVdmcdKaYHB_nr7sOOjQr4/s72-c/xShell-SSH1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-1400419928770854824</id><published>2016-03-03T17:38:00.001+08:00</published><updated>2016-03-03T17:38:16.873+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco 4507R+E Upgrade IOS-xe Firmware</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Cisco 4507R+E Upgrade IOS-xe Firmware&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
Model：Cisco 4507rpluse&lt;br /&gt;
OS：ios-xe / 03.04.00.SG&lt;br /&gt;
Supervisor：WS-C4507R+E 7 / WS-X45-SUP7L-E&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;# Define ftp server username &amp;amp; password&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;config term&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;ip ftp username tcbnetadmin&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;ip ftp password 7 01070506035D535D701C1950&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;# Use ftp service transfer IOS to flash&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot; /&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;copy ftp://172.17.200.1/CiscoIOS/cat4500e-universalk9.SPA.03.06.03.E.152-2.E3.bin&amp;nbsp;bootflash:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;b style=&quot;background-color: white; color: blue; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;# Verify IOS file&lt;/b&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;verify /md5&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;flash:/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;cat4500e-universalk9.SPA.03.06.03.E.152-2.E3.bin&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: blue; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;# Setup Boot from IOS&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;c2960-lanbasek9-mz.150-2.SE5.bin&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;config term&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot; /&gt;&lt;span style=&quot;background-color: white; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: Verdana, sans-serif;&quot;&gt;boot system flash bootflash:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;cat4500e-universalk9.SPA.03.06.03.E.152-2.E3.bin&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br style=&quot;background-color: white; color: #666666; font-size: 13.2px; line-height: 18.48px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;write&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #666666; font-family: Verdana, sans-serif; font-size: 13.2px; line-height: 18.48px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/1400419928770854824/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/1400419928770854824' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/1400419928770854824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/1400419928770854824'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2016/03/cisco-4507re-upgrade-ios-xe-firmware.html' title='Cisco 4507R+E Upgrade IOS-xe Firmware'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-4185518111252209369</id><published>2015-10-01T20:00:00.000+08:00</published><updated>2015-10-01T20:00:24.339+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco ASA Firewall Allowing SSH Access</title><content type='html'>&lt;br /&gt;
config term&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: white; font-size: 12px;&quot;&gt;&lt;b class=&quot;cBold&quot;&gt;### &lt;/b&gt;&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -54.720001220703125px; white-space: normal;&quot;&gt;Step&amp;nbsp;1&amp;nbsp;&lt;/b&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://www.cisco.com/c/dam/en/us/td/i/templates/blank.gif&quot; height=&quot;2&quot; style=&quot;border: 0px; font-family: Arial, Helvetica, sans-serif; text-indent: -54.720001220703125px; white-space: normal;&quot; width=&quot;5&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -54.720001220703125px; white-space: normal;&quot;&gt;To generate an RSA key pair, which is required for SSH&lt;/span&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;###&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white;&quot;&gt;&lt;pre style=&quot;font-size: 12px;&quot;&gt;&lt;b class=&quot;cBold&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;crypto key generate rsa modulus &lt;i&gt;1024&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 12px;&quot;&gt;&lt;b class=&quot;cBold&quot;&gt;&lt;i&gt;
&lt;/i&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 12px;&quot;&gt;&lt;b class=&quot;cBold&quot;&gt;&lt;i&gt;### &lt;/i&gt;&lt;/b&gt;&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -54.720001220703125px; white-space: normal;&quot;&gt;Step&amp;nbsp;3&amp;nbsp;&lt;/b&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://www.cisco.com/c/dam/en/us/td/i/templates/blank.gif&quot; height=&quot;2&quot; style=&quot;border: 0px; font-family: Arial, Helvetica, sans-serif; text-indent: -54.720001220703125px; white-space: normal;&quot; width=&quot;5&quot; /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -54.720001220703125px; white-space: normal;&quot;&gt;To identify the IP addresses from which the ASA accepts connections&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; text-indent: -54.720001220703125px; white-space: normal;&quot;&gt;&amp;nbsp;###&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 12px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b class=&quot;cBold&quot;&gt;### ssh&lt;/b&gt; &lt;em class=&quot;cEmphasis&quot;&gt;source_IP_address&lt;/em&gt; &lt;em class=&quot;cEmphasis&quot;&gt;mask&lt;/em&gt; &lt;em class=&quot;cEmphasis&quot;&gt;source_interface ###&lt;/em&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;cEmphasis&quot; style=&quot;font-size: 12px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;i&gt;ssh 192.168.1.25 255.255.255.255 INT&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;cEmphasis&quot; style=&quot;font-size: 12px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;i&gt;ssh 192.168.90.27 255.255.255.255 INT&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 12px;&quot;&gt;&lt;b class=&quot;cBold&quot;&gt;&lt;i&gt;
&lt;/i&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: 12px;&quot;&gt;&lt;b class=&quot;cBold&quot;&gt;&lt;i&gt;### Enable login from ssh authentication from console or aaa or LDAP ###&lt;/i&gt;&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;cBold&quot; style=&quot;font-size: 12px;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;aaa authentication ssh console LDAP_SRV_GRP LOCAL&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; font-size: 12px;&quot;&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/4185518111252209369/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/4185518111252209369' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/4185518111252209369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/4185518111252209369'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2015/10/cisco-asa-firewall-allowing-ssh-access.html' title='Cisco ASA Firewall Allowing SSH Access'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-8374783511616267175</id><published>2015-09-15T18:01:00.000+08:00</published><updated>2015-09-15T18:01:10.828+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco password Type 7加密機制不安全,建議改為Type 5(MD5 Hash)</title><content type='html'>&lt;b&gt;Cisco password Type 7加密機制不安全,建議改為Type 5(MD5 Hash)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
依PwC建議Ciscoo Password encrypt type 7為不安全加密方式&lt;br /&gt;
(Type 7是直接對密碼使用OR或XOR進行加密，很容易可以破解)&lt;br /&gt;
建議使用Type 5(MD5 Hash)&lt;br /&gt;
&lt;br /&gt;
###1. Use AAA account login###&lt;br /&gt;
&lt;br /&gt;
config term&lt;br /&gt;
&lt;br /&gt;
###2. Erase Local user account tcbnetadmin(Type 7) ###&lt;br /&gt;
no username tcbnetadmin&lt;br /&gt;
&lt;br /&gt;
###3. Add Local user account tcbnetadmin(Secret Type 5) ###&lt;br /&gt;
username tcbnetadmin privilege 15 secret 5 $1$q7on$cHPb9N257ld8lmU0R4Npd.&lt;br /&gt;
&lt;br /&gt;
###4. Erase enable password(Type 7) ###&lt;br /&gt;
no enable password&lt;br /&gt;
&lt;br /&gt;
###5. Add Enable secret password(Type 5)&lt;br /&gt;
enable secret 5 $1$xCj8$5oqZn6GKMlTn4lOhOAVio.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/8374783511616267175/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/8374783511616267175' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/8374783511616267175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/8374783511616267175'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2015/09/cisco-password-type-7type-5md5-hash.html' title='Cisco password Type 7加密機制不安全,建議改為Type 5(MD5 Hash)'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-6355208810621378193</id><published>2015-08-31T21:34:00.000+08:00</published><updated>2015-08-31T21:34:07.988+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco use Secert 5 MD5 encryption password</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
config term&lt;br /&gt;
&lt;br /&gt;
no enable password&lt;br /&gt;
&lt;br /&gt;
enable secret 5 $1$wF.a$fqKnnKbCWmevxYzmtpnLu1&lt;br /&gt;
&lt;br /&gt;
### Del Cisco type 7 encryption password ###&lt;br /&gt;
no username tcbnetadmin privilege 15 password&lt;br /&gt;
&lt;br /&gt;
### Add Cisco type 5 MD5 encryption password ###&lt;br /&gt;
username tcbnetadmin privilege 15 secret 5 $1$WGXm$iQYYb7vxgUt2.hYqDLm7q.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
###Encryption Password###&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
service password-encryption&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/6355208810621378193/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/6355208810621378193' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/6355208810621378193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/6355208810621378193'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2015/08/cisco-use-secert-5-md5-encryption.html' title='Cisco use Secert 5 MD5 encryption password'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-5178775140207805188</id><published>2015-07-30T14:26:00.001+08:00</published><updated>2016-03-19T10:42:06.670+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco 2811 IOS ipbase-mz.124-24.T6.bin upgrade advsecurityk9-mz.151-4.M10.bin(support IP-SLA)</title><content type='html'>&lt;br /&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
&lt;a href=&quot;http://lesliehsieh.blogspot.tw/2013/12/cisco-2960lanbase-ios-122-44se6-upgrade.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: blue; font-size: small;&quot;&gt;&lt;i&gt;Cisco 2811 IOS ipbase-mz.124-24.T6.bin upgrade advsecurityk9-mz.151-4.M10.bin(support IP-SLA)&lt;/i&gt;&lt;/span&gt;&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 12px; line-height: 1.6; margin: 0px 0px 1.5em;&quot;&gt;
&lt;div class=&quot;post-header-line-1&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-6370081662453928798&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 926px;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;# Define ftp server username &amp;amp; password&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;config term&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;ip ftp username anonymous&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;ip ftp password tcbank&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;exit&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-6370081662453928798&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #666666; font-size: 13px; line-height: 1.4; position: relative; width: 926px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-6370081662453928798&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; position: relative; width: 926px;&quot;&gt;
&lt;b style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;# Del origin IOS&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;c2800nm-ipbase-mz.124-15.T9.bin&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;del /force /recursive flash:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #666666; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;c2800nm-ipbase-mz.124-15.T9.bin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-6370081662453928798&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; position: relative; width: 926px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #666666; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-6370081662453928798&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; position: relative; width: 926px;&quot;&gt;
&lt;b style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;# Del origin IOS&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;b&gt;c2800nm-ipbase-mz.124-24.T6.bin&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;del /force /recursive flash:&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #666666; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;c2800nm-ipbase-mz.124-24.T6.bin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;&lt;b&gt;# Use ftp service transfer IOS to flash&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;copy ftp://172.17.200.1/CiscoIOS/&lt;/span&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;c2800nm-advsecurityk9-mz.151-4.M10.bin&lt;/span&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;&amp;nbsp;flash:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;# Verify IOS file&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;trebuchet ms&amp;quot; , &amp;quot;trebuchet&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif; font-size: xx-small; line-height: 1.4;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;verify /md5&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;flash:/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;c2800nm-advsecurityk9-mz.151-4.M10.bin&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: &amp;quot;trebuchet ms&amp;quot; , &amp;quot;trebuchet&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif; font-size: xx-small; line-height: 1.4;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: xx-small;&quot;&gt;&lt;span style=&quot;line-height: 14px;&quot;&gt;5f49dcc31ad30fb41b1deb4977cd34f0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;trebuchet ms&amp;quot; , &amp;quot;trebuchet&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;# Setup Boot from IOS&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;b&gt;c2800nm-advsecurityk9-mz.151-4.M10.bin&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;config term&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;# Delete old boot config&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;no boot system flash c2800nm-ipbase-mz.124-24.T6.bin&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;# Add New boot config&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;boot system&amp;nbsp;flash&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;c2800nm-advsecurityk9-mz.151-4.M10.bin&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;write&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b style=&quot;color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;# After Reboot SuccessFul&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;color: blue; font-family: Verdana, sans-serif; font-size: 13px; line-height: 1.4;&quot;&gt;# Verify IOS file MD5&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: #666666; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;c2800nm-advsecurityk9-mz.151-4.M10.bin&lt;/span&gt;&lt;span style=&quot;line-height: 1.4;&quot;&gt;&amp;nbsp;==&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;5f49dcc31ad30fb41b1deb4977cd34f0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/5178775140207805188/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/5178775140207805188' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/5178775140207805188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/5178775140207805188'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2015/07/cisco-2811-ios-ipbase-mz124-24t6bin.html' title='Cisco 2811 IOS ipbase-mz.124-24.T6.bin upgrade advsecurityk9-mz.151-4.M10.bin(support IP-SLA)'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-678050323839794565</id><published>2015-07-02T18:16:00.002+08:00</published><updated>2015-07-02T18:18:16.227+08:00</updated><title type='text'>中華電信之合勤ZyXEL數據機的登入帳密</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;header class=&quot;entry-header&quot; style=&quot;color: #373737; font-family: Arial, sans-serif; font-size: 15px; line-height: 23px;&quot;&gt;&lt;h1 class=&quot;entry-title&quot; style=&quot;border: 0px; clear: right; color: #222222; font-family: inherit; font-size: 26px; font-style: inherit; line-height: 1.1em; margin: 0px; outline: 0px; padding: 1px 10px 0.1em 0px; vertical-align: baseline;&quot;&gt;
中華電信之合勤ZyXEL數據機的登入帳密&lt;/h1&gt;
&lt;div class=&quot;entry-meta&quot; style=&quot;border: 0px; clear: right; color: #666666; font-family: inherit; font-size: 12px; font-style: inherit; line-height: 18px; margin: 0px; outline: 0px; padding: 0px 10px 0px 0px; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;sep&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;發表日期：&lt;/span&gt;&lt;a href=&quot;http://blog.fhps.tp.edu.tw/fhpsmis/?p=654&quot; rel=&quot;bookmark&quot; style=&quot;border: 0px; color: #11598f; font-family: inherit; font-style: inherit; font-weight: bold; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; title=&quot;9:24 上午&quot;&gt;&lt;time class=&quot;entry-date&quot; datetime=&quot;2013-04-16T09:24:14+00:00&quot; pubdate=&quot;&quot;&gt;2013 年 04 月 16 日&lt;/time&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/header&gt;&lt;br /&gt;
&lt;div class=&quot;entry-content&quot; style=&quot;border: 0px; color: #373737; font-family: Arial, sans-serif; font-size: 15px; line-height: 23px; margin: 0px; outline: 0px; padding: 1.625em 0px 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
前日幫家人安裝IP Cam，搞半天不知道&lt;span style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;中華電信ATU-R VDSL合勤 D-link 數據機的登入帳密&lt;/span&gt;，google到資料，貼在這供自己和有需要的人參考：&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
數據機登入介面IP&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;http://192.168.1.1&lt;/span&gt;&lt;/strong&gt;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;預設帳號密碼是user/user&lt;br /&gt;&lt;span id=&quot;more-654&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;VDSL 登入帳號/密碼&lt;/strong&gt;&lt;/span&gt;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;北區: cht / cht&lt;span style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;n&lt;/span&gt;vdsl&lt;/strong&gt;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;中區: cht / cht&lt;span style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;c&lt;/span&gt;vdsl&lt;/strong&gt;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;南區: cht / cht&lt;span style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;s&lt;/span&gt;vdsl&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.625em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;em id=&quot;__mceDel&quot; style=&quot;border: 0px; font-family: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ATU-R 登入帳號/密碼&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;北區: cht / cht&lt;/strong&gt;&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;n&lt;/span&gt;adsl&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;中區: cht / cht&lt;span style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;c&lt;/span&gt;adsl&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;南區: cht / cht&lt;span style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;s&lt;/span&gt;adsl&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/678050323839794565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/678050323839794565'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2015/07/zyxel.html' title='中華電信之合勤ZyXEL數據機的登入帳密'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-1105175775461722447</id><published>2015-06-25T20:52:00.003+08:00</published><updated>2016-03-01T18:31:25.745+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco Feature Navigator</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
檢測你需要那一個Cisco IOS版本&lt;br /&gt;
&lt;a href=&quot;http://tools.cisco.com/ITDIT/CFN/jsp/index.jsp&quot;&gt;http://tools.cisco.com/ITDIT/CFN/jsp/index.jsp&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tool 2&lt;br /&gt;
&lt;a href=&quot;https://software.cisco.com/selection/research.html?pid=279343665&amp;amp;sid=280805680#?mode=&amp;amp;tid=&amp;amp;pid=279343665&amp;amp;sid=280805680&amp;amp;cr=&amp;amp;crt=&amp;amp;hid=&amp;amp;fid=&amp;amp;cp=1&quot;&gt;https://software.cisco.com/selection/research.html?pid=279343665&amp;amp;sid=280805680#?mode=&amp;amp;tid=&amp;amp;pid=279343665&amp;amp;sid=280805680&amp;amp;cr=&amp;amp;crt=&amp;amp;hid=&amp;amp;fid=&amp;amp;cp=1&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/1105175775461722447/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/1105175775461722447' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/1105175775461722447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/1105175775461722447'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2015/06/cisco-feature-navigator.html' title='Cisco Feature Navigator'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-7720577107025824672</id><published>2015-04-14T10:31:00.001+08:00</published><updated>2015-12-19T17:36:14.781+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Branch Cisco Router Policy-Based Routing(PBR)</title><content type='html'>Cisco Router 2811&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
config term&lt;br /&gt;
&lt;br /&gt;
### Add Access-List OA-Out-PBR &amp;amp; acl-RouteToDomain ###&lt;br /&gt;
ip access-list extended OA-Out-PBR&lt;br /&gt;
permit ip 172.16.0.0 0.0.255.255 any&lt;br /&gt;
permit ip 172.17.0.0 0.0.255.255 any&lt;br /&gt;
&lt;br /&gt;
ip access-list extended acl-RouteToDomain&lt;br /&gt;
&amp;nbsp;permit ip any host 192.168.1.23&lt;br /&gt;
&amp;nbsp;permit ip any host 192.168.1.24&lt;br /&gt;
&amp;nbsp;permit ip any host 192.168.90.23&lt;br /&gt;
&amp;nbsp;permit ip any host 192.168.90.24&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;### Add ip sla monitor FTTB-Lease ###&lt;br /&gt;
&amp;nbsp;no track 1&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;no ip sla 10&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;ip sla 10&lt;br /&gt;
&amp;nbsp;icmp-echo 10.100.xxx.1 source-interface FastEthernet0/0&lt;br /&gt;
&amp;nbsp;frequency 5&lt;br /&gt;
&lt;br /&gt;
ip sla schedule 10 life forever start-time now&lt;br /&gt;
&lt;br /&gt;
track 1 ip sla 10 reachability&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
### Add Route-map FC ###&lt;br /&gt;
&amp;nbsp;route-map FC permit 9&lt;br /&gt;
&amp;nbsp;match ip address acl-RouteToDomain&lt;br /&gt;
&amp;nbsp;set ip next-hop verify-availability 10.100.xxx.1 1 track 1&lt;br /&gt;
&amp;nbsp;set ip next-hop 10.70.xxx.2&lt;br /&gt;
! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
route-map FC permit 10&lt;br /&gt;
&amp;nbsp;match ip address OA-Out-PBR&lt;br /&gt;
&amp;nbsp;set ip next-hop 10.200.xxx.1&lt;br /&gt;
! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
inte bvi1&lt;br /&gt;
ip policy route-map FC&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/7720577107025824672/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/7720577107025824672' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/7720577107025824672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/7720577107025824672'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2015/04/branch-cisco-router-policy-based.html' title='Branch Cisco Router Policy-Based Routing(PBR)'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-893737674642118033</id><published>2015-02-05T11:13:00.000+08:00</published><updated>2015-04-14T10:22:49.463+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco 1841 Router Stock Qos</title><content type='html'>&lt;br /&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 22px; font-weight: normal; margin: 0.75em 0px 0px; position: relative;&quot;&gt;
Cisco 1841 Router Stock Qos&lt;/h3&gt;
&lt;div class=&quot;post-header&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 12px; line-height: 1.6; margin: 0px 0px 1.5em;&quot;&gt;
&lt;div class=&quot;post-header-line-1&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-8812342791247317844&quot; itemprop=&quot;description articleBody&quot; style=&quot;background-color: white; color: #666666; font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; line-height: 1.4; position: relative; width: 926px;&quot;&gt;
&lt;br /&gt;
1.&lt;br /&gt;
ip access-list extended acl_BranchQos&lt;br /&gt;
&amp;nbsp;10 permit ip host 192.168.1.50 any&lt;br /&gt;
&amp;nbsp;11 permit ip host 192.168.1.52 any&lt;br /&gt;
&amp;nbsp;12 permit ip host 192.168.91.50 any&lt;br /&gt;
&amp;nbsp;20 permit ip host 192.168.1.166 any&lt;br /&gt;
&amp;nbsp;21 permit ip host 192.168.91.166 any&lt;br /&gt;
&amp;nbsp;22 permit ip host 172.16.127.166 any&lt;br /&gt;
&amp;nbsp;remark &quot;(10-Antivirus),(20-FileServer)&quot;&lt;br /&gt;
&lt;br /&gt;
2.&lt;br /&gt;
class-map match-all classmap_BranchQos&lt;br /&gt;
&amp;nbsp;match access-group name acl_BranchQos&lt;br /&gt;
&lt;br /&gt;
3.&lt;br /&gt;
policy-map policymap_BranchQos&lt;br /&gt;
&amp;nbsp;class classmap_BranchQos&lt;br /&gt;
&amp;nbsp; &amp;nbsp;police cir 256000&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;conform-action transmit&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;exceed-action drop&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;violate-action drop&lt;br /&gt;
&lt;br /&gt;
4.&lt;br /&gt;
interface serial0/1/0&lt;br /&gt;
&amp;nbsp;service-policy input policymap_BranchQos&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/893737674642118033/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/893737674642118033' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/893737674642118033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/893737674642118033'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2015/02/cisco-1841-router-stock-qos.html' title='Cisco 1841 Router Stock Qos'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-5432639814756697018</id><published>2014-11-13T22:10:00.002+08:00</published><updated>2017-10-27T11:36:20.263+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>2014-11-13更換CSS11506憑證</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;2014-11-13更換CSS11506憑證&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;i&gt;### Suspend Service ###&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
config term&lt;br /&gt;
&lt;br /&gt;
service backend-server 171&lt;br /&gt;
suspend&lt;br /&gt;
service backend-server 172&lt;br /&gt;
suspend&lt;br /&gt;
service backend-server 175&lt;br /&gt;
suspend&lt;br /&gt;
&lt;br /&gt;
service backend-server 176&lt;br /&gt;
suspend&lt;br /&gt;
&lt;br /&gt;
service SSL_Front_1&lt;br /&gt;
suspend&lt;br /&gt;
service SSL_Front_2&lt;br /&gt;
suspend&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;b&gt;&lt;i&gt;### Suspend ssl-proxy-list ###&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;config term&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
ssl-proxy-list TCBank_PDC_Branch_ssl-accel&lt;br /&gt;
suspend&lt;br /&gt;
&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;b&gt;&lt;i&gt;### Use FTP Upload cert_fcrbrn.2014.cer,cert_fcrbrn_2014.pem ###&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;###Check and Create ftp-record leslie-ftp&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ftp-record leslie-ftp 172.17.1.27 anonymous des-password tcbank&lt;br /&gt;
&lt;br /&gt;
copy ssl ftp leslie-ftp import cert_fcrbrn_2014.cer PEM &quot;password&quot;&lt;br /&gt;
copy ssl ftp leslie-ftp import cert_fcrbrn_2014.pem PEM &quot;password&quot;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;請參考&lt;a href=&quot;http://lesliehsieh.blogspot.tw/2014/11/certificate-convert-to-pem-cer-file.html&quot;&gt;cert.cer與cert.pem的產出方法&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;i&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;### 需先執行下列rsakey與rsacert刪除的動件 ###&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;###config term&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;###&lt;/span&gt;&lt;/div&gt;
###ssl-proxy-list TCBank_PDC_Branch_ssl-accel&lt;br /&gt;
&lt;br /&gt;
no ssl-server 21 rsakey cert_fcrbrn_withrsa&lt;br /&gt;
no ssl-server 21 rsacert cert_fcrbrn_cert&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;CSS11506(config)# no ssl associate cert cert_fcrbrn_cert&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;CSS11506(config)# no ssl associate rsakey cert_fcrbrn_withrsa&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;### 再import RSA certificate and key pair ###&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
ssl associate cert cert_fcrbrn_cert cert_fcrbrn_2011.cer&lt;br /&gt;
ssl associate rsakey cert_fcrbrn_withrsa cert_fcrbrn_2011.pem&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;### 再於ssl-proxy-list TCBank_PDC_Branch_ssl-accel下設定 ###&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
ssl-server 21 rsakey cert_fcrbrn_withrsa&lt;br /&gt;
ssl-server 21 rsacert cert_fcrbrn_cert&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;i&gt;### Active ssl-proxy-list ###&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
config term&lt;br /&gt;
ssl-proxy-list TCBank_PDC_Branch_ssl-accel&lt;br /&gt;
active&lt;br /&gt;
exit&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;i&gt;### Active service &amp;amp; SSL_Front_1 &amp;amp; 2###&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
service backend-server 171&lt;br /&gt;
active&lt;br /&gt;
service backend-server 172&lt;br /&gt;
active&lt;br /&gt;
service backend-server 175&lt;br /&gt;
active&lt;br /&gt;
&lt;br /&gt;
service backend-server 176&lt;br /&gt;
active&lt;br /&gt;
&lt;br /&gt;
service SSL_Front_1&lt;br /&gt;
active&lt;br /&gt;
service SSL_Front_2&lt;br /&gt;
active</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/5432639814756697018/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/5432639814756697018' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/5432639814756697018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/5432639814756697018'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2014/11/2014-11-13css11506.html' title='2014-11-13更換CSS11506憑證'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-1938219406439259804</id><published>2014-11-13T21:36:00.004+08:00</published><updated>2014-11-13T22:59:33.039+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Certificate convert to .pem &amp; .cer file</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;i&gt;Certificate .pfx file convert to .pem &amp;amp; .cer file&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div align=&quot;left&quot; class=&quot;MsoTitle&quot; style=&quot;margin-left: 24pt; text-indent: -24pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;i style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;1.&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: 新細明體, serif;&quot;&gt;下載&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;OpenSSL&lt;/span&gt;&lt;span style=&quot;font-family: 新細明體, serif;&quot;&gt;軟體&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;a href=&quot;https://slproweb.com/products/Win32OpenSSL.html&quot;&gt;https://slproweb.com/products/Win32OpenSSL.html&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;MsoTitle&quot; style=&quot;margin-left: 24pt; text-indent: -24pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;i&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;2.&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-font-family: Cambria; mso-ascii-theme-font: major-latin; mso-hansi-font-family: Cambria; mso-hansi-theme-font: major-latin;&quot;&gt;安裝&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;OpenSSL &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-font-family: Cambria; mso-ascii-theme-font: major-latin; mso-hansi-font-family: Cambria; mso-hansi-theme-font: major-latin;&quot;&gt;軟體&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;Win64OpenSSL-1_0_1j.exe&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; class=&quot;MsoTitle&quot; style=&quot;margin-left: 24pt; text-indent: -24pt;&quot;&gt;
&lt;!--[if !supportLists]--&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;3.&lt;span style=&quot;font-size: 7pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-font-family: Cambria; mso-ascii-theme-font: major-latin; mso-hansi-font-family: Cambria; mso-hansi-theme-font: major-latin;&quot;&gt;下指令&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 新細明體; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;由一個&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt; pfx key &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 新細明體; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;產生&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt; PEM &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;新細明體&amp;quot;,&amp;quot;serif&amp;quot;; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 新細明體; mso-fareast-theme-font: minor-fareast; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin;&quot;&gt;與&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt; CER Key&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;openssl pkcs12 -in Brn.pfx -nodes -out
server.pem&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;openssl rsa -in server.pem -out server.key&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;openssl x509 -in server.pem -out server.cer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot;&gt;======================================================&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, tahoma, arial, sans-serif; font-size: 12px; line-height: 19.453125px; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; text-decoration: underline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;PEM Format&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;It is the most common format that Certificate Authorities issue certificates in. It contains the ‘—–BEGIN CERTIFICATE—–” and “—–END CERTIFICATE—–” statements.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Several PEM certificates and even the Private key can be included in one file, one below the other. But most platforms(eg:- Apache) expects the certificates and Private key to be in separate files.&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt; They are &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Base64 encoded ACII files&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt; They have extensions such as .pem, .crt, .cer, .key&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Apache and similar servers&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt; uses PEM format certificates&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; text-decoration: underline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;DER Format&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;It is a Binary form of ASCII PEM format certificate. All types of Certificates &amp;amp; Private Keys can be encoded in DER format&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&amp;gt; They are Binary format files&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&amp;gt; They have extensions .cer &amp;amp; .der&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;DER is typically used in Java platform&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; text-decoration: underline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;P7B/PKCS#7&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;They contain “—–BEGIN PKCS—–” &amp;amp; “—–END PKCS7—–” statements. It can contain only Certificates &amp;amp; Chain certificates but not the Private key.&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&amp;gt; They are Base64 encoded ASCII files&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&amp;gt; They have extensions .p7b, .p7c&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Several platforms supports it. eg:- Windows OS, Java Tomcat&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; text-decoration: underline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;PFX/PKCS#12&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;They are used for storing the Server certificate, any Intermediate certificates &amp;amp; Private key in one encryptable file.&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;They are Binary format files&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt; They have extensions .pfx, .p12&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Typically used on Windows OS to import and export certificates and Private keys&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Converting Certificates between different Formats&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; text-decoration: underline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;PEM&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;em style=&quot;margin: 0px; padding: 0px;&quot;&gt;Convert PEM to DER&lt;/em&gt;&lt;/strong&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;—————————————————————————————————–&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;$ openssl x509 -outform der -in&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.pem&lt;/span&gt;&amp;nbsp;-out&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.der&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;—————————————————————————————————–&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;em style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Convert PEM to P7B&lt;/strong&gt;&lt;/em&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;———————————————————————————————————————————&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;$ openssl crl2pkcs7 -nocrl -certfile&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.cer&lt;/span&gt;&amp;nbsp;-out&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.p7b&lt;/span&gt;&amp;nbsp;-certfile&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;CAcert.cer&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;———————————————————————————————————————————-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;em style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Convert PEM to PFX&lt;/strong&gt;&lt;/em&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;——————————————————————————————————————————————————&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;$ openssl pkcs12 -export -out&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.pfx&lt;/span&gt;&amp;nbsp;-inkey&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;privateKey.key&lt;/span&gt;&amp;nbsp;-in&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.crt&lt;/span&gt;&amp;nbsp;-certfile&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;CAcert.crt&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;——————————————————————————————————————————————————&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; text-decoration: underline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;DER&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;em style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Convert DER to PEM&lt;/strong&gt;&lt;/em&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;————————————————————————————————–&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;$ openssl x509 -inform der -in&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.cer&lt;/span&gt;&amp;nbsp;-out&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.pem&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;————————————————————————————————–&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; text-decoration: underline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;P7B&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;em style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Convert P7B to PEM&lt;/strong&gt;&lt;/em&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;————————————————————————————————-&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;$ openssl pkcs7 -print_certs -in&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.p7b&lt;/span&gt;&amp;nbsp;-out&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.cer&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;————————————————————————————————-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;em style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Convert P7B to PFX&lt;/strong&gt;&lt;/em&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;——————————————————————————————————————————————————-&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;$ openssl pkcs7 -print_certs -in&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.p7b&lt;/span&gt;&amp;nbsp;-out&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.cer&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;$ openssl pkcs12 -export -in&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.cer&lt;/span&gt;&amp;nbsp;-inkey&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;privateKey.key&lt;/span&gt;&amp;nbsp;-out&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.pfx&lt;/span&gt;&amp;nbsp;-certfile&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;CAcert.cer&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;——————————————————————————————————————————————————-&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333; margin: 0px; padding: 0px; text-decoration: underline;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;PFX&lt;/strong&gt;&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;em style=&quot;color: #333333; margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Convert PFX to PEM&lt;/strong&gt;&lt;/em&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;color: #333333;&quot;&gt;——————————————————————————————–&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;color: blue;&quot;&gt;$ openssl pkcs12 -in&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.pfx&lt;/span&gt;&amp;nbsp;-out&amp;nbsp;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;certificate.cer&lt;/span&gt;&amp;nbsp;-nodes&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;color: #333333;&quot;&gt;——————————————————————————————–&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;NOTE:&lt;/strong&gt;&amp;nbsp;While converting PFX to PEM format, openssl will put all the &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;Certificates and Private Key into a single file&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;. You will need to open the file in Text editor and copy each Certificate &amp;amp; Private key(including the BEGIN/END statements) to its own individual text file and save them as&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;color: #333333; margin: 0px; padding: 0px;&quot;&gt;certificate.cer&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;color: #333333; margin: 0px; padding: 0px;&quot;&gt;CAcert.cer&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;skimlinks-unlinked&quot; style=&quot;color: #333333; margin: 0px; padding: 0px;&quot;&gt;privateKey.key&lt;/span&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp;respectively.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.7em; margin-top: 0.7em; padding: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;em style=&quot;color: #333333; margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Extraction Private Key From PEM&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;b&gt;&lt;i&gt;Method 1 -- use openssl&lt;/i&gt;&lt;/b&gt;——————————————————————————————–&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;color: blue;&quot;&gt;$&amp;nbsp;openssl x509 -in server.pem -out server.cer&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;——————————————————————————————–&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Method 2 -- &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2.1 Install .pfx file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; 2.2 Open Certificate -&amp;gt; Detail -&amp;gt; copy to file&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;span style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span lang=&quot;EN-US&quot;&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/1938219406439259804/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/1938219406439259804' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/1938219406439259804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/1938219406439259804'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2014/11/certificate-convert-to-pem-cer-file.html' title='Certificate convert to .pem &amp; .cer file'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-8812342791247317844</id><published>2014-10-03T18:13:00.001+08:00</published><updated>2015-08-10T18:18:42.790+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>Cisco 2811 Router Branch Qos</title><content type='html'>&lt;br /&gt;
1.&lt;br /&gt;
ip access-list extended acl_BranchQos&lt;br /&gt;
&amp;nbsp;10 permit ip host 192.168.1.50 any&lt;br /&gt;
&amp;nbsp;11 permit ip host 192.168.1.52 any&lt;br /&gt;
&amp;nbsp;12 permit ip host 192.168.91.50 any&lt;br /&gt;
&amp;nbsp;13 permit ip host 192.168.1.60 any&lt;br /&gt;
&amp;nbsp;20 permit ip host 192.168.1.166 any&lt;br /&gt;
&amp;nbsp;21 permit ip host 192.168.91.166 any&lt;br /&gt;
&amp;nbsp;22 permit ip host 172.16.127.166 any&lt;br /&gt;
&amp;nbsp;remark &quot;(10-Antivirus),(20-FileServer)&quot;&lt;br /&gt;
&lt;br /&gt;
2.&lt;br /&gt;
class-map match-all classmap_BranchQos&lt;br /&gt;
&amp;nbsp;match access-group name acl_BranchQos&lt;br /&gt;
&lt;br /&gt;
3.&lt;br /&gt;
policy-map policymap_BranchQos&lt;br /&gt;
&amp;nbsp;class classmap_BranchQos&lt;br /&gt;
&amp;nbsp; &amp;nbsp;police cir 1000000&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;conform-action transmit&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;exceed-action drop&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;violate-action drop&lt;br /&gt;
&lt;br /&gt;
4.&lt;br /&gt;
interface FastEthernet0/0&lt;br /&gt;
&amp;nbsp;service-policy input policymap_BranchQos&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/8812342791247317844/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/8812342791247317844' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/8812342791247317844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/8812342791247317844'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2014/10/cisco-2811-router-branch-qos.html' title='Cisco 2811 Router Branch Qos'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-6822457695092204344</id><published>2014-09-23T14:39:00.001+08:00</published><updated>2016-05-11T18:59:26.018+08:00</updated><title type='text'>FortiGate Firewall Debug command</title><content type='html'>&lt;span class=&quot;left&quot; style=&quot;font-family: 微軟正黑體; font-size: 9pt;&quot;&gt;config vdom&lt;br /&gt;edit i-Pass_VDOM&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;FortiGate Firewall Debug command&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: 微軟正黑體;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;Method 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;left&quot; style=&quot;font-family: 微軟正黑體; font-size: 9pt;&quot;&gt;diagnose sniffer packet any &#39;host 192.168.102.19&#39;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 12px;&quot;&gt;Method 2&lt;/span&gt;&lt;br /&gt;
diag debug flow filter clear&lt;br /&gt;diag debug flow filter addr 192.168.90.23&lt;br /&gt;diag debug flow show console enable&lt;br /&gt;diag debug flow trace start 20&lt;br /&gt;diag debug enable&lt;br /&gt;
&lt;table&gt;&lt;/table&gt;
&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;table&gt;
&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/6822457695092204344/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/6822457695092204344' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/6822457695092204344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/6822457695092204344'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2014/09/fortigate-firewall-debug-command.html' title='FortiGate Firewall Debug command'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-3400093197139306985</id><published>2014-08-13T15:34:00.002+08:00</published><updated>2014-08-13T15:34:58.483+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><title type='text'>【Cisco EEM】Shutdown ISDN at Daily 18:00</title><content type='html'>使用Cisco EEM applet星期一至星期五自動shutdown isdn interface BRI0/0/0&lt;br /&gt;
&lt;br /&gt;
=====================Cisco Router 1841 Configure=====================&lt;br /&gt;
event manager applet ShutdownISDN&lt;br /&gt;
&amp;nbsp;event timer cron name MonFri cron-entry &quot;0 18 * * 1-5&quot;&lt;br /&gt;
&amp;nbsp;action 1 cli command &quot;enable&quot;&lt;br /&gt;
&amp;nbsp;action 2 cli command &quot;config term&quot;&lt;br /&gt;
&amp;nbsp;action 3 cli command &quot;interface bri0/0/0&quot;&lt;br /&gt;
&amp;nbsp;action 4 cli command &quot;shutdown&quot;&lt;br /&gt;
&amp;nbsp;action 5 cli command &quot;end&quot;&lt;br /&gt;
&amp;nbsp;action 6 syslog msg &quot;Shutdown BRI0/0/0 at 18:00&quot;&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
=====================Show EEM policy registered=====================&lt;br /&gt;
TCB2NCCC#show event manager policy registered&lt;br /&gt;
&lt;br /&gt;
No. &amp;nbsp;Class &amp;nbsp; Type &amp;nbsp; &amp;nbsp;Event Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Trap &amp;nbsp;Time Registered &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Name&lt;br /&gt;
1 &amp;nbsp; &amp;nbsp;applet &amp;nbsp;system &amp;nbsp;timer cron &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Off &amp;nbsp; Wed Aug 13 15:28:41 2014 &amp;nbsp;ShutdownISDN&lt;br /&gt;
&amp;nbsp;name {MonFri} cron entry {0 18 * * 1-5}&lt;br /&gt;
&amp;nbsp;action 1 cli command &quot;enable&quot;&lt;br /&gt;
&amp;nbsp;action 2 cli command &quot;config term&quot;&lt;br /&gt;
&amp;nbsp;action 3 cli command &quot;interface bri0/0/0&quot;&lt;br /&gt;
&amp;nbsp;action 4 cli command &quot;shutdown&quot;&lt;br /&gt;
&amp;nbsp;action 5 cli command &quot;end&quot;&lt;br /&gt;
&amp;nbsp;action 6 syslog msg &quot;Shutdown BRI0/0/0 at 18:00&quot;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/3400093197139306985/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/3400093197139306985' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/3400093197139306985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/3400093197139306985'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2014/08/cisco-eemshutdown-isdn-at-daily-1800.html' title='【Cisco EEM】Shutdown ISDN at Daily 18:00'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-7273037465063681793</id><published>2014-08-05T11:07:00.002+08:00</published><updated>2014-08-05T11:07:37.271+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cacti"/><title type='text'>【Cacti】導入模板報錯 Error: XML: Hash version does not exist.</title><content type='html'>&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: white; color: #333333; line-height: 25px;&quot;&gt;將新版本到處的cacti模板導入到舊版本的時候，就會報Error: XML: Hash version does not exist.，&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; line-height: 25px;&quot;&gt;解决的辦法是修改xml裏面的相關hash值就可以了。&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; line-height: 25px;&quot;&gt;以下是cacti xml hash的一些說明：&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px;&quot;&gt;Take the following example:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px;&quot;&gt;&lt;hash_04 span=&quot;&quot;&gt;&lt;strong style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;color: red; list-style-type: none; margin: 0px; padding: 0px;&quot;&gt;0018&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px;&quot;&gt;258d1c9487a6c58dd804f4a012007664&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px;&quot;&gt;The first 2 digits are the type of the template.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px;&quot;&gt;The next 4 digits are the Cacti version it was created on.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px;&quot;&gt;The next 32 digits are a random number.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;/hash_04&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;java&quot; name=&quot;code&quot; style=&quot;background-color: #f7f7f7; color: #333333; font-family: &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 25px; list-style-type: none; margin-bottom: 1em; overflow: auto; padding: 0px; width: 669.234375px;&quot;&gt;&quot;0.8.4&quot;  =&amp;gt; &quot;0000&quot;,    
&quot;0.8.5&quot;  =&amp;gt; &quot;0001&quot;,    
&quot;0.8.5a&quot; =&amp;gt; &quot;0002&quot;,    
&quot;0.8.6&quot;  =&amp;gt; &quot;0003&quot;,    
&quot;0.8.6a&quot; =&amp;gt; &quot;0004&quot;,    
&quot;0.8.6b&quot; =&amp;gt; &quot;0005&quot;,    
&quot;0.8.6c&quot; =&amp;gt; &quot;0006&quot;,    
&quot;0.8.6d&quot; =&amp;gt; &quot;0007&quot;,    
&quot;0.8.6e&quot; =&amp;gt; &quot;0008&quot;,    
&quot;0.8.6f&quot; =&amp;gt; &quot;0009&quot;,    
&quot;0.8.6g&quot; =&amp;gt; &quot;0010&quot;,    
&quot;0.8.6h&quot; =&amp;gt; &quot;0011&quot;,    
&quot;0.8.6i&quot; =&amp;gt; &quot;0012&quot;,    
&quot;0.8.6j&quot; =&amp;gt; &quot;0013&quot;,    
&quot;0.8.7&quot;  =&amp;gt; &quot;0014&quot;,    
&quot;0.8.7a&quot; =&amp;gt; &quot;0015&quot;,    
&quot;0.8.7b&quot; =&amp;gt; &quot;0016&quot;,    
&quot;0.8.7c&quot; =&amp;gt; &quot;0017&quot;,    
&quot;0.8.7d&quot; =&amp;gt; &quot;0018&quot;   
&quot;0.8.7e&quot; =&amp;gt; &quot;0019&quot;   
&lt;/pre&gt;
&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px;&quot;&gt;For the example above, this template was exported with Cacti 0.8.7d.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px; list-style-type: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Verdana, Arial, Tahoma; font-size: 14px; line-height: 25px;&quot;&gt;所以需要導入新版cacti模板的時候，只需要修改hash裏面的version相關字段即可。&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/7273037465063681793/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/7273037465063681793' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/7273037465063681793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/7273037465063681793'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2014/08/cacti-error-xml-hash-version-does-not.html' title='【Cacti】導入模板報錯 Error: XML: Hash version does not exist.'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-5654957882629421296</id><published>2014-08-05T09:53:00.003+08:00</published><updated>2014-08-05T09:53:56.495+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>【Thecus N16000Pro】rSyslog</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;### &amp;nbsp; ps | grep rsyslog ###&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
# ps | grep rsyslog&lt;br /&gt;
11595 root &amp;nbsp; &amp;nbsp; &amp;nbsp;311m S &amp;nbsp; &amp;nbsp;/raid/data/module/rSyslog/system/sbin/rsyslogd -x -c5&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;### &amp;nbsp; cat /raid/data/module/rSyslog/system/etc/rsyslog-user.conf &amp;nbsp; ###&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
##&lt;br /&gt;
## User configuration managed through the web UI&lt;br /&gt;
##&lt;br /&gt;
## Create a share or use an existing share and replace /PATH/TO/SHARE with the actual path&lt;br /&gt;
## to the share. If the share resides on the master RAID the path would be&lt;br /&gt;
## &quot;/raid/data/SHARENMAME&quot; with SHARENAME being the name of the share.&lt;br /&gt;
##&lt;br /&gt;
## !!! Avoid spaces in the share name !!!&lt;br /&gt;
##&lt;br /&gt;
## The following modules are pre-loaded from the main configuration file:&lt;br /&gt;
##&lt;br /&gt;
## &amp;nbsp; &amp;nbsp; immark&lt;br /&gt;
## &amp;nbsp; &amp;nbsp; imuxsock&lt;br /&gt;
## &amp;nbsp; &amp;nbsp; imklog&lt;br /&gt;
##&lt;br /&gt;
&lt;br /&gt;
### COMMENT OUT OR REMOVE THE LINE BELOW WHEN YOU FINISHED CONFIGURATION ###&lt;br /&gt;
#NotYetConfigured&lt;br /&gt;
if $source == &#39;TP-N16000PRO&#39; and $syslogseverity &amp;lt;= &#39;6&#39; then /raid/data/log/messages&lt;br /&gt;
# Log anything (except mail) of level info or higher. Don&#39;t log private authentication messages!&lt;br /&gt;
#*.info;mail.none;authpriv.none;cron.none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-/raid/data/log/messages&lt;br /&gt;
&lt;br /&gt;
# The authpriv file has restricted access.&lt;br /&gt;
authpriv.* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /raid/data/log/secure&lt;br /&gt;
&lt;br /&gt;
# Log all the mail messages in one place.&lt;br /&gt;
mail.* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-/raid/data/log/maillog&lt;br /&gt;
&lt;br /&gt;
# Log cron stuff&lt;br /&gt;
cron.* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-/raid/data/log/cron&lt;br /&gt;
&lt;br /&gt;
## ######### Receiving Messages from Remote Hosts ##########&lt;br /&gt;
## TCP Syslog Server: provides TCP syslog reception&lt;br /&gt;
#$ModLoad imtcp&lt;br /&gt;
#$InputTCPServerRun 514 # start up TCP listener at port 514&lt;br /&gt;
&lt;br /&gt;
## UDP Syslog Server: provides UDP syslog reception&lt;br /&gt;
$ModLoad imudp&lt;br /&gt;
$UDPServerRun 514 # start a UDP syslog server at standard port 514&lt;br /&gt;
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat&lt;br /&gt;
$RepeatedMsgReduction on&lt;br /&gt;
$AllowedSender UDP, 127.0.0.1, 10.90.90.245/32, 10.90.90.210/32, 192.168.90.254/32, 10.172.26.244/32, 192.168.14.252/32, 172.16.127.244/32, 10.211.0.88, 10.211.0.89, 10.211.0.250&lt;br /&gt;
&lt;br /&gt;
$template tpe-asa5550,&quot;/raid/data/syslog/tpe-asa5550/tpe-asa5550-%$YEAR%%$MONTH%%$DAY%.log&quot;&lt;br /&gt;
if $fromhost-ip == &#39;10.90.90.245&#39; then -?tpe-asa5550&lt;br /&gt;
&lt;br /&gt;
$template tpe-F800,&quot;/raid/data/syslog/tpe-F800/tpe-F800-%$YEAR%%$MONTH%%$DAY%.log&quot;&lt;br /&gt;
if $fromhost-ip == &#39;10.90.90.210&#39; then -?tpe-F800&lt;br /&gt;
&lt;br /&gt;
$template tpe-E8500,&quot;/raid/data/syslog/tpe-E8500/tpe-E8500-%$YEAR%%$MONTH%%$DAY%.log&quot;&lt;br /&gt;
if $fromhost-ip == &#39;192.168.90.254&#39; then -?tpe-E8500&lt;br /&gt;
&lt;br /&gt;
$template tpe-E2400,&quot;/raid/data/syslog/tpe-E2400/tpe-E2400-%$YEAR%%$MONTH%%$DAY%.log&quot;&lt;br /&gt;
if $fromhost-ip == &#39;10.172.26.244&#39; then -?tpe-E2400&lt;br /&gt;
&lt;br /&gt;
$template tpe-014pix,&quot;/raid/data/syslog/tpe-014pix/tpe-014pix-%$YEAR%%$MONTH%%$DAY%.log&quot;&lt;br /&gt;
if $fromhost-ip == &#39;192.168.14.252&#39; then -?tpe-014pix&lt;br /&gt;
&lt;br /&gt;
$template tpe-hqpix,&quot;/raid/data/syslog/tpe-hqpix/tpe-hqpix-%$YEAR%%$MONTH%%$DAY%.log&quot;&lt;br /&gt;
if $fromhost-ip == &#39;172.16.127.244&#39; then -?tpe-hqpix&lt;br /&gt;
&lt;br /&gt;
$template tpe-4506-01,&quot;/raid/data/syslog/tpe-4506-01/tpe-4506-01-%$YEAR%%$MONTH%%$DAY%.log&quot;&lt;br /&gt;
if $fromhost-ip == &#39;10.211.0.88&#39; then -?tpe-4506-01&lt;br /&gt;
&lt;br /&gt;
$template tpe-4506-02,&quot;/raid/data/syslog/tpe-4506-02/tpe-4506-02-%$YEAR%%$MONTH%%$DAY%.log&quot;&lt;br /&gt;
if $fromhost-ip == &#39;10.211.0.89&#39; then -?tpe-4506-02&lt;br /&gt;
&lt;br /&gt;
$template tpe-7609,&quot;/raid/data/syslog/tpe-7609/tpe-7609-%$YEAR%%$MONTH%%$DAY%.log&quot;&lt;br /&gt;
if $fromhost-ip == &#39;10.211.0.250&#39; then -?tpe-7609&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/5654957882629421296/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/5654957882629421296' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/5654957882629421296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/5654957882629421296'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2014/08/thecus-n16000prorsyslog.html' title='【Thecus N16000Pro】rSyslog'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-1740446599727855362</id><published>2014-08-05T09:37:00.001+08:00</published><updated>2014-08-05T09:37:42.380+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>【Thecus N16000Pro】/raid/data/log/dailytar.sh</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cat dailytar.sh&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
cd /raid/syslog/tpe-asa5550/&lt;br /&gt;
fname=`find -mmin +1 -type f -name &#39;*.log&#39;`&lt;br /&gt;
md5sum $fname &amp;gt; $fname.md5&lt;br /&gt;
tar -zcvf $fname.tar.gz $fname* --remove-files&lt;br /&gt;
md5sum $fname.tar.gz &amp;gt; $fname.tar.gz.md5&lt;br /&gt;
cd /raid/syslog/tpe-F800/&lt;br /&gt;
fname=`find -mmin +1 -type f -name &#39;*.log&#39;`&lt;br /&gt;
md5sum $fname &amp;gt; $fname.md5&lt;br /&gt;
tar -zcvf $fname.tar.gz $fname* --remove-files&lt;br /&gt;
md5sum $fname.tar.gz &amp;gt; $fname.tar.gz.md5&lt;br /&gt;
cd /raid/syslog/tpe-E8500/&lt;br /&gt;
fname=`find -mmin +1 -type f -name &#39;*.log&#39;`&lt;br /&gt;
md5sum $fname &amp;gt; $fname.md5&lt;br /&gt;
tar -zcvf $fname.tar.gz $fname* --remove-files&lt;br /&gt;
md5sum $fname.tar.gz &amp;gt; $fname.tar.gz.md5&lt;br /&gt;
cd /raid/data/syslog/tpe-E2400/&lt;br /&gt;
fname=`find -mmin +1 -type f -name &#39;*.log&#39;`&lt;br /&gt;
md5sum $fname &amp;gt; $fname.md5&lt;br /&gt;
tar -zcvf $fname.tar.gz $fname* --remove-files&lt;br /&gt;
md5sum $fname.tar.gz &amp;gt; $fname.tar.gz.md5&lt;br /&gt;
cd /raid0/data/syslog/tpe-hqpix/&lt;br /&gt;
fname=`find -mmin +1 -type f -name &#39;*.log&#39;`&lt;br /&gt;
md5sum $fname &amp;gt; $fname.md5&lt;br /&gt;
tar -zcvf $fname.tar.gz $fname* --remove-files&lt;br /&gt;
md5sum $fname.tar.gz &amp;gt; $fname.tar.gz.md5&lt;br /&gt;
cd /raid0/data/syslog/tpe-014pix/&lt;br /&gt;
fname=`find -mmin +1 -type f -name &#39;*.log&#39;`&lt;br /&gt;
md5sum $fname &amp;gt; $fname.md5&lt;br /&gt;
tar -zcvf $fname.tar.gz $fname* --remove-files&lt;br /&gt;
md5sum $fname.tar.gz &amp;gt; $fname.tar.gz.md5&lt;br /&gt;
cd /raid0/data/syslog/tpe-4506-01/&lt;br /&gt;
fname=`find -mmin +1 -type f -name &#39;*.log&#39;`&lt;br /&gt;
md5sum $fname &amp;gt; $fname.md5&lt;br /&gt;
tar -zcvf $fname.tar.gz $fname* --remove-files&lt;br /&gt;
md5sum $fname.tar.gz &amp;gt; $fname.tar.gz.md5&lt;br /&gt;
cd /raid0/data/syslog/tpe-4506-02/&lt;br /&gt;
fname=`find -mmin +1 -type f -name &#39;*.log&#39;`&lt;br /&gt;
md5sum $fname &amp;gt; $fname.md5&lt;br /&gt;
tar -zcvf $fname.tar.gz $fname* --remove-files&lt;br /&gt;
md5sum $fname.tar.gz &amp;gt; $fname.tar.gz.md5&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
cd /raid0/data/syslog/tpe-7609/&lt;/div&gt;
&lt;div&gt;
fname=`find -mmin +1 -type f -name &#39;*.log&#39;`&lt;/div&gt;
&lt;div&gt;
md5sum $fname &amp;gt; $fname.md5&lt;/div&gt;
&lt;div&gt;
tar -zcvf $fname.tar.gz $fname* --remove-files&lt;/div&gt;
&lt;div&gt;
md5sum $fname.tar.gz &amp;gt; $fname.tar.gz.md5&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/1740446599727855362/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/1740446599727855362' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/1740446599727855362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/1740446599727855362'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2014/08/thecus-n16000proraiddatalogdailytarsh.html' title='【Thecus N16000Pro】/raid/data/log/dailytar.sh'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7907625078643816377.post-4192535219692156362</id><published>2014-07-28T20:38:00.002+08:00</published><updated>2014-07-28T20:38:39.528+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Linux Command</title><content type='html'>&lt;br /&gt;
TP-N16000PRO:/# uname -mrs&lt;br /&gt;
Linux 3.4.45 x86_64&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://lesliehsieh.blogspot.com/feeds/4192535219692156362/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7907625078643816377/4192535219692156362' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/4192535219692156362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7907625078643816377/posts/default/4192535219692156362'/><link rel='alternate' type='text/html' href='http://lesliehsieh.blogspot.com/2014/07/linux-command.html' title='Linux Command'/><author><name>^_^</name><uri>http://www.blogger.com/profile/07721127648527755193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>