CLI操作模式:
root@junos1% cli
root@junos1.taobao.com>
CLI配置模式:
root@junos1.taobao.com> configure
Entering configuration mode
[edit]
root@junos1.taobao.com#
JUNOS层次划分:
top
|
----------------------------------------------------------------------------------------------------
| | | | | |
chassis firewall interfaces protocols system etc.
|
----------------------------------------
| | |
alarm clock fpc
|
----------------------------------------------------------------------------
| | | | |
atm e3 ethernet sonet t3
如何转换层次:
root@junos1.taobao.com# edit chassis alarm ethernet
[edit chassis alarm ethernet] \\这个显示的就是当前你所在层次
root@junos1.taobao.com#
跳到上一层:
[edit chassis alarm ethernet]
root@junos1.taobao.com# up
[edit chassis alarm]
root@junos1.taobao.com#
直接跳到顶层:
[edit chassis alarm]
root@junos1.taobao.com# top
[edit]
root@junos1.taobao.com#
在子层中使用其他层命令:
[edit protocols ospf]
root@junos1.taobao.com# top show interfaces
从一个子层跳入另一子层:
[edit protocols ospf]
root@junos1.taobao.com# top edit interfaces em0 unit 0 family inet
[edit interfaces em0 unit 0 family inet]
root@junos1.taobao.com#
阅读(717) | 评论(0) | 转发(0) |