Router#hw-MODule module 1 reset
sh diagnostic result module 1 test all
sh diagnostic events
sh hw-module subslot all
2013年8月26日 星期一
2013年8月22日 星期四
port channel , channel group
------------------
基本上只要這樣設定
config t
int g1/0/1
channel-group 1 mode active
int g1/0/2
channel-group 1 mode active
int port-channel 1
設定/功能如一般port
--------------------
L3 switch
config t
int g1/0/1
switch mode access
channel-group 2 mode active
int g1/0/2
switch mode access
channel-group 2 mode active
------
interface GigabitEthernet1/0/17,20
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,17
switchport mode trunk
channel-group 3 mode active
-----------------------
Switch(config-if)#channel-group 1 mode ?
active Enable LACP unconditionally
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
passive Enable LACP only if a LACP device is detected
-----------------------
switch(config)# lacp system-priority 32768
Configures the system priority for use with LACP. Valid values are 1 through 65535, and higher numbers have lower priority. The default value is 32768.
------------------------
switch(config-if)# lacp port-priority priority
Configures the port priority for use with LACP. Valid values are 1 through 65535, and higher numbers have lower priority. The default value is 32768.
------------------------
基本上只要這樣設定
config t
int g1/0/1
channel-group 1 mode active
int g1/0/2
channel-group 1 mode active
int port-channel 1
設定/功能如一般port
--------------------
L3 switch
config t
int g1/0/1
switch mode access
channel-group 2 mode active
int g1/0/2
switch mode access
channel-group 2 mode active
------
interface GigabitEthernet1/0/17,20
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,17
switchport mode trunk
channel-group 3 mode active
-----------------------
Switch(config-if)#channel-group 1 mode ?
active Enable LACP unconditionally
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
passive Enable LACP only if a LACP device is detected
-----------------------
switch(config)# lacp system-priority 32768
Configures the system priority for use with LACP. Valid values are 1 through 65535, and higher numbers have lower priority. The default value is 32768.
------------------------
switch(config-if)# lacp port-priority priority
Configures the port priority for use with LACP. Valid values are 1 through 65535, and higher numbers have lower priority. The default value is 32768.
------------------------
2013年8月21日 星期三
switch router 故障 密碼 忘記 回復
switch 改密碼
按住mode再插入電源線
然後輸入?
flash_init
load_helper
dir flash:
rename flash: config.text flash:old.text
boot
------------------------------------
1841 刪掉 config
write erase
reload
按住mode再插入電源線
然後輸入?
flash_init
load_helper
dir flash:
rename flash: config.text flash:old.text
boot
------------------------------------
1841 刪掉 config
write erase
reload
2013年8月8日 星期四
n5k ios upgrade 升級
正常是要看cisco的 n5k_upgrade_downgrade_503這份文件,有完整說明和注意事項,
如果懶的看,或是看不懂,或是google也找不到簡單明瞭的方式,就看看下面簡潔說明
#前置動作&安全規定
1.switch# show configuration session summary
確認沒使用者連線進行設定
2.此動作可能會導致 topology 變動,應先避免
(STP or FC fabric changes that affect zoning)
(STP or FC fabric changes that affect zoning)
3.應確定網路的穩定性,和避免電力中斷的可能
4.至少200MB的空間,足以上傳新的ios
以上
----------------------------------------------
好的,以上都ok後,那就來更新ios吧,找個 utp port 來上傳ios吧
.
.
.
.
.
.
只有mgmt0可以插,沒得選所以就把網路線插近這個port......
1.設定 mgmt0 ip
int mgmt0 ( ex: 192.168.1.1/24 )
*自己電腦tftp server ip(192.168.1.2/24)
互聘(ping)
*在n5k上輸入: ping 192.168.1.2 vrf management 才可以聘
(透過mgmt0)
(透過mgmt0)
2.上傳ios到 bootflash:
應該知道有(吧?!)有kickstart 和 system(ios) 這兩種東西,需具備這兩樣才能完整更新n5k ios
N5K-1# copy tftp://192.168.1.2/n5000-uk9-kickstart.4.2.1.N2.1.bin bootflash:
Enter vrf (If no input, current vrf 'default' is considered): management
N5K-1# copy tftp://192.168.1.2/n5000-uk9-kickstart.4.2.1.N2.1.bin bootflash:
Enter vrf (If no input, current vrf 'default' is considered): management
把這2個上傳到bootflash:後
先驗證ios: show install all impact kickstart <image> system<image>
switch# show install all impact kickstart bootflash:n5000-uk9-kickstart.4.2.1.N1.1a.bin system bootflash:n5000-uk9.4.2.1.N1.1a.bin
都跑到100% success 就沒事,進行下一動.
3. 安裝ios install all kickstart <image> system<image>
switch# install all kickstart bootflash:n5000-uk9-kickstart.4.2.1.N1.1.bin system bootflash:n5000-uk9.4.2.1.N1.1.bin
*但是我這樣輸入也是可以?!
switch# install all kickstart n5000-uk9-kickstart.5.2.1.N1.5.bin system n5000
uk9.5.2.1.N1.5.bin
讓他跑跑跑...會出現下面這選項,預設是N,但是要輸入Y,然後確定.
Switch will be reloaded for disruptive upgrade.
Do you want to continue with the installation (y/n)? [n] Y
然後繼續跑跑跑,跑完後重開機.
show version 看版本正確否, 收工!
訂閱:
文章 (Atom)