📄 第一章 系统基本命令.htm
字号:
<P><FONT color=#333300>bridge group</FONT></P>
<P><FONT color=#333300>interface Serial1</FONT></P>
<P><FONT color=#333300>no shutdown</FONT></P>
<P><FONT color=#333300>no ip address</FONT></P>
<P><FONT color=#333300>no ipx network</FONT></P>
<P><FONT color=#333300>bridge group</FONT></P>
<P><FONT color=#333300>interface Serial2</FONT></P>
<P><FONT color=#333300>no shutdown</FONT></P>
<P><FONT color=#333300>no ip address</FONT></P>
<P><FONT color=#333300>no ipx network</FONT></P>
<P><FONT color=#333300>bridge group</FONT></P>
<P><FONT color=#333300>end</FONT></P>
<P><FONT color=#333300>Use this configuration?
[yes/no]:</FONT></P>
<P><FONT color=#333300>Now writing the configuration to flash
memory.</FONT></P>
<P><FONT color=#333300>Write the running config to flash
memory successfully.</FONT></P>
<P><FONT color=#333300>Please reboot the router.</FONT></P>
<H4><FONT color=#333300><A name="1.3.5 show clock"><BIG>1.3.5
show clock</BIG></A></FONT></H4>
<P><FONT color=#333300>显示系统当前日期和时钟。</FONT></P>
<P><FONT color=#333300><B>show clock</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#show clock</FONT></P>
<P><FONT color=#333300>8:18:28 Jan 6 1999</FONT></P>
<P><FONT color=#333300 size=3>【相关命令】</FONT></P>
<P><FONT color=#333300><B>clock</B> <B>set</B></FONT></P>
<H4><FONT color=#333300><A
name="1.3.6 show hostname"><BIG>1.3.6 show
hostname</BIG></A></FONT></H4>
<P><FONT color=#333300>显示路由器域名。</FONT></P>
<P><FONT color=#333300><B>show</B> <B>hostname</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#show hostname</FONT></P>
<P><FONT color=#333300>Quidway</FONT></P>
<P><FONT color=#333300 size=3>【相关命令】</FONT></P>
<P><FONT color=#333300><B>hostname</B></FONT></P>
<H4><FONT color=#333300><A
name="1.3.7 show queue"><BIG>1.3.7 show
queue</BIG></A></FONT></H4>
<P><FONT color=#333300>显示系统队列状况。</FONT></P>
<P><FONT color=#333300><B>show</B> <B>queue</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>该命令显示各个接口的输入和输出队列、IP接收队列、ARP接收队列和IPX接收队列的当前长度、最大长度、丢弃报文数以及队首和队尾指针等内容。该命令一般用于技术支持人员进行错误诊断。</FONT></P>
<P><FONT color=#333300 size=3>【举例】</FONT></P>
<P><FONT color=#333300>Quidway#show queue</FONT></P>
<P><FONT color=#333300>Interface Dialer1:</FONT></P>
<P><FONT color=#333300>Send queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>Receive queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>Interface Ethernet0:</FONT></P>
<P><FONT color=#333300>Send queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>Receive queue:</FONT></P>
<P><FONT color=#333300>Current length : 2, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x7de480, Queue tail
--> 0x7de400</FONT></P>
<P><FONT color=#333300>Interface LoopBack0:</FONT></P>
<P><FONT color=#333300>Send queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>Receive queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>Interface Serial0:</FONT></P>
<P><FONT color=#333300>Send queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>Receive queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>Interface Serial1:</FONT></P>
<P><FONT color=#333300>Send queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>Receive queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>Interface Serial2:</FONT></P>
<P><FONT color=#333300>Send queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>Receive queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>ip receive queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>arp receive queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
50 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300>ipx receive queue:</FONT></P>
<P><FONT color=#333300>Current length : 0, Queue limit length
75 , Drops : 0</FONT></P>
<P><FONT color=#333300>Queue head --> 0x0, Queue tail
--> 0x0</FONT></P>
<P><FONT color=#333300 size=3>【相关命令】</FONT></P>
<P><FONT color=#333300><B>ifquelen ip</B>,<B>ifquelen
arp</B></FONT></P>
<H4><FONT color=#333300><A
name="1.3.8 show version"><BIG>1.3.8 show
version</BIG></A></FONT></H4>
<P><FONT color=#333300>显示系统版本信息。</FONT></P>
<P><FONT color=#333300><B>show</B> <B>version</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#show version</FONT></P>
<P><FONT color=#333300>Quidway Router Software Version 3.0-Mar
17 1999-03:31:59</FONT></P>
<P><FONT color=#333300>Copyright (c) 1997-2000 SHENZHEN HUAWEI
TECH CO.,LTD.hardware version is 1.0</FONT></P>
<H3><FONT color=#333300>1.4 网络测试工具命令</FONT></H3>
<P><FONT color=#333300>网络测试工具命令包括:</FONT>
<UL type=disc>
<LI><FONT color=#333300>ping</FONT>
<LI><FONT color=#333300>ping ipx</FONT>
<LI><FONT color=#333300>traceroute</FONT> </LI></UL>
<H4><FONT color=#333300><A name="1.4.1 ping"><BIG>1.4.1
ping</BIG></A></FONT></H4>
<P><FONT color=#333300>检查 IP 网络连接及主机是否可达。</FONT></P>
<P><FONT color=#333300><B>ping</B> [ <B>ip</B> ] [ <B>-R</B> ]
[ <B>-d</B> ] [ <B>-n</B> ] [ <B>-q</B> ] [ <B>-r</B> ] [
<B>-v</B> ] [<B>-c</B> <I>count</I> ] [ <B>-p</B>
<I>pattern</I> ] [ <B>-s</B> <I>packetsize</I> ] [ <B>-t</B>
<I>timeout</I> ] <I>host</I></FONT></P>
<P><FONT color=#333300 size=3>【参数说明】</FONT></P>
<P><FONT color=#333300>各选项及参数说明:</FONT>
<UL type=disc>
<LI><FONT color=#333300>-<B>c</B> <I>count</I>为发送ICMP
ECHO-REQUEST报文次数,范围1~4294967295。</FONT>
<LI><FONT color=#333300>-<B>d</B>设置socket为DEBUG模式。</FONT>
<LI><FONT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -