?? 第一章 系統基本命令.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0033)http://www.ccilan.com/qdxz090.htm -->
<HTML><HEAD><TITLE>第一章 系統基本命令</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 5.50.4134.100" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId>
<META content=tb name="Microsoft Border"></HEAD>
<BODY><!--msnavigation-->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<P><IMG height=57 src="第一章 系統基本命令.files/sheng_.jpg" width=284 align=left
border=0><IMG height=60 src="第一章 系統基本命令.files/swm.gif" width=484
align=left border=0>
</P></TD></TR><!--msnavigation--></TBODY></TABLE><!--msnavigation-->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR><!--msnavigation-->
<TD vAlign=top>
<TABLE height=654 cellSpacing=0 cellPadding=0 width=739 align=center
border=0>
<TBODY>
<TR>
<TD vAlign=top width=986 height=637>
<TABLE height=640 cellSpacing=0 cellPadding=0 width=741 border=0>
<TBODY>
<TR>
<TD vAlign=top width=737 colSpan=2 height=640>
<H2 align=center><FONT color=#333300>第一章 系統基本命令</FONT></H2>
<H3><FONT color=#333300>1.1命令行接口相關命令</FONT></H3>
<H3><FONT color=#333300>與命令行接口相關的命令包括:</FONT></H3>
<UL type=disc>
<LI><FONT color=#333300>configure</FONT>
<LI><FONT color=#333300>controller e1</FONT>
<LI><FONT color=#333300>disable</FONT>
<LI><FONT color=#333300>enable</FONT>
<LI><FONT color=#333300>exit</FONT>
<LI><FONT color=#333300>help</FONT>
<LI><FONT color=#333300>interface</FONT>
<LI><FONT color=#333300>language</FONT>
<LI><FONT color=#333300>logic-channel</FONT>
<LI><FONT color=#333300>router</FONT>
<LI><FONT color=#333300>show history</FONT>
<LI><FONT color=#333300>vpdn-group</FONT> </LI></UL>
<H4><FONT color=#333300><A name="1.1.1 configure"><BIG>1.1.1
configure</BIG></A></FONT></H4>
<P><FONT
color=#333300>用戶使用<B>configure</B>命令從特權用戶模式進入全局配置模式。</FONT></P>
<P><FONT color=#333300><B>configure</B></FONT></P>
<P><FONT color=#333300 size=3>【命令模式】</FONT></P>
<P><FONT color=#333300>特權用戶模式</FONT></P>
<P><FONT color=#333300 size=3>【舉例】</FONT></P>
<P><FONT color=#333300>Quidway#configure</FONT></P>
<P><FONT color=#333300>Enter configuration commands, one per
line. End with command exit!</FONT></P>
<P><FONT color=#333300>Quidway(config)#</FONT></P>
<P><FONT color=#333300 size=3>【相關命令】</FONT></P>
<P><FONT color=#333300><B>exit</B></FONT></P>
<H4><FONT color=#333300><A
name="1.1.2. controller e1"><BIG>1.1.2. controller
e1</BIG></A></FONT></H4>
<P><FONT color=#333300>用戶使用<B>controller</B>
<B>e1</B>命令從全局配置模式進入CE1/PRI接口配置模式。</FONT></P>
<P><FONT color=#333300><B>controller</B> <B>e1
</B><I>number</I></FONT></P>
<P><FONT color=#333300 size=3>【參數說明】</FONT></P>
<P><FONT color=#333300><I>number</I><B>
</B>表示CE1/PRI接口編號,從0開始順序遞增。</FONT></P>
<P><FONT color=#333300 size=3>【命令模式】</FONT></P>
<P><FONT color=#333300>全局配置模式</FONT></P>
<P><FONT color=#333300 size=3>【舉例】</FONT></P>
<P><FONT color=#333300>Quidway(config)#controller e1
0</FONT></P>
<P><FONT color=#333300>Quidway(config-if-e0)#</FONT></P>
<P><FONT color=#333300 size=3>【相關命令】</FONT></P>
<P><FONT color=#333300><B>exit</B></FONT></P>
<H4><FONT color=#333300><A name="1.1.3 disable"><BIG>1.1.3
disable</BIG></A></FONT></H4>
<P><FONT
color=#333300>用戶使用<B>disable</B>命令從特權用戶模式退回到普通用戶模式。</FONT></P>
<P><FONT color=#333300><B>disable</B></FONT></P>
<P><FONT color=#333300 size=3>【命令模式】</FONT></P>
<P><FONT color=#333300>特權用戶模式</FONT></P>
<P><FONT color=#333300 size=3>【使用指南】</FONT></P>
<P><FONT
color=#333300>當特權用戶長時間離開終端時,應該執行<B>disable</B>命令退回到普通用戶模式,或執行<B>exit</B>命令退出配置,以防止未授權用戶的非法侵入。出于同樣考慮,如果用戶在十分鐘之內沒有鍵盤輸入,系統會自動斷開與用戶的連接。</FONT></P>
<P><FONT color=#333300 size=3>【舉例】</FONT></P>
<P><FONT color=#333300>Quidway#disable</FONT></P>
<P><FONT color=#333300>Quidway></FONT></P>
<P><FONT color=#333300>【相關命令】</FONT></P>
<P><FONT color=#333300><B>enable</B>,<B>exit</B></FONT></P>
<H4><FONT color=#333300><A name="1.1.4 enable"><BIG>1.1.4
enable</BIG></A></FONT></H4>
<P><FONT
color=#333300>用戶使用<B>enable</B>命令從普通用戶模式進入到特權用戶模式。</FONT></P>
<P><FONT color=#333300><B>enable</B></FONT></P>
<P><FONT color=#333300 size=3>【命令模式】</FONT></P>
<P><FONT color=#333300>普通用戶模式</FONT></P>
<P><FONT color=#333300 size=3>【使用指南】</FONT></P>
<P><FONT
color=#333300>為了防止未授權用戶的非法侵入,在從普通用戶模式進入到特權用戶模式時,要進行用戶身份驗證,即需要輸入特權用戶口令,為了保密用戶鍵入的口令在屏幕上不作顯示,如果三次以內輸入正確的口令,則進入特權用戶模式,否則保持原命令模式不變。</FONT></P>
<P><FONT color=#333300 size=3>【舉例】</FONT></P>
<P><FONT color=#333300>Quidway>enable</FONT></P>
<P><FONT color=#333300>Password:</FONT></P>
<P><FONT color=#333300>Quidway#</FONT></P>
<P><FONT color=#333300 size=3>【相關命令】</FONT></P>
<P><FONT color=#333300><B>disable</B>,<B>enable
password</B>,<B>exit</B></FONT></P>
<H4><FONT color=#333300><A name="1.1.5 exit"><BIG>1.1.5
exit</BIG></A></FONT></H4>
<P><FONT
color=#333300>用戶使用<B>exit</B>命令從當前模式退回到較低級別模式,如果是普通用戶模式或特權用戶模式,則退出配置。</FONT></P>
<P><FONT color=#333300><B>exit</B></FONT></P>
<P><FONT color=#333300 size=3>【命令模式】</FONT></P>
<P><FONT
color=#333300>普通用戶模式、特權用戶模式、全局配置模式、路由協議配置模式、接口配置模式、邏輯通道配置模式、虛擬接口配置模式和VPDN組配置模式等</FONT></P>
<P><FONT color=#333300 size=3>【使用指南】</FONT></P>
<P><FONT color=#333300>全部命令模式分為4個級別,由低到高分別為:</FONT>
<UL type=disc>
<LI><FONT color=#333300>普通用戶模式、特權用戶模式</FONT>
<LI><FONT color=#333300>全局配置模式</FONT>
<LI><FONT
color=#333300>路由協議配置模式、接口配置模式、邏輯通道配置模式、虛擬接口配置模式、VPDN配置模式</FONT>
</LI></UL>
<P><FONT
color=#333300>執行<B>exit</B>命令即可從高級別的命令模式返回到低級別的用戶模式。同一級別的配置模式之間可以互相切換。另外用戶鍵入CTRL+Z可以從兩個較高級別的命令模式,直接返回到特權用戶模式。</FONT></P>
<P><FONT color=#333300 size=3>【舉例】</FONT></P>
<P><FONT color=#333300>從接口Ethernet0配置模式返回到全局配置模式。</FONT></P>
<P><FONT
color=#333300>Quidway(config-if-ethernet0)#exit</FONT></P>
<P><FONT color=#333300>Quidway(config)#</FONT></P>
<P><FONT color=#333300 size=3>【相關命令】</FONT></P>
<P><FONT
color=#333300><B>configure</B>,<B>router,interface</B>,<B>controller</B>,<B>logical-channel</B>,<B>virtual-template</B>,<B>vpdn-group</B></FONT></P>
<H4><FONT color=#333300><A name="1.1.6 help"><BIG>1.1.6
help</BIG></A></FONT></H4>
<P><FONT color=#333300>用戶使用<B>help</B>命令顯示系統幫助信息。</FONT></P>
<P><FONT color=#333300><B>help</B></FONT></P>
<P><FONT color=#333300 size=3>【命令模式】</FONT></P>
<P><FONT
color=#333300>普通用戶模式、特權用戶模式、全局配置模式、路由協議配置模式、接口配置模式、邏輯通道配置模式、虛擬接口配置模式和VPDN組配置模式等</FONT></P>
<P><FONT color=#333300 size=3>【使用指南】</FONT></P>
<P><FONT
color=#333300>Quidway<SUP>(R)</SUP>系列路由器提供隨時隨地的在線幫助,<B>help</B>命令則顯示關于整個幫助體系的信息,包括完全幫助和部分幫助,用戶可以隨時隨地鍵入?獲取在線幫助。</FONT></P>
<P><FONT color=#333300 size=3>【舉例】</FONT></P>
<P><FONT color=#333300>Quidway(config)#help</FONT></P>
<P><FONT color=#333300>Help may be requested at any point in a
command by entering</FONT></P>
<P><FONT color=#333300>a question mark '?'. If nothing
matches, the help list will</FONT></P>
<P><FONT color=#333300>be empty.</FONT></P>
<P><FONT color=#333300>Two styles of help are
provided:</FONT></P>
<P><FONT color=#333300>1. Full help is available when you are
ready to enter a</FONT></P>
<P><FONT color=#333300>command argument ( e.g. 'show ?' ) and
describes each</FONT></P>
<P><FONT color=#333300>possible argument.</FONT></P>
<P><FONT color=#333300>2. Partial help is provided when an
abbreviated argument</FONT></P>
<P><FONT color=#333300>is entered and you want to know what
arguments match</FONT></P>
<P><FONT color=#333300>the input ( e.g. 'show sn?'
).</FONT></P>
<H4><FONT color=#333300><A name="1.1.7 interface"><BIG>1.1.7
interface</BIG></A></FONT></H4>
<P><FONT
color=#333300>用戶使用<B>interface</B>命令進入到接口配置模式。</FONT></P>
<P><FONT color=#333300>[<B> no </B>]<B> interface </B>{ {<B>
ethernet</B> | <B>serial</B> | <B>bri</B> | <B>dialer</B> |
<B>virtual-template</B> } <I>interface-number | interface-name
</I>}</FONT></P>
<P><FONT color=#333300 size=3>【參數說明】</FONT></P>
<P><FONT color=#333300>(1)接口類型</FONT></P>
<P><FONT
color=#333300>Quidway<SUP>(R)</SUP>系列路由器目前支持的接口類型有:</FONT>
<UL type=disc>
<LI><FONT color=#333300>Ethernet</FONT>
<LI><FONT color=#333300>Serial</FONT>
<LI><FONT color=#333300>Bri</FONT>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -