模式

 CLI操作模式:

root@junos1% cli
CLI配置模式:
[email protected]> configure 
Entering configuration mode
 
[edit]
 
JUNOS層次劃分:
                             top
                               |
-------------------------------------------------------------------------------------------------------------------------
| | | | | |
chassis           firewall               interfaces            protocols           system                etc.
|
-------------------------------------------------
| | |
alarm              clock                   fpc
|
-------------------------------------------------------------------------------------------------
| | | | |
atm                  e3                  ethernet            sonet                   t3
 
 
如何轉換層次:
[email protected]# edit chassis alarm ethernet
[edit chassis alarm ethernet]    \\這個顯示的就是當前你所在層次
跳到上一層:
[edit chassis alarm ethernet]
 
[edit chassis alarm]
直接跳到頂層:
[edit chassis alarm]
 
[edit]
在子層中使用其他層命令:
[edit protocols ospf]
[email protected]# top show interfaces
 
從一個子層跳入另一子層:
[edit protocols ospf]
[email protected]# top edit interfaces em0 unit 0 family inet   
 
[edit interfaces em0 unit 0 family inet]
 
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章