📄 第一章 系统基本命令.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 + -