




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、JUNIPER EX3200交換機配置1 Ex3200開機指導(dǎo)開機后:login: rootLast login: Fri Jan 17 22:21:55 on ttyd0- JUNOS 7.2R3.3 built 2002-03-23 02:44:36 UTCTerminal type? vt100 root% 注意使用root用戶登錄的情況下,輸入帳號/密碼以后,默認(rèn)是進入shell模式的(而只有root用戶帳號有這個現(xiàn)象),要輸入cli命令進入用戶模式:root% cliroot2 配置模式用戶模式下輸入configure命令進入配置模式,配置模式下可以對設(shè)備進行各種參數(shù)的配置root
2、configureeditroot#2.1 設(shè)置root用戶密碼命令:set system root-authentication plain-text-password路由器初始化root用戶是沒有密碼的,在第一次進行配置的時候必須要配置root密碼才能commit成功。密碼采用字母+數(shù)字方式。Example: labM7i_GZ# set system root-authentication plain-text-password New password:Retype new password:2.2 添加系統(tǒng)用戶命令:set system login user juniper uid
3、2000 -設(shè)置用戶名為juniper用戶id為2000set system login user juniper class super-user -設(shè)置juniper用戶為超級用戶set system login user juniper authentication plain-text-password -設(shè)置juniper用戶的密碼2.3 設(shè)置主機名命令:set system host-name M7i_GZ -設(shè)置主機名為M7i_GZ2.4 開啟系統(tǒng)telnet服務(wù)命令:set system services telnet說明:系統(tǒng)默認(rèn)是沒有打開telnet功能的,只有打開teln
4、et服務(wù)之后才能從網(wǎng)絡(luò)上登陸到路由器。2.5 設(shè)置交換機地址命令:Edit systemSet name-server 25Commit刪除:Edit systemDelete name-server 252.6 開啟系統(tǒng)ftp服務(wù)命令:set system services ftp說明:系統(tǒng)默認(rèn)是沒有打開ftp功能的,只有打開ftp服務(wù)之后才能從網(wǎng)絡(luò)上ftp到路由器。2.7 配置SNMPset snmp community authorization clients # 設(shè)置SNMP字符串set snmp trap-options source
5、-address #設(shè)置snmp trap的原地址為set snmp contact #設(shè)置snmp的聯(lián)系信息set snmp engine-id local #設(shè)置snmp v3 engine ID信息set snmp description #設(shè)置snmp的系統(tǒng)描述2.8 配置物理端口參數(shù)userhost#set interface ge-slot/pic/port description description#配置端口描述userhost#set interface ge-slot/pic/port mtu mtu-number#配置端口M
6、TUuserhost#set interface ge-slot/pic/port ether-options speed (10m | 100m | 1g)#配置端口速率userhost#set interface ge-slot/pic/port ether-options link-mode (automatic | full-duplex |half-duplex )#配置端口雙工userhost#set interface ge-slot/pic/port ether-options (auto-negotiation |no-auto-negotiation )#配置端口自動協(xié)商E
7、xample(例如):roothost editEntering configuration modeeditroothost# set interfaces ge-3/0/0 description “to_BJ-4200-1”editroothost# set interfaces ge-3/0/0 mtu 9216editroothost# set interfaces ge-3/0/0 ether-options speed 1geditroothost# set interfaces ge-3/0/0 ether-options link-modefull-duplexeditroo
8、thost# set interfaces ge-3/0/0 ether-options auto-negotiation2.9 配置物理端口二層接口editroothost# set interfaces ge-0/0/16 unit 0 family ethernet-switchingport-mode access配置物理端口作為二層access模式的接口,端口默認(rèn)情況下就是二層access端口。edituserhost # show interfacesge-0/0/16 unit 0 family ethernet-switching;2.10 配置物理端口三層接口EX交換機物理接
9、口可以支持三層路由接口功能,直接可以在接口上配置三層地址editroothost# set interfaces ge-0/0/17 unit 0 family inet address/242.11配置VLAN初始化配置時候,所有端口屬于default VLAN,default vlan 的默認(rèn)ID是0userhost# set interfaces name unit 0 family ethernet-switching port-mode access#配置端口的access模式,默認(rèn)端口就是access模式。userhost#set vlans vlan-na
10、me vlan-id number#配置VLAN分配vlan IDEX支持2種方式來配置access接口分配到VLAN,采用其中一種就可以實現(xiàn)端口VLAN的劃分。方式一:userhost#set vlans vlan-name interface interface_name直接在VLAN中添加多個物理端口方式二:或是在物理接口下:userhost#set interfaces interface-name unit 0 family ethernet-switching vlan membersvlan-name or vlan-id#添加端口到特定VLANuserhost# show vl
11、ans vlan-name detail#查看VLAN信息Example(例如):roothost editEntering configuration modeeditroothost# set vlans sales vlan-id 100editroothost# set vlans sales interface ge-0/0/1#或者可以如下配置,實現(xiàn)相同的配置效果editroothost# set interfaces ge-0/0/1 unit 0 family ethernet-switchingvlan members sales2.12配置Vlan trunk配置端口作tr
12、unk端口,支持802.1Q的標(biāo)準(zhǔn)封裝。userhost# set interfaces name unit 0 family ethernet-switching port-mode trunk#配置端口的VLAN模式為trunk模式userhost# set interfaces name unit 0 family ethernet-switching vlan membersall|number#配置trunk端口的允許通過的VLAN,9.1版本目前不支持vlan-range,預(yù)期在9.2版本支持。Example:roothost editEntering configuration
13、modeeditroothost#showinterfaces ge-0/0/3 unit 0 family ethernet-switching port-mode trunk;vlan members orange blue ;ge-0/0/4 unit 0 family ethernet-switching port-mode trunk;vlan members 100 200 ;2.13配置 native-vlan-idEX在trunk端口下支持native-vlan 的配置:roothost editEntering configuration modeeditroothost#
14、set interface ge-0/0/8 unit 0 family Ethernet-switchnative-vlan-id purpleeditroothost#show interfacege-0/0/8 unit 0 family ethernet-switching port-mode trunk;vlan members orange blue purple ;native-vlan-id purple;2.14 靜態(tài)路由協(xié)議手工添加到路由表下一跳必須有效所以的配置在routing-options 級別Syntax(語法):editrouting-options static
15、 defaults static-options;route destination-prefix next-hop next-hop;qualified-next-hop address metric metric;preference preference;static-options;Example(例如):edituserhost# showrouting-options static route /0 next-hop ;2.15 OSPF單區(qū)域edituserhost# set protocols ospf area 0 interface ge
16、-0/0/0edituserhost# show protocols ospfospf area interface ge-0/0/0.0;配置OSPF 多區(qū)域edituserhost# show protocols ospfospf area interface ge-0/0/0.0;edituserhost# set protocols ospf area 1 interface at-0/1/1.100edituserhost# show protocols ospfospf area interface ge-0/0/0.0;area 0
17、.0.0.1 interface at-0/1/1.100;綜合實例:set system root-authentication plain-text-passwordset system login user juniper uid 2000 -設(shè)置用戶名為juniper用戶id為2000set system login user juniper class super-user -設(shè)置juniper用戶為超級用戶set system login user juniper authentication plain-text-password -設(shè)置juniper用戶set system s
18、ervices telnetset vlans 10 vlan-id 10 set vlans 20 vlan-id 20set vlans 1 lan-id 1set interfaces ge0/0/0 unit 0 family ethernet-switching port-mode trunkset interfaces ge0/0/0 unit 0 family ethernet-switching vlan members allset interface ge-0/0/0 unit 0 family Ethernet-switch native-vlan-id 1set int vlan unit 10 family inet add /24 配置vlan 10的3層地址set int vlan unit 20 family inet add /2
溫馨提示
- 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)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年音頻切換臺項目資金籌措計劃書代可行性研究報告
- 革命文化資源融入初中歷史教學(xué)探究-以百色市M中學(xué)為例
- 汽車傳感器與檢測技術(shù)電子教案:液位傳感器
- Brand KPIs for neobanking Freetrade in the United Kingdom-英文培訓(xùn)課件2025.4
- 汽車傳感器與檢測技術(shù)電子教案:檢測的作用與意義
- 幾種類型小鼠缺氧實驗報告范本
- 關(guān)+于儒學(xué)的現(xiàn)代轉(zhuǎn)化問題-評現(xiàn)代新儒家的儒學(xué)轉(zhuǎn)化觀
- 介紹學(xué)院特色活動方案
- 物理中考一輪復(fù)習(xí)教案 十五講 摩擦力 二力平衡
- 從江工會相親活動方案
- 4.1.1喀斯特地貌課件高中地理人教版(2019)必修一
- 放療治療技術(shù)管理制度
- 新產(chǎn)品開發(fā)周期與研發(fā)進度規(guī)劃計劃
- 寧波華潤興光燃?xì)庥邢薰菊衅腹P試沖刺題2025
- 2025年濟南鐵路局招聘筆試參考題庫含答案解析
- 《資本論解讀》課件
- 《上一堂樸素的語文課》讀書交流
- 《生產(chǎn)公司崗位職責(zé)》課件
- 部編版語文小升初復(fù)習(xí)之拼音百題訓(xùn)練(一)
- 加油站安全事故隱患排查治理制度
- 面包磚購銷合同范例
評論
0/150
提交評論