Juniper-EX系列中级培训

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

JUNIPERJUNOS中级配置应用培训2Copyright©2009JuniperNetworks,Inc.©2009JuniperNetworks,Inc.©2009JuniperNetworks,Inc.©2009JuniperNetworks,Inc.§Db9EIA-232@9600Bps,8/N/1-pre-configuredMGMT,Telnet,SSH§需要配置接入网络设备管理端口Console/MGMT6Copyright©2009JuniperNetworks,Inc.本地§用户名密码§每一个用户都有一个单独的主目录§基于用户定义权限RADIUS/TACACS+§TACACS+(只用于认证)§RADIUS(认证授权均可)RADIUS/TACACS+认证失败后返回本地认证lab2(ttyd0)login:rootPassword:用户认证登录7Copyright©2009JuniperNetworks,Inc.操作模式§监控与排错ruijie@lab2配置模式§配置接口、协议等[edit]ruijie@lab2#CLI模式8Copyright©2009JuniperNetworks,Inc.@lab2shspaceowispace'i'isambiguous.Possiblecompletions:igmpShowinformationaboutIGMPinterfacesShowinterfaceinformationisisShowinformationaboutIS-ISroot@lab2showiTab键补全命令补全9Copyright©2009JuniperNetworks,Inc.@root?Possiblecompletions:clearClearinformationinthesystemconfigureManipulatesoftwareconfigurationinformationfilePerformfileoperationshelpProvidehelpinformation…lab@rootshow?Possiblecompletions:apsShowAPSinformationarpShowsystemARPtableentriesas-pathShowtableofknownASpaths…命令提示10Copyright©2009JuniperNetworks,Inc.@switchhelptopicinterfaces?Possiblecompletions:accept-dataAcceptpacketsdestinedforvirtualaddressaccept-source-macPolicersforspecificsourceMACaddressesaccountingPacketcountsfordestinationandsourceclassesaccounting-profileAccountingprofileacknowledge-timerMaximumtimetowaitforlinkacknowledgmentmessageaddressInterfaceaddressanddestinationprefix...user@switchhelptopicinterfacesaddressConfiguringtheInterfaceAddressYouassignanaddresstoaninterfacebyspecifyingtheaddresswhenconfiguringtheprotocolfamily.Fortheinetfamily,configuretheinterface'sIPaddress.Fortheisofamily,configureoneormoreaddressesfortheloopbackinterface.Fortheccc,tcc,mpls,tnp,andvplsfamilies,youneverconfigureanaddress....11Copyright©2009JuniperNetworks,Inc.@switchhelpreferenceinterfacesaddressaddressSyntaxaddressaddress{arpip-address(mac|multicast-mac)mac-addresspublish;broadcastaddress;...HierarchyLevel[editinterfacesinterface-nameunitlogical-unit-numberfamilyfamily],[editlogical-routerslogical-router-nameinterfacesinterface-nameunitlogical-unit-numberfamilyfamily]ReleaseInformationStatementintroducedbeforeJUNOSRelease7.4.DescriptionConfiguretheinterfaceaddress....12Copyright©2009JuniperNetworks,Inc.@lab2configureEnteringconfigurationmode[edit]root@lab2#配置模式13Copyright©2009JuniperNetworks,Inc.于各层次之间移动§Edit命令的工作方式类似于cd命令[edit]user@host#editchassisalarmethernet[editchassisalarmethernet]atme3sonett3clockfpcfirewallinterfacesprotocolssystemmore…ethernetalarmchassistop层次化的编辑方式14Copyright©2009JuniperNetworks,Inc.@host#up[editchassisalarm]user@host#top[edit]atme3sonett3clockfpcfirewallinterfacesprotocolssystemmore…ethernetalarmchassistoptopup层次化的编辑方式15Copyright©2009JuniperNetworks,Inc.[edit]user@host#showchassisalarmsonet{lolred;pllyellow;}[edit]user@host#editchassisalarm[editchassisalarm]user@host#showsonet{lolred;pllyellow;}[editchassisalarm]检查配置16Copyright©2009JuniperNetworks,Inc.@host#setalarmsonetlolreduser@host#deletealarmsonetpllyellow对比当前配置与实际运行配置的不同[editchassis]user@host#show|comparealarm{sonet{+lolredlosred;-pllyellow;}}其他参数user@host#show|comparefilenameuser@host#show|comparerollbacknumber对比配置文件17Copyright©2009JuniperNetworks,Inc.[edit]user@host#editchassisalarmsonet[editchassisalarmsonet]user@host#deletelol[editchassisalarmsonet]user@host#deletelos[editchassisalarmsonet]user@host#删除配置18Copyright©2009JuniperNetworks,Inc.文件存放于/config/juniper.conf.n(n=1-3)/var/db/config/juniper.conf.n(n=4-49)提交配置19Copyright©2009JuniperNetworks,Inc.远程配置的时候需要注意以下几点§路由器之间可能失去连接§可能失去与路由器的连接使用命令commitconfirmed避免命令提交后出现问题§在一定时间内使提交的配置生效(默认为10分钟)§如果10分钟内没有输入commit命令,就会自动回退到之前的配置§记时中一旦输入commit命令,记时就会停止提交配置20Copyright©2009JuniperNetworks,Inc.(或rollback0)命令将准备提交的命令重置到当前正在生效的命令(最后一次commit生效的命令)§rollback1加载最后一次commit之前的第一次配置§rollbackn加载最后一次commit之前的第N次配置回退21Copyright©2009JuniperNetworks,Inc.退出命令§使用exit向上跳一级§使用exitconfiguration-mode退出到操作模式OperationalMode[edit][editchassis][editchassisalarm]topexit/upexitconfiguration-modeexitedit/configureeditchassiseditalarm退出编辑模式22Copyright©2009JuniperNetworks,Inc.命令保存当前层次下的配置[edit]cli#savefilename[edit]cli#可以指定文件保存的目录,否则就存放在用户的主目录下保存配置文件23Copyright©2009JuniperNetworks,Inc.

1 / 148
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功