第4單元-NX-OS系統(tǒng)基本命令介紹_第1頁
第4單元-NX-OS系統(tǒng)基本命令介紹_第2頁
第4單元-NX-OS系統(tǒng)基本命令介紹_第3頁
第4單元-NX-OS系統(tǒng)基本命令介紹_第4頁
第4單元-NX-OS系統(tǒng)基本命令介紹_第5頁
已閱讀5頁,還剩6頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、NX-OS系統(tǒng)基本命令介紹(1)清空配置重啟清空配置: switch # write erase Warning: This command will erase the startup-configuration. Do you wish to proceed anyway? (y/n) n y 重啟物理設(shè)備: switch # reload !WARNING! there is unsaved configuration in VDC! This command will reboot the system. (y/n)? n y如果是在某個VDC里面重啟這一臺VDC:N7K-B-1# r

2、eload vdcThis command will reload the current VDC. (y/n)? no y進(jìn)入系統(tǒng) - System Admin Account Setup - 是否激活增強(qiáng)安全的密碼: Do you want to enforce secure password standard (yes/no) y:no 設(shè)置admin的密碼: Enter the password for admin: ciscoConfirm the password for admin: cisco 是否激活admin vdc: Do you want to enable admin

3、 vdc (yes/no) n: n Would you like to enter the basic configuration dialog (yes/no): no User Access Verification switch login:adminPassword: ciscoswitch#配置主機(jī)名與Banner配置主機(jī)名:switch(config)# hostname N7K配置Banner:N7K(config)# banner motd Enter TEXT message. End with the character . Welcome to DC CCIE LAB查

4、看配置與存盤查看running-config: N7K# show running-config 查看startup-config: N7K# show startup-config 存盤: (注意:不支持使用“wr”存盤) N7K# copy running-config startup-config查看文件系統(tǒng)查看本地flash(2G):N7K# dirN7K# dir bootflash:/sup-local/查看本地log存儲:N7K# dir log:查看外部log存儲(8G):N7K# dir logflash:查看模塊狀態(tài)查看模塊狀態(tài)查看模塊狀態(tài):配置管理IP地址配置管理IP地址

5、: N7K(config)# interface mgmt 0 N7K(config-if)# ip address 137.60.3.71/24 N7K(config-if)# no shutdown Ping測試: N7K# ping 137.60.3.155 vrf management PING 137.60.3.155 (137.60.3.155): 56 data bytes 64 bytes from 137.60.3.155: icmp_seq=0 ttl=254 time=49.108 ms 64 bytes from 137.60.3.155: icmp_seq=1 ttl

6、=254 time=15.706 ms 64 bytes from 137.60.3.155: icmp_seq=2 ttl=254 time=15.539 ms 64 bytes from 137.60.3.155: icmp_seq=3 ttl=254 time=15.656 ms 64 bytes from 137.60.3.155: icmp_seq=4 ttl=254 time=15.427 msN7K開啟Telnet功能:N7K(config)# feature telnetN7K上在上在vrf management里面配置缺省路由:里面配置缺省路由:N7K(config)#vrf

7、 context managementN7K(config-vrf)# ip route 0.0.0.0/0 下一跳下一跳IP配置CDP配置CDP: N7K(config)# cdp enable N7K(config)# interface e3/17 N7K(config-if)# speed 1000 N7K(config-if)# no shutdown N7K(config)# cdp format device-id mac-address (發(fā)送給遠(yuǎn)端的device-id使用mac-address) 查看CDP信息: N7K# sh cdp neighbors N7K# show

8、 cdp neighbors detail 禁用CDP: N7K(config)# interface e3/17 N7K(config-if)# no cdp enable 只能在物理接口和Port-Channel上配置CDP Cisco Nexus 2000系列Fabric Extender不支持CDP配置電源冗余 No Redundancy: 無冗余無冗余N7K(config)# power redundancy-mode combined Grid Redundancy: 電網(wǎng)冗余電網(wǎng)冗余N7K(config)# power redundancy-mode insrc-redundan

9、t PS Redundancy: 電源冗余電源冗余N7K(config)# power redundancy-mode ps-redundant Full Redundancy(PS + Grid) : 完全冗余完全冗余N7K(config)# power redundancy-mode redundant 查看電源狀況: N7K# show environment power 小結(jié)1.清除N7K配置的命令:write erase2. 重啟N7K物理主機(jī):reload (重啟VDC:reload vdc)3. 設(shè)置banner時,建議使用特殊符號作為開始和結(jié)束,例如“”4. N7K不能支持使用write進(jìn)行保存,必須使用 copy running-config startup-config5. dir就是用來查看N7K文件系統(tǒng)的命令6. show module 能夠看到的信息:引擎型號和運(yùn)行狀態(tài)、板

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論