資源描述:
《銳捷交換機(jī)VLAN配置》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。
1、新設(shè)備建一個(gè)VLANRuijie>enRuijie#config用戶模式特權(quán)模式更改設(shè)備用戶名加密密碼設(shè)置虛擬終端的個(gè)數(shù)登陸密碼Enterconfigurationcommands,oneperline.EndwithCNTL/Z.Ruijie(config)#hostnameshiyanshiyan(config)#ensecretxtltshiyan(config)#linevty04shiyan(config-line)#passwordxtlt設(shè)VLAN50設(shè)名子shiyan(config-line)#vla
2、n50shiyan(config-vlan)#nameceshi進(jìn)入22口將22口加入VLAN50進(jìn)入23口將22口力口入VLAN50將22口刪除VLAN50進(jìn)入VLAN50端口shiyan(config?vlan)#exitshiyan(config)#interfacefastethemetO/22shiyan(config-if)#switchportaccessvlan50shiyan(config)#interfacefastethernetO/23shiyan(config-if)#switchporta
3、ccessvlan50Ruijie(config-if)#noswitchportaccessvlanshiyan(config-if)#interfacevlan50shiyan(config-if)#*Feb180&29:52:%LlNEPROTO-5-UPDOWN:LineprotocolonInterfaceVLAN50,changedstatetoupshiyan(config-if)#ipadd192.168.1.1255.255.255.0設(shè)VLAN50IP寫(xiě)入Ruijie#write設(shè)置系統(tǒng)時(shí)間shi
4、yan>enPassword:shiyan#clockset12:40:402182009設(shè)置系統(tǒng)時(shí)間shiyan#shclock顯示系統(tǒng)吋間Clock:2009-2-1812:40:59shiyan#系統(tǒng)重啟設(shè)置一shiyan#reloadin2test2分鐘后重啟Systemwillreloadin120seconds?Ruijie#reloadat13:82182009newyear在200821813:8分重啟Systemwillreloadin181seconds?Ruijie#reloadcancel取消
5、重啟計(jì)劃配置信息Ruijie>enRuijie#shversion查看系統(tǒng)版本信息Systemdescription:RuijieGigabitRoutingSwitch(S3750-24)ByRuijieNetworkSystemstarttime:2009-2-1813:8:50Systemhardwareversion:1.50Systemsoftwareversion:RGNOS10.2.00(3),Release(39231)Systembootversion:10.2.34077SystemCTRLver
6、sion:10.2.38550Systemserialnumber:1234942570126Moduleinformation:Device-1Hardwareversion:1.5Softwareversion:RGNOS10200(3),Release(39231)BOOTversion:10.2.34077CTRLversion:10.2.38550SerialNumber:1234942570126Ruijie#shversiondevices當(dāng)前的設(shè)備信息DeviceSlotsDescription11R
7、G-S3750-24向VLAN分酉己ACCESS口Ruijie(config)#interfacefastethernetO/22進(jìn)入22口配置Ruijie(config-if)#switchportmodeaccess將口配成二層ACCESS口Ruijie(config-if)#switchportaccessvlan2將口分配給vlan2Ruijie(config-if)#shinterfacefastethernet()/22switchport顯示壯態(tài)向TRUNK分配口Ruijie(config-if)#sw
8、itchportmodetrunk將口配成二層TRUNK口Ruijie(config-if)#shinterfacefastethernetO/19switchport顯示彳士態(tài)Ruijie(config-if)#switchporttrunkallowedvlanremove1移出vlan口Ruijie#delconfig.text除去配置文