helloworld

網路線插上25/26 port沒有反應,

原來是光纖模組和RJ-45的孔是共用的,同時只能有一個連線

所以預設是光纖模組可以運作,RJ-45的孔是shutdown

修改設定如下

<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]interface GigabitEthernet 1/0/27 (這一個port是面板上面看到的25port)
[4500-GigabitEthernet1/0/25]undo shutdown
 Warning: the combo ports will be available after the switch rebooting and the
 configuration on unit1 will be saved automatically before rebooting, are you
 sure to switch combo ports on unit1? [Y/N] y
 The unit1 will reboot after few minutes,please wait...

之後系統會自動重開機,開完之後就可以用了,因為有兩個giga port要改,所以需要重開機兩次

helloworld 發表在 痞客邦 留言(1) 人氣()

以往同步檔案的時候通常client無法得知source有哪些檔案備異動過
所以透過rsync跟source端要資料時,需要將一整個目錄重新比對過,然後將有異動的部分複製到目的端
透過lsyncd+rsync則是在source端有異動資料的時候,主動透過rsync將異動的部分丟到目的端

測試平台 CentOS 5.5

來源端 10.0.0.1
安裝rsync+lsyncd
yum -y install lsyncd

啟動lsyncd
lsyncd /home/mirror/ 10.0.0.2::mirror/
/home/mirror 為要監控的來源目錄,10.0.0.2::mirror 則是遠端要更新的路徑


目的端 10.0.0.2
編輯 /etc/rsyncd.conf
[mirror]
   path = /home/mirror
   hosts allow = 10.0.0.1
   read only = no
   commect = mirror from 10.0.0.1

安裝xinetd並讓rsync可以透過xinetd可以被呼叫
yum -y install xinetd
vi /etc/inetd.d/rsync
disable = yes 改成 disable = no
service xinetd restart

這樣就可以運作了,試著將source的目錄做一些異動看看唄

可以觀察到SRC端的process,會針對有異動的目錄進行同步到DEST端,不會把一個目錄全部比對一次
/usr/bin/rsync --delete -ltd /home/mirror//test1/ 10.0.0.2::mirror//test1/

以及DEST端的process
rsync --daemon


helloworld 發表在 痞客邦 留言(0) 人氣()

$ ssh -N -f -g -L 8888:remote_host:8888 login@remote_host
 
-N 不要建立shell
-f 丟到背景執行
-g 允許listen其他address , default 只 listen localhost
-L 對應的port:遠端address:遠端port
最後一定要有對方的帳號

helloworld 發表在 痞客邦 留言(0) 人氣()

yum  groupinstall "X Window System" "GNOME Desktop Environment"

或是

yum groupinstall "X Window System" "KDE (K Desktop Environment)"

嗯..筆記

undefined
鳥哥的Linux私房菜:基礎學習篇(附DVD一片)(第四版)

helloworld 發表在 痞客邦 留言(0) 人氣()

(SizeofDatabase * NumberOfReplicas * 1.1 ) / NumberOfDataNodes

MySQL官方資料 : http://dev.mysql.com/doc/refman/5.0/fr/mysql-cluster-faq.html

helloworld 發表在 痞客邦 留言(0) 人氣()

ERROR 1214 (HY000)  The used table type doesn't support FULLTEXT indexes
不可以有FULLTEXT index

ERROR 1118 (42000)  Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8052. You have to change some columns to TEXT or BLOBs
欄位長度總和不能過長
測試新增一個ndbcluster的table ...裡面只有一個欄位,最大的長度到
varchar (2680)而以,再大就過不去了 >_<

helloworld 發表在 痞客邦 留言(0) 人氣()

在virtualbox中建立了一個linux環境,開開心心的檔案複製一份
想要開第二台linux起來,但是就是不給你加入

原因是每一個virtualbox的虛擬硬碟 *.vdi 都有自己的uuid , 為的就是不要和別人重複
要怎麼修改ssid咧
以windows環境下的virtualbox為例 (檔案放在低潮)
VBoxManage.exe internalcommands setvdiuuid d:\vbox\server2.vdi

undefined
認識虛擬化技術的第一本書(超圖解,學習無負擔)
おうちで学べる仮想化のきほん

作者: 高岡将, 高添修  
譯者: 許郁文
出版社:碁峰  
出版日期:2016/02/01
語言:繁體中文
定價:380元

helloworld 發表在 痞客邦 留言(0) 人氣()

MUJI無印良品 文具

muji無印良品好用文具大集合
集點還可以到門市換贈品
聽起來真不錯啊XD

helloworld 發表在 痞客邦 留言(0) 人氣()

mgm node看起來沒什麼load,決定把他加上sql node的群組

[root@node1 ~]# vi /var/lib/mysql-cluster/config.ini
[mysqld]
hostname=10.0.0.102
id=2
[mysqld]
hostname=10.0.0.101
id=11

[root@node1 ~]# vi /etc/my.cnf
[mysqld]
ndbcluster # run NDB storage engine
ndb-connectstring=node1
[mysql_cluster]
ndb-connectstring=node1

ndb服務shutdown (補充說明一下,這個動作可以把ndb_mgmd & ndbd 都shutdown , mysqld 不會shutdown)
[root@node1 ~]# ndb_mgm -e shutdown

重新再讀一次設定檔
[root@node1 ~]# ndb_mgmd -f /var/lib/mysql-cluster/config.ini --initial

再去data node 把ndbd帶起來

最後把sql node的mysqld 帶起來,當然包括剛剛加上去的node1
[root@node1 ~]# service mysql start

觀察一下目前cluster的狀態
[root@node1 ~]# ndb_mgm -e show
Connected to Management Server at: node1:1186
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=3    @10.0.0.103  (mysql-5.1.44 ndb-7.1.4, Nodegroup: 0, Master)
id=4    @10.0.0.104  (mysql-5.1.44 ndb-7.1.4, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @10.0.0.101  (mysql-5.1.44 ndb-7.1.4)

[mysqld(API)]   2 node(s)
id=2    @10.0.0.102  (mysql-5.1.44 ndb-7.1.4)
id=11   @10.0.0.101  (mysql-5.1.44 ndb-7.1.4)

最後如果可以讀到在其他sql node建立起來的資料的話就是成功囉!!
mysql> select * from table1;
+------+
| a    |
+------+
|    1 |
|    2 |
+------+
2 rows in set (0.01 sec)



helloworld 發表在 痞客邦 留言(0) 人氣()

將MyISAM的table格式轉換為cluster格式
mysql> ALTER TABLE table1 ENGINE=NDBCLUSTER;
Query OK, 2 rows affected (0.96 sec)
Records: 2  Duplicates: 0  Warnings: 0

mysql> show create table `table1`;
+--------+------------------------------------
| Table  | Create Table
+--------+------------------------------------
| table1 | CREATE TABLE `table1` (
  `a` int(11) DEFAULT NULL
) ENGINE=ndbcluster DEFAULT CHARSET=latin1 |
+--------+------------------------------------
1 row in set (0.01 sec)

-rw-rw---- 1 mysql mysql 8554 Aug 11 15:34 table1.frm
-rw-rw---- 1 mysql mysql    0 Aug 11 15:34 table1.ndb
-rw-rw---- 1 mysql mysql 8554 Aug 11 15:05 table2.frm
-rw-rw---- 1 mysql mysql    0 Aug 11 15:05 table2.ndb

helloworld 發表在 痞客邦 留言(0) 人氣()

開始建table囉
首先看看有沒有支援ndbcluster
mysql> show engines;
| ndbcluster | YES .... (略)

mysql> use test;

以前會醬子create table
mysql> create table `table1` (a int);
Query OK, 0 rows affected (0.06 sec)

現在你要醬子create table
mysql> create table `table2` (a int) ENGINE=ndbcluster;
Query OK, 0 rows affected (0.73 sec)

實際到os下面看看檔案格式有什麼不一樣
-rw-rw---- 1 mysql mysql 8554 Aug 11 14:59 table1.frm
-rw-rw---- 1 mysql mysql    0 Aug 11 14:59 table1.MYD
-rw-rw---- 1 mysql mysql 1024 Aug 11 14:59 table1.MYI
-rw-rw---- 1 mysql mysql 8554 Aug 11 15:05 table2.frm
-rw-rw---- 1 mysql mysql    0 Aug 11 15:05 table2.ndb

塞幾筆資料進去看看
mysql> insert table1 values (1);
mysql> insert table1 values (2);
mysql> insert table2 values (1);
mysql> insert table2 values (2);

mysql> select * from table1;
+------+
| a    |
+------+
|    1 |
|    2 |
+------+
2 rows in set (0.00 sec)

mysql> select * from table2;
+------+
| a    |
+------+
|    1 |
|    2 |
+------+
2 rows in set (0.00 sec)

再看一下檔案有甚麼不一樣
-rw-rw---- 1 mysql mysql 8554 Aug 11 14:59 table1.frm
-rw-rw---- 1 mysql mysql   14 Aug 11 15:07 table1.MYD
-rw-rw---- 1 mysql mysql 1024 Aug 11 15:07 table1.MYI
-rw-rw---- 1 mysql mysql 8554 Aug 11 15:05 table2.frm
-rw-rw---- 1 mysql mysql    0 Aug 11 15:05 table2.ndb

嗯..看起來data都是已經寫到data node去囉:D

helloworld 發表在 痞客邦 留言(0) 人氣()

master 現在是node3
[root@node3 ~]# ndb_mgm -e show
Connected to Management Server at: 10.0.0.101:1186
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=3    @10.0.0.103  (mysql-5.1.44 ndb-7.1.4, Nodegroup: 0, Master)
id=4    @10.0.0.104  (mysql-5.1.44 ndb-7.1.4, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @10.0.0.101  (mysql-5.1.44 ndb-7.1.4)

[mysqld(API)]   1 node(s)
id=2    @10.0.0.102  (mysql-5.1.44 ndb-7.1.4)

試試模擬node3的ndbd掛掉的時候看看會怎樣
[root@node3 ~]# killall ndbd

node4接手變成master了
[root@node3 ~]# ndb_mgm -e show
Connected to Management Server at: 10.0.0.101:1186
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=3 (not connected, accepting connect from 10.0.0.103)
id=4    @10.0.0.104  (mysql-5.1.44 ndb-7.1.4, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @10.0.0.101  (mysql-5.1.44 ndb-7.1.4)

[mysqld(API)]   1 node(s)
id=2    @10.0.0.102  (mysql-5.1.44 ndb-7.1.4)

重啟在node3啟動ndbd後會怎樣咧??
[root@node3 ~]# ndb_mgm -e show
Connected to Management Server at: 10.0.0.101:1186
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=3    @10.0.0.103  (mysql-5.1.44 ndb-7.1.4, starting, Nodegroup: 0)
id=4    @10.0.0.104  (mysql-5.1.44 ndb-7.1.4, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @10.0.0.101  (mysql-5.1.44 ndb-7.1.4)

[mysqld(API)]   1 node(s)
id=2    @10.0.0.102  (mysql-5.1.44 ndb-7.1.4)

[root@node3 ~]# ndb_mgm -e show
Connected to Management Server at: 10.0.0.101:1186
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=3    @10.0.0.103  (mysql-5.1.44 ndb-7.1.4, Nodegroup: 0)
id=4    @10.0.0.104  (mysql-5.1.44 ndb-7.1.4, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @10.0.0.101  (mysql-5.1.44 ndb-7.1.4)

[mysqld(API)]   1 node(s)
id=2    @10.0.0.102  (mysql-5.1.44 ndb-7.1.4)

嗯.. 結論是..node4繼續當他的master ... (筆記)

helloworld 發表在 痞客邦 留言(0) 人氣()

MySQL的cluster主要分為3種node
mgm node 沒錯,照字面上看起來就是管理用的node
sql node 未來查詢都會透過這個node來做增刪改查
data node 存放資料的地方

首先準備4台機器,裝好Linux作業系統,其他套件都不要選
10.0.0.101 (mgm node)
10.0.0.102 (sql node)
10.0.0.103 (data node)
10.0.0.104 (data node)

編輯四台node的/etc/hosts (非必要,只是我的怪僻XD)
10.0.0.101    node1
10.0.0.102    node2
10.0.0.103    node3
10.0.0.104    node4

安裝MySQL Cluster前把iptables / SELinux 都關掉先,會少很多麻煩
如果要關掉SELinux,必須要reboot
chkconfig iptables off
vi /etc/sysconfig/selinux
SELINUX=enforcing 修改為 SELINUX=disabled
reboot

下載需要的套件回來,以下是前幾天下載的7.1.4b,現在最新的版本是7.1.5
http://dev.mysql.com/downloads/cluster/

MySQL-Cluster-gpl-client-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-clusterj-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-debuginfo-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-devel-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-embedded-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-extra-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-management-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-server-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-shared-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-storage-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-test-7.1.4b-1.rhel5.x86_64.rpm
MySQL-Cluster-gpl-tools-7.1.4b-1.rhel5.x86_64.rpm

如果不想安裝全部,各Node基本需要的套件如下
mgm node
rpm -ihv MySQL-Cluster-gpl-management*.rpm
rpm -ihv MySQL-Cluster-gpl-tools*.rpm
sql node
rpm -ivh MySQL-Cluster-gpl-server*.rpm
rpm -ivh MySQL-Cluster-gpl-client*.rpm
data node
rpm -ihv MySQL-Cluster-gpl-storage*.rpm

省得麻煩的話,就全裝唄XD

開始設定了,在mgm node
如果沒有/var/lib/mysql-cluster的話就自己建一個目錄
[root@node1 ~]# mkdir -p /var/lib/mysql-cluster
[root@node1 ~]# vi /var/lib/mysql-cluster/config.ini

[ndbd default]
NoOfReplicas=2
DataMemory=80M
IndexMemory=18M
[tcp default]
portnumber=2202
[ndb_mgmd]
hostname=10.0.0.101
id=1
datadir=/var/lib/mysql-cluster
[ndbd]
hostname=10.0.0.104
datadir=/var/lib/mysql-cluster
id=4
[ndbd]
hostname=10.0.0.103
datadir=/var/lib/mysql-cluster
id=3
[mysqld]
hostname=10.0.0.102
id=2

編輯sql node的/etc/my.cnf

[mysqld]
ndbcluster # run NDB storage engine
ndb-connectstring=node1   ##這邊要寫mgm node的位址
[mysql_cluster]
ndb-connectstring=node1   ##這邊要寫mgm node的位址


啟動服務
順序: mgm node -> data node -> sql node
mgm node:
[root@node1 ~]# ndb_mgmd -f /var/lib/mysql-cluster/config.ini --initial (第一次執行要加-f /var/lib/mysql-cluster/config.ini
--initial , 第二次以後就不用了)
觀察一下mysql cluster的狀態,我們可以用以下的指令
[root@node1 ~]# ndb_mgm -e show
Connected to Management Server at: localhost:1186
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=3 (not connected, accepting connect from 10.0.0.103)
id=4 (not connected, accepting connect from 10.0.0.104)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @10.0.0.101  (mysql-5.1.44 ndb-7.1.4)

[mysqld(API)]   1 node(s)
id=2 (not connected, accepting connect from 10.0.0.102)


data node:
ndbd --initial (第一次執行要加 --initial , 第二次以後就不用了)
如果無法啟動的話,可以直接指定他mgm node在哪邊
[root@node3 ~]# ndbd -c node1
[root@node1 ~]# ndb_mgm -e show
Connected to Management Server at: 10.0.0.101:1186
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=3    @10.0.0.103  (mysql-5.1.44 ndb-7.1.4, starting, Nodegroup: 0, Master)
id=4    @10.0.0.104  (mysql-5.1.44 ndb-7.1.4, starting, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @10.0.0.101  (mysql-5.1.44 ndb-7.1.4)

[mysqld(API)]   1 node(s)
id=2 (not connected, accepting connect from 10.0.0.102)

sql node:
service mysql start (注意!!不是mysqld喔)
最後看看狀態,是不是所有的node都起來了
Connected to Management Server at: node1:1186
Cluster Configuration
---------------------
[ndbd(NDB)]     2 node(s)
id=3    @10.0.0.103  (mysql-5.1.44 ndb-7.1.4, Nodegroup: 0, Master)
id=4    @10.0.0.104  (mysql-5.1.44 ndb-7.1.4, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @10.0.0.101  (mysql-5.1.44 ndb-7.1.4)

[mysqld(API)]   1 node(s)
id=2    @10.0.0.102  (mysql-5.1.44 ndb-7.1.4)

嗯..看來 data node要的記憶體要大一點.. (筆記)

參考資料:
http://forum.icst.org.tw/phpbb/viewtopic.php?f=10&t=17903
http://twpug.net/docs/mysql-5.1/ndbcluster.html
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster.html
http://www.codecharge.com.tw/phpBB3/viewtopic.php?f=11&t=540

undefined
MySQL技術精粹:架構、高級特性、性能優化與集群實戰

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

加入會員還送你300塊e-coupon喔..不過好像是50塊6張=.=

博客來網路書店15周年慶

helloworld 發表在 痞客邦 留言(0) 人氣()

Linux如果要去mount iscsi的target來當本機硬碟來用的話
先安裝
# yum -y install iscsi-initiator-utils

# /etc/init.d/iscsi start

# iscsiadm -m discovery --type sendtargets --portal STORAGE_ADDR 預設port 3260

# iscsiadm --mode node --targetname TARGET_NAME --portal STORAGE_ADDR:3260 --login

# dmesg 或 fdisk -l 看一下剛剛login進來的partition代號

# fdisk /dev/sdx 建立分割區

# mke2fs -j /dev/sdxx 格式化ext3的格式

# e2label /dev/sdxx 編輯label

# vi /dev/fstab
LABEL=xxx   /mnt/iscsi  ext3 _netdev 0 0
或是
/dev/sdxx   /mnt/iscsi  ext3 _netdev 0 0

# mount -a 或 mount /mnt/iscsi

# iscsiadm --mode node --targetname TARGET_NAME --portal STORAGE_ADDR:3260 --logout


相關檔案
/etc/iscsi/*
/var/lib/iscsi/*

helloworld 發表在 痞客邦 留言(0) 人氣()

 

1.JPG

 

首先上的是扁食,吃起來還挺順口
不會像有扁食吃沒幾顆就膩了

helloworld 發表在 痞客邦 留言(0) 人氣()

記得以前在高雄唸書的時候,這家蒸餃還是隱藏在菜市場中
但是已經是生意好的不得了了
現在有了店面
就在楠梓火車站附近,很好找的

地址: 高雄市楠梓區朝明路106號


檢視較大的地圖

1.JPG

helloworld 發表在 痞客邦 留言(0) 人氣()

這次的探險出發地點是內湖環山路一段136巷走進去的登山入口

一定要有公德心喔~~

helloworld 發表在 痞客邦 留言(0) 人氣()

20150323 更新
這星期再去了一次,最新的價錢是 香腸 20/條 ,大腸 40/條
還算是俗又大碗
高雄保安宮新大港香腸  

香腸攤位置在高雄十全路保安宮

高雄新大港香腸

下午兩點開始營業, 老闆正在烤肉架上準備

高雄新大港香腸

這就是所謂的數大便是美嗎^^"
吃完吃之後才驚覺沒有拍一張,下次有機會去高雄的話再來補一張:p
香腸和糯米腸雖然形狀大小不一,但是看起來就是純手工的證明啊~
單吃已經很美味了,跟其他香腸攤不一樣的是,配上一大把酸甜的醃小黃瓜更是一絕啊!!


檢視較大的地圖

新大港香腸
地址: ‎
807高雄市三民區十全一路52號

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

3Com® SuperStack® 3 Switch 3226

拍賣網址 :

http://goods.ruten.com.tw/item/show?21002231260920

http://www.mobile01.com/mpitemdetail.php?id=137035

3Com官方網站 :

http://www.3com.com/products/en_US/detail.jsp?tab=features&pathtype=purchase&sku=3CR17500-91

helloworld 發表在 痞客邦 留言(0) 人氣()

http://www.codeplex.com/PHPExcel

helloworld 發表在 痞客邦 留言(0) 人氣()

很不好的經驗
上課第一天發現跟課表上的老師不一樣
想說可能是代課老師
總共八堂課
結果一代代了前面七堂
最後一堂還是代課老師的代課老師來上課
有上當受騙的感覺
冏到一個不行

helloworld 發表在 痞客邦 留言(0) 人氣()

#conf t
(config)#hostname XXX
(config)#ip domain-name XXX.OOO
(config)#crypto key generate rsa
(config)#username XXX privilege 15 password XXXX
(config)#aaa new-model
(config)#line vty 0 4
(config-line)#transport input ssh
(config-line)#end
#write

undefined
CCNA Routing and Switching 認證教戰手冊 第二版

作者: Todd Lammle  
譯者: 林慶德, 陳宇芬
出版社:旗標  
出版日期:2017/04/28
語言:繁體中文
定價:1180元

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

#show ip dhcp binding

如果show ip dhcp binding 裡面已經有ip紀錄的話要先把該紀錄clear
# clear ip dhcp binding A.B.C.D

#conf t
ip dhcp pool XXX
address A.B.C.D client-id 0100.aaaa.bbbb.cc

搞定

延伸閱讀

undefined
【旗標】CCNA Routing and Switching 認證教戰手冊 第二版(CCNA)

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

ALTEON-CHEETAH-LAYER4-MIB

http://www.oidview.com/mibs/1872/ALTEON-CHEETAH-LAYER4-MIB.html

Alteon 後來被 Nortel買去了..後來又被..

example:
監控 L4 switch 的Virtual server 1 & virtual server 2 的current sessions
mrtg.cfg範例如下


Target[v1.2]: 1.3.6.1.4.1.1872.2.5.4.2.4.1.2.1&1.3.6.1.4.1.1872.2.5.4.2.4.1.2.2:xxx@L4switch
MaxBytes[v1.2]: 1000000
Title[v1.2]: Current active sessions for virtual server 1 & 2
PageTop[v1.2]: <H1> Current active sessions for virtual server 1 & 2 </H1>
Options[v1.2]: growright,gauge
YLegend[v1.2]: sessions
Legend1[v1.2]: Virtual Server 1:
Legend2[v1.2]: Virtual Server 2:
LegendI[v1.2]: Virtual Server 1:
LegendO[v1.2]: Virtual Server 2:

undefined
 

文章標籤

helloworld 發表在 痞客邦 留言(0) 人氣()

哈...月底終於從米國出發了(應該是米國吧^^")..

等待中:p

helloworld 發表在 痞客邦 留言(0) 人氣()

1. 將ios放在tftp server, 可以下載 3CDaemon 來使用
FreeBSD開啟tftp server
vi /etc/inetd.conf
tftp   dgram   udp     wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot
#tftp    dgram   udp6    wait    root    /usr/libexec/tftpd      tftpd -l -s /tftpboot
重啟inetd
kill -HUP <inetd_pid>
mkdir /tftpboot
並且把檔案放在 /tftpboot下

2. login switch

3. switch#archive tar /xtract tftp://tftpserver/{IOS tar格式的檔名} flash:

4. switch#dir 可以看到剛剛上傳的IOS解開後的檔案

5. switch(config)#boot system {IOS路徑/檔名}
如: boot system flash:/c2960-lanbasek9-mz.122-58.SE2/c2960-lanbasek9-mz.122-58.SE2.bin

6. reload 重開機

7. sh version 可以看到用目前哪一個IOS檔案開機

helloworld 發表在 痞客邦 留言(0) 人氣()

雖然非英語系的考生有延長考試時間
不過對我這個破英文,又準備不是很熟的考生
時間差點不夠啊XD
總之250美金..還算有點價值

helloworld 發表在 痞客邦 留言(0) 人氣()

博客來網路書店300萬會員慶,滿711請你喝咖啡 博客來網路書店300萬會員慶,滿711請你喝咖啡

helloworld 發表在 痞客邦 留言(0) 人氣()

如果要把cisco switch Gi0/1 的流量mirror 給Gi0/11
也可是某個範圍的interfaces (gi0/1 - 3)

switch(config)# monitor session 1 source interface Gi0/1
switch(config)# monitor session 1 destination interface Gi0/11

helloworld 發表在 痞客邦 留言(0) 人氣()

Close

您尚未登入,將以訪客身份留言。亦可以上方服務帳號登入留言

請輸入暱稱 ( 最多顯示 6 個中文字元 )

請輸入標題 ( 最多顯示 9 個中文字元 )

請輸入內容 ( 最多 140 個中文字元 )

reload

請輸入左方認證碼:

看不懂,換張圖

請輸入驗證碼