📄 第二章 接口配置命令.htm
字号:
pri-group</A></BIG></FONT></H4>
<P><FONT color=#003333>将CE1/PRI接口时隙捆绑为pri-group。</FONT></P>
<P><FONT color=#003333><B>pri-group </B>[<B> timeslots </B>{<B>
</B><I>number</I><B> </B>| <I>number1</I>-<I>number2</I> } [,<I>number</I>
| <I>number1</I>-<I>number2</I> ... ] ]</FONT></P>
<P><FONT color=#003333><B>no</B> <B>pri-group</B></FONT></P>
<P><FONT color=#003333 size=3>【参数说明】</FONT></P>
<P><FONT
color=#003333>捆绑时隙时,既可以指定单个时隙<I>number</I>,也可以指定时隙范围<I>number1</I>-<I>number2</I>
。</FONT></P>
<P><FONT color=#003333><B>注意:</B>由于时隙16作为D信道用于传输信令,不能作为捆绑时隙。</FONT></P>
<P><FONT color=#003333 size=3>【缺省情况】</FONT></P>
<P><FONT color=#003333>缺省没有创建PRI捆绑。</FONT></P>
<P><FONT color=#003333 size=3>【命令模式】</FONT></P>
<P><FONT color=#003333>CE1/PRI接口配置模式</FONT></P>
<P><FONT color=#003333 size=3>【使用指南】</FONT></P>
<P><FONT
color=#003333>CE1/PRI接口只能捆绑生成一个pri-group使用,其逻辑特性与ISDN拨号口相同,支持PPP链路层协议,支持IP和IPX等网络协议,可以配置DDR等参数。</FONT></P>
<P><FONT color=#003333><B>no pri-group</B>取消相应的时隙捆绑。</FONT></P>
<P><FONT color=#003333>pri-group的索引号固定为15。</FONT></P>
<P><FONT color=#003333 size=3>【举例】</FONT></P>
<P><FONT color=#003333>将CE1/PRI接口的1,2,8~12等时隙捆绑为pri-group。</FONT></P>
<P><FONT color=#003333>Quidway(config-if-E0)#pri-group timeslots
1,2,8-12</FONT></P>
<P><FONT color=#003333 size=3>【相关命令】</FONT></P>
<P><FONT color=#003333><B>channel-group</B></FONT></P>
<H3><FONT color=#003333>2.4 接口管理命令</FONT></H3>
<P><FONT color=#003333>接口管理命令包括:</FONT>
<UL type=disc>
<LI><FONT color=#003333>clear port</FONT>
<LI><FONT color=#003333>shutdown</FONT>
<LI><FONT color=#003333>show interface</FONT> </LI></UL>
<H4><FONT color=#003333><A name="2.4.1 clear port"><BIG>2.4.1 clear
port</BIG></A></FONT></H4>
<P><FONT color=#003333>清除接口统计信息。</FONT></P>
<P><FONT color=#003333><B>clear port</B> [ <I>interface-type
interface-number</I> | <I>interface-name</I> ]</FONT></P>
<P><FONT color=#003333 size=3>【参数说明】</FONT></P>
<P><FONT
color=#003333><I>interface-type</I>指接口类型,如Ethernet、Serial和Bri等。</FONT></P>
<P><FONT color=#003333><I>interface-number</I>指接口编号。</FONT></P>
<P><FONT
color=#003333><I>interface-name</I>为接口名,为一字符串,内容为接口类型+接口编号。</FONT></P>
<P><FONT color=#003333 size=3>【缺省情况】</FONT></P>
<P><FONT color=#003333>如果不指定相应接口,则清除全部接口的统计信息。</FONT></P>
<P><FONT color=#003333 size=3>【命令模式】</FONT></P>
<P><FONT color=#003333>特权用户模式</FONT></P>
<P><FONT color=#003333 size=3>【使用指南】</FONT></P>
<P><FONT
color=#003333>在某些情况下,需要统计一定时间内某接口的流量统计,这时必须在统计开始前清除该接口原有的统计信息,使接口重新进行统计。</FONT></P>
<P><FONT color=#003333 size=3>【举例】</FONT></P>
<P><FONT color=#003333>清除接口Serial0的统计信息。</FONT></P>
<P><FONT color=#003333>Quidway#clear port serial0</FONT></P>
<P><FONT color=#003333 size=3>【相关命令】</FONT></P>
<P><FONT color=#003333><B>show interface</B></FONT></P>
<H4><FONT color=#003333><A name="2.4.2 shutdown"><BIG>2.4.2
shutdown</BIG></A></FONT></H4>
<P><FONT color=#003333>关闭或重新启动物理接口。</FONT></P>
<P><FONT color=#003333>[ <B>no</B> ] <B>shutdown</B></FONT></P>
<P><FONT color=#003333 size=3>【缺省情况】</FONT></P>
<P><FONT color=#003333>在路由器上电时,初始化并启动各物理接口。</FONT></P>
<P><FONT color=#003333 size=3>【命令模式】</FONT></P>
<P><FONT color=#003333>接口配置模式</FONT></P>
<P><FONT color=#003333 size=3>【使用指南】</FONT></P>
<P><FONT
color=#003333>慎重使用关闭和重启接口命令,但在某些特殊情况下,如修改接口的工作参数时,不能立即生效,需要关闭和重启接口后,才能生效。</FONT></P>
<P><FONT color=#003333 size=3>【举例】</FONT></P>
<P><FONT color=#003333>关闭接口Serial0。</FONT></P>
<P><FONT color=#003333>Quidway(config-if-Serial0)#shutdown</FONT></P>
<P><FONT color=#003333>%Serial0 is shutdown</FONT></P>
<P><FONT color=#003333>%Interface Serial0 changed state to DOWN</FONT></P>
<P><FONT color=#003333>%Line protocol IP on interface Serial0 changed
state to DOWN</FONT></P>
<P><FONT color=#003333 size=3>【相关命令】</FONT></P>
<P><FONT color=#003333><B>show interface</B></FONT></P>
<H4><FONT color=#003333><A name="2.4.3 show interface"><BIG>2.4.3 show
interface</BIG></A></FONT></H4>
<P><FONT color=#003333>显示接口当前运行状态和接口统计信息。</FONT></P>
<P><FONT color=#003333><B>show interface</B> { <I>interface-type</I>
<I>interface-number</I> | <I>interface-name</I> }</FONT></P>
<P><FONT color=#003333 size=3>【参数说明】</FONT></P>
<P><FONT
color=#003333><I>interface-type</I>指接口类型,如Ethernet、Serial和Bri等。</FONT></P>
<P><FONT color=#003333><I>interface-number</I>指接口编号。</FONT></P>
<P><FONT
color=#003333><I>interface-name</I>为接口名,为一字符串,内容为接口类型+接口编号。</FONT></P>
<P><FONT color=#003333 size=3>【命令模式】</FONT></P>
<P><FONT color=#003333>特权用户模式</FONT></P>
<P><FONT color=#003333 size=3>【使用指南】</FONT></P>
<P><FONT color=#003333><B>show interface</B>命令显示信息包括:</FONT>
<UL type=disc>
<LI><FONT color=#003333>接口的物理状态和协议状态</FONT>
<LI><FONT color=#003333>接口物理特性(同异步、DTE/DCE、时钟选择,外接电缆等)</FONT>
<LI><FONT color=#003333>接口IP地址</FONT>
<LI><FONT color=#003333>接口封装的链路层协议以及链路层协议运行状态和统计信息等</FONT>
<LI><FONT color=#003333>接口的输入输出报文统计信息</FONT> </LI></UL>
<P><FONT color=#003333>用户可以根据这些信息进行流量统计和接口的故障诊断等。</FONT></P>
<P><FONT color=#003333 size=3>【举例】</FONT></P>
<P><FONT color=#003333>查看接口Serial0(封装PPP协议)的运行状态和统计信息。</FONT></P>
<P><FONT color=#003333>#show interface serial 0</FONT></P>
<P><FONT color=#003333>Serial0 is up, line protocol is up</FONT></P>
<P><FONT color=#003333>physical layer is synchronous</FONT></P>
<P><FONT color=#003333>interface is DTE, clock is DTECLK1, cable type is
V35</FONT></P>
<P><FONT color=#003333>Internet address is 10.3.0.158
255.255.255.252</FONT></P>
<P><FONT color=#003333>Encapsulation is PPP</FONT></P>
<P><FONT color=#003333>LCP opened, IPCP opened, IPXCP disabled</FONT></P>
<P><FONT color=#003333>Output queue 30/0, 33081 drops; Input queue 30/1, 0
drops.</FONT></P>
<P><FONT color=#003333>5 minutes input rate 1288.14 bytes/sec, 4.97
packets/sec</FONT></P>
<P><FONT color=#003333>5 minutes output rate 3077.11 bytes/sec, 4.94
packets/sec</FONT></P>
<P><FONT color=#003333>997074 packets input, 485012871 bytes, 0 no
buffers</FONT></P>
<P><FONT color=#003333>1825361 packets output, 542976191 bytes, 0 no
buffers</FONT></P>
<P><FONT color=#003333>1171945 input errors, 437713 CRC, 504161 frame
errors</FONT></P>
<P><FONT color=#003333>0 overrunners, 230071 aborted sequences, 0 input no
buffers</FONT>
<!--msnavigation--></P></TD></TR><!--msnavigation--></TBODY></TABLE><!--msnavigation-->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<TABLE height=163 cellSpacing=0 cellPadding=0 width=768 border=0>
<TBODY>
<TR>
<TD align=middle width=766 height=40>
<P align=center><A target=_blank
href="http://www.363.net/cgi-bin/gb2000/gb.cgi?id=zhengwei"><FONT
size=2>我要留言</FONT></A><FONT size=2><BR><BR></FONT></P></TD></TR>
<TR>
<TD align=middle width=766 height=123>
<P align=center><FONT size=2><A
href="http://www.ccilan.com/index.htm">首页</A> | </FONT><A
href="http://www.ccilan.com/ljwm.htm"><FONT color=#0000ff
size=2>了解我们</FONT></A><FONT size=2> | </FONT><A
href="http://www.ccilan.com/dxdl.htm"><FONT color=#0000ff
size=2>电线电缆</FONT></A><FONT size=2> | </FONT><A
href="http://www.ccilan.com/gsbj.htm"><FONT color=#0000ff
size=2>公司报介</FONT></A><FONT size=2> | </FONT><A
href="http://www.ccilan.com/hybz.htm"><FONT color=#0000ff
size=2>网络服务</FONT></A><FONT size=2> | </FONT><FONT color=red
size=2><A target=_blank
href="http://www.ccilan.com/lxwm.htm">联系我们</A></FONT><FONT size=2> |
</FONT><FONT color=#0000ff size=2><A target=_blank
href="http://www.ccilan.com/qdxz.htm">驱动下载</A></FONT><FONT
size=2><FONT color=red> </FONT>|<A
href="http://www.ccilan.com/jszs.htm">技术支持</A>|<FONT color=red>
</FONT></FONT><A target=_blank
href="http://www.ccilan.com/guestbook.htm"><FONT color=#0000ff
size=2>给我留言</FONT></A><FONT color=#0000ff size=2>|</FONT>
<P align=center><FONT size=2>如有关于本站点的问题或建议,请向<A
href="mailto:zheng_wei@263.net">mailto:zheng_wei@263.net</A>发邮件。</FONT>
<P align=center><FONT size=2>hao hui wang lou you xian gong shi
<BR><A href="http://www.ccilan.com/zg.htm"><FONT color=#ffffff>zheng
wei</FONT></A></FONT></P>
<P align=center><FONT size=2>板权所有 深圳盛伟盟实业有限公司</FONT></P>
<P align=center> </P>
<P align=center> </P>
<P
align=center> </P></TD></TR></TBODY></TABLE></TD></TR><!--msnavigation--></TBODY></TABLE></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -