H3CS5500基本配置思路及實(shí)用命令_第1頁
H3CS5500基本配置思路及實(shí)用命令_第2頁
免費(fèi)預(yù)覽已結(jié)束,剩余13頁可下載查看

下載本文檔

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

文檔簡介

1、1 / 16H3C S5500 基本配置思路及實(shí)用命令1.總體配置思路:1)添加VLAN1,并將相應(yīng)端口添加到該VLAN。(在VLAN狀態(tài)下才可一次將 多個(gè)端口加入相應(yīng)VLAN,intefacee1/0/1toe1/0/24) 2)添加VLAN2,并將其置為管 理VLAN在#狀態(tài)下management-vlan 2),才可設(shè)置其VLAN的IP地址。3)添加靜態(tài)路由。4)配置端口TRUNK模式。5)配置遠(yuǎn)程登錄VTY認(rèn)證。6)配置本地用戶。2.進(jìn)入特權(quán)模式System View System ViewSystem View:return to User View with Ctrl+Z.H3Cd

2、isH3Cdisplay cur3.配置交換機(jī)主機(jī)名sysnamesysname H3C4.添加VLANvlan 1或在此狀態(tài)下直接將相應(yīng)端口加入該VLAN (否則只能一個(gè)口的添加)Interface e 1/0/1 to e 1/0/245.配置管理VLAN- management-vlanmanagement-vlan 22 / 166.給管理VLA N添加IP地址in terface Vla n-in terfacel ip address767.添加端口到VLAN:port access vlan 1port access vlan 18遠(yuǎn)

3、程登錄配置及3A認(rèn)證模式user-interface vty 0 4 authentication-mode scheme9.配置3A認(rèn)證本地用戶及屬性local-user test password simple testpwd authorization-attribute level 3可能的配置local-user testpassword simple testlevel 310.將端口配置為Trunk口port link-type trunk port trunk permit vlan all 11. 添加靜態(tài)路由3 / 16ip route-static0.0.0

4、.012. 查看路由表display ip routing-tableH3Cdisplay ip routing-tableRouting Tables:PublicDestinations :7Routes :7Destination/Mask Proto Pre CostInterface/0 Static 60 0NextHop4 / 16 Vlan/24 Direct 0 080 Vlan80/32Direct 00 InLoop0/

5、8 Direct 0 0 InLoop05 / 16/32 Direct 0 0 InLoop019I!168.76.0/24 Direct 0 0 Vlan76/32 Direct 0 0 InLoop013.顯示當(dāng)前配置display current-configurationH3Cdisplay current-configuration6 / 1614.查看端口及VLAN的up/down狀態(tài)display brief interfaceH3Cdisplay brief

6、 interfaceThe brief information of interface(s) under route mode:InterfaceLinkProtocol-linkProtocol typeMainIPNULL0UPUP(spoofing)NULLVlan1UPUPETHERNETVlan2UPUPETHERNET80The brief information of interface(s) under bridge mode:InterfaceLinkSpeedDuplexLink-typePVIDGE1/0/1UP1G(a)fu

7、ll(a)access 1GE1/0/2DOWNautoautoaccess1GE1/0/3DOWNautoautoaccess1The brief information of interface(s) under bridge mode:Interface Link Speed Duplex Link-typePVIDGE1/0/1 UP 1G(a) full(a) access 1 display brief interface Vlan-interface 1H3Cdisplay brief interface Vlan-interface 1The brief information

8、 of interface(s) under route mode:7 / 16Interface Link Protocol-link Protocol type MainIPVlan1 UP UP ETHERNET192.198 / 16168.76.315.查看MAC地址緩存表display mac-addressH3Cdisplay mac-address16.查看某一端口的MAC地址緩存表17.查看ARP緩存表display arpH3Cdisplay arpType:S-Static D-DynamicIP AddressType19MAC AddressVLAN ID Inter

9、faceAging2.I!168.76.56 0016-eca2-d69d 1 GE1/0/131 0016-3642-e888 1 GE1/0/120199 / 16168.718.Tftp備份配置1)查看配置文件名及所在文件夾-dir配置文件名可能為startup.cfg或config.cfg配置文件可能在flash:/或unit1flash:/目錄下dir flash:/Directory of flash:/0-rw-Aug 11 201016:27:52 s5500tpsi-cmw520-r2202p11.bin1 -rw- 2365 Apr 26 2000

10、12:13:58startup.cfg(配置文件 名)31496 KBtotal (23460 KB free)dirI!168.76.171 0024-1d6e-6fbe 1 GE1/0/1113 D 0018-742d-4fc0 2 GE1/0/191914 D2.I!6.1 0018-742d-4fc0 1GE1/0/1910 D10 / 16Directory of unit1flash:/1 -rw- 3146 Jan 01 2004 00:00:00 config.def2 (*) -rw- Mar 25 2011 16:51:52 s31si_e-cmw310-

11、r2211p07.bin3 (*) -rw- 886025 Jan 01 2004 00:00:00 h3c-http3.1.9-0019.web4 (*) -rw- 2834 Apr 03 2000 01:20:33c on fig.cfg配置文件 名)7239KB total (2739 KB free)(*) -with main attribute (b) -with backup attribute(*b) -with both main and backup attributetftp1 put unit1flash:/config.cfg8

12、5.txtFile will be transferred in binary mode.Sending file to remote tftp server. Please wait. |TFTP:2979 bytes sent in 0 second(s).File uploaded successfully.dir11 / 16Directory ofunit1flash:/1 -rw- 3146 Jan 01 2004 00:00:00 config.def2 (*) -rw- Mar 25 2011 16:51:52 s31si_e-cmw310-r2211p07.bin3 (*)

13、-rw- 886025 Jan 01 2004 00:00:00 h3c-http3.1.9-0019.web4 (*) -rw- 2979 Apr 02 2000 07:17:02config.cfg7239 KB total (2739 KB free)(*) -with main attribute(b) -with backup attribute(*b) -with both main and backup attribute2)配置可以使用tftp的ACLacl number 2000rule permit source1 0jyzx-px-zhongxinac

14、l number 2000 jyzx-px-zhongxin-acl-basic-2000rulepermit source 1 ?0 Wildcard bits :0.0.12 / 160.0 ( a host )X.X.X.X Wildcard of sourcejyzx-px-zhongxin-acl-basic-2000rule permit source1 03)配置tftp服務(wù)器- tftp-server acl 2000tftp-server acl 2000jyzx-px-zhongxintftp-server acl 2000The A

15、CL number does not exist or contains no rule. Continue? Y/N:y(如果還沒有配置ACL則會(huì)有此提示)jyzx-px-zhongxintftp client source ip14)備份配置文件到tftp軟件所在目錄下(在用戶視圖下,即“狀”態(tài)下)tftp1 put flash:/startup.cfg (無目標(biāo)文件名則表示與源文件名同名)tftp172.16.13 / 168.91 put flash:/startup.cfg startup.txt(將配置文件保存為txt文件)tftp172.1

16、6.8.91 put flash:/startup.cfgFile will be transferred in binary modeSending file to remote TFTP server. Please wait. TFTP:2365 bytes sent in 0 second(s).File uploaded successfully. tftp1 put flash:/startup.cfg77.txtFile will be transferred in binary modeSending file to remote TFT

17、P server. Please wait. TFTP:14 / 162365 bytes sent in 0 second(s).File uploaded successfully.5)小結(jié)過程在特權(quán)狀態(tài)下配置ACL和Tftp-server信息acl number 2000rule permit source1 0quittftp-server acl 2000save在用戶視圖下備份配置tftp1 put flash:/startup.cfg77.txt115 / 169.關(guān)閉實(shí)時(shí)信息-undo info-center enablejyzx-bg-4-xundo

溫馨提示

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

評論

0/150

提交評論