發表文章

目前顯示的是 7月, 2007的文章

Cisco Switch學習筆記: EtherChannel

EtherChannel : 用來將二個交換器之間多條實體線路串成一條虛擬線路, 具有增加頻寬, 容錯的好處。 注意事項: FastEthernet只能和FastEthernet的埠串在一起, Giga只能和Giga的串在一起, 不可混在一起! 使用的協定 : PAgP(Port Aggregation Protocol) or LACP(Link Aggregation Control Protocol) 負載平衡及傳送方法 : source-MAC address, destination-MAC address, source-and-destination MAC address forwarding; 即以來源端MAC位址決定使用那條實體線路, 以目的端MAC位址決定使用那條線路, 以來源端及目的端MAC位址決定使用那條線路。 使用心得: 容錯能力很好, 實體線路中斷, 可以在數秒內切換至別條線路使用。 設定範例 : interface FastEthernet0/7 channel-group 1 mode passive interface FastEthernet0/8 channel-group 1 mode passive 表示將Fa0/7,Fa0/8設成同一個group, 使用LACP的被動模式! 將另一邊的埠也以同樣方式設定, 但mode設成active即可! 檢視狀態: sh etherchannel detail sh etherchannel load-balance sh etherchannel port sh etherchannel port-channel sh etherchannel protocol sh etherchannel summary 可以看到只要使用interface指令channel-group就可以設定了, 交換器會自己新增一個interface: interface Port-channel1 其他的功能會將這個介面當成如實體介面一樣使用, 例如: #sh spanning-tree Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- --------------------------

設定Sendmail為SMTP AUTH的Client 

為了使公司內的同仁在寄信時有個驗證的過程, 以避免有人使用別人的帳號來寄信! 所以我們將郵件主機(Domino)的SMTP驗證打開。 但這樣外部的信件也就無法寄到我們的郵件主機了, 因為外部的信件其實是先到我們的郵件匣道主機, 所以想到將匣道主機的Sendmail設定成在碰到SMTP AUTH時, 使用一組帳號密碼進行驗證的動作, 就可以將外部信件給寄進來了。 在網路上找到方法: http://www.sendmail.org/~ca/email/auth.html Using sendmail as a client with AUTH