JUNOS命令行操作界面

上传人:飞*** 文档编号:48603195 上传时间:2018-07-18 格式:PPT 页数:106 大小:662KB
返回 下载 相关 举报
JUNOS命令行操作界面_第1页
第1页 / 共106页
JUNOS命令行操作界面_第2页
第2页 / 共106页
JUNOS命令行操作界面_第3页
第3页 / 共106页
JUNOS命令行操作界面_第4页
第4页 / 共106页
JUNOS命令行操作界面_第5页
第5页 / 共106页
点击查看更多>>
资源描述

《JUNOS命令行操作界面》由会员分享,可在线阅读,更多相关《JUNOS命令行操作界面(106页珍藏版)》请在金锄头文库上搜索。

1、JUNOS CLIUpdated 8/22/001Juniper Networks, Inc. Copyright 2000 - Proprietary edit juniperR16# rename interfaces so-1/2/3 to so-2/2/3 edit juniperR16# show interfaces so-2/2/3 unit 0 family inet address 1.1.1.1/24; 63Juniper Networks, Inc. Copyright 2000 - Proprietary transfer-on-commit; archive-site

2、s ftp:/dump:secretftp.juniper.ne t/pub/incoming/config; ftp:/no:wayftp.blah-blah- 72Juniper Networks, Inc. Copyright 2000 - Proprietary flag flag flag-modifier disable; uEach feature allows tracing to only one fileuYou can trace multiple options (flags) to each file75Juniper Networks, Inc. Copyrigh

3、t 2000 - Proprietary & ConfidentialTrace Optionsuset traceoptions file filenamevfiles (default 10)vsize (default 128k)vworld-readableuset traceoptions flagvWhat do you want to look at?vVarious options that are different based on where you are in the hierarchy76Juniper Networks, Inc. Copyright 2000 -

4、 Proprietary & ConfidentialOSPF Trace OptionsuExample: #edit protocols ospf #set traceoptions file ospf.log #set traceoptions flag ?Possible completions:all Trace everythingdatabase-description Trace database description packetserror Trace errored packetsevent Trace OSPF state machine eventsflooding

5、 Trace LSA floodinggeneral Trace general eventshello Trace hello packetslsa-ack Trace LSA acknowledgement packetslsa-request Trace LSA request packetslsa-update Trace LSA update packetsnormal Trace normal eventspacket-dump Dump the contents of selected packet typespackets Trace all OSPF packetspolic

6、y Trace policy processingroute Trace routing informationspf Trace SPF calculationsstate Trace state transitionstask Trace routing protocol task processingtimer Trace routing protocol timer processing#set traceoptions flag all #commit and-quit monitor start ospf.log Watch for messages monitor stop77J

7、uniper Networks, Inc. Copyright 2000 - Proprietary & ConfidentialInterface Trace OptionsuExample:#edit interfaces so-2/2/3 #set traceoptions flag ? Possible completions:all Enable all interface trace flagsevent Trace interface eventsipc Trace interface IPC messagesmedia Trace interface media changes

8、 #commit and-quit monitor start dcd Watch for messages monitor stop78Juniper Networks, Inc. Copyright 2000 - Proprietary & ConfidentialSyslog and Traceoptions FilesuBy default, trace files are stored in /var/log uViewing stored log filesvshow log vlist of log files in /var/loguView a specific logvsh

9、ow log filename vmore the filename79Juniper Networks, Inc. Copyright 2000 - Proprietary & ConfidentialMonitor OptionsuUse the monitor CLI command to view real-time log informationuserhost monitor (start | stop) filenames uShows new entries in monitored files until canceled80Juniper Networks, Inc. Co

10、pyright 2000 - Proprietary & ConfidentialMonitor Optionsumonitor start filenamevlike Unix tail fvmultiple people can view log files at same timeumonitor stop filenamevStop monitoring a log fileumonitor stop vStop monitoring all log filesvLike Cisco “no debug all”umonitor listvDisplay status of monit

11、ored files81Juniper Networks, Inc. Copyright 2000 - Proprietary & ConfidentialLog FilesuSystem keeps all log files in /var/logushow log vlist of log files in /var/logu show log filename vmore filename monitor start filenamevlike Unix tail fumessages file contains running commentary about system oper

12、ation (Syslog)vCan be tuned to provide minimal to extensive loggingushow log messages82Juniper Networks, Inc. Copyright 2000 - Proprietary & ConfidentialJUNOS Software83Juniper Networks, Inc. Copyright 2000 - Proprietary & ConfidentialJUNOS Software uJuniper has one software package that runs on all

13、 of our platforms!uArrives preinstalled from factory ontovFlash drivevHard drive (alternate copy)vPCMCIA flash card (use as a last resort)uCan boot from alternate copyvIf flash drive fails, router can still boot from hard drive or removable mediauUpgradablevUpgrade packages available through the Int

14、ernet or on removable media84Juniper Networks, Inc. Copyright 2000 - Proprietary & ConfidentialBoot SequenceuHardware controlledvSoftware notifies hardware when boot completesSuccess?Success?Success?Removable mediaHaltDoneSolid-state flash diskRotating diskDoneDone85Juniper Networks, Inc. Copyright

15、2000 - Proprietary & ConfidentialJUNOS Software Version?uCLI commands to display installed packagesvshow system softwarevshow version86Juniper Networks, Inc. Copyright 2000 - Proprietary & ConfidentialJUNOS SoftwareuEach JUNOS software release consists of the base operating system (jbase) and software packages:vjkernel - Operating system packagevjbaseAdditions to the operating system vjroute - So

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号