📄 222427-2.html
字号:
<P>R1(config)# line console 0 </P>
<P>R1(config-line)# exec-timeout 5 10 </P>
<P>R1(config)# line vty 0 4 </P>
<P>R1(config-line)# exec-timeout 5 2 </P>
<P>82. 在Cisco设备上设定特权级: </P>
<P>R1(config)# privilege configure level 3 username </P>
<P>R1(config)# privilege configure level 3 copy run start </P>
<P>R1(config)# privilege configure level 3 ping </P>
<P>R1(config)# privilege configure level 3 show run </P>
<P>R1(config)# enable secret level 3 cisco </P>
<P>83. 使用命令privilege 可定义在该特权级下使用的命令: </P>
<P>router(config)# privilege mode level level command </P>
<P>84. 设定用户特权级: </P>
<P>router(config)# enable secret level 3 dallas </P>
<P>router(config)# enable secret san-fran </P>
<P>router(config)# username student password cisco </P>
<P>85. 标志设置与显示: </P>
<P>R1(config)# banner motd ‘unauthorized access will be prosecuted!’ </P>
<P>86. 设置vty访问: </P>
<P>R1(config)# access-list 1 permit 192.168.2.5 </P>
<P>R1(config)# line vty 0 4 </P>
<P>R1(config)# access-class 1 in </P>
<P>87. 配置HTTP访问: </P>
<P>Router3(config)# access-list 1 permit 192.168.10.7 </P>
<P>Router3(config)# ip http sever </P>
<P>Router3(config)# ip http access-class 1 </P>
<P>Router3(config)# ip http authentication local </P>
<P>Router3(config)# username student password cisco </P>
<P>88. 要启用HTTP访问,请键入以下命令: </P>
<P>switch(config)# ip http sever </P>
<P>89. 在基于set命令的交换机上用setCL1启动和核实端口安全: </P>
<P>switch(enable) set port security mod_num/port_num…enable mac address </P>
<P>switch(enable) show port mod_num/port_num </P>
<P>在基于CiscoIOS命令的交换机上启动和核实端口安全: </P>
<P>switch(config-if)# port secure [mac-mac-count maximum-MAC-count] </P>
<P>switch# show mac-address-table security [type module/port] </P>
<P>90. 用命令access-list在标准通信量过滤表中创建一条记录: </P>
<P>Router(config)# access-list access-list-number {permit|deny} source-address [source-address] </P>
<P>91. 用命令access-list在扩展通信量过滤表中创建一条记录: </P>
<P>Router(config)# access-list access-list-number {permit|deny{protocol|protocol-keyword}}{source source-wildcard|any}{destination destination-wildcard|any}[protocol-specific options][log] </P>
<P>92. 对于带内路由更新,配置路由更新的最基本的命令格式是: </P>
<P>R1(config-router)#distribute-list access-list-number|name in [type number] </P>
<P>93. 对于带外路由更新,配置路由更新的最基本的命令格式是: </P>
<P>R1(config-router)#distribute-list access-list-number|name out [interface-name] routing-process| autonomous-system-number </P>
<P>94. set snmp命令选项: </P>
<P>set snmp community {read-only|ready-write|read-write-all}[community_string] </P>
<P>95. set snmp trap 命令格式如下: </P>
<P>set snmp trap {enable|disable} </P>
<P>[all|moudle|classis|bridge|repeater| auth|vtp|ippermit|vmps|config|entity|stpx] </P>
<P>set snmp trap rvcr_addr rcvr_community </P>
<P>96. 启用SNMP chassis 陷阱: </P>
<P>Console>(enable) set snmp trap enable chassis </P>
<P>97. 启用所有SNMP chassis 陷阱: </P>
<P>Console>(enable) set snmp trap enable </P>
<P>98. 禁用SNMP chassis 陷阱: </P>
<P>Console>(enable) set snmp trap disable chassis </P>
<P>99. 给SNMP陷阱接收表加一条记录: </P>
<P>Console>(enable) set snmp trap 192.122.173.42 public </P>
<P>100. show snmp 输出结果。 </P>
<P><p align=center> <a href="222427.html" tppabs="http://www.net130.com/2004/5-12/222427.html" style=color:#0000ff>1</a> <a href="222427-2.html" tppabs="http://www.net130.com/2004/5-12/222427-2.html" style=color:#0000ff>2</a> <a href="222427-3.html" tppabs="http://www.net130.com/2004/5-12/222427-3.html" style=color:#0000ff>3</a> </td>
</tr>
<tr>
<td colspan="2" class="chinesefont105pt">
<div align="right"></div>
</td>
</tr>
<tr>
<td colspan="2" class="chinesefont105pt"><div
align="right">【<A class=a01 href="javascript:Print()">打印</A> 】【
<A
href="javascript:window.close()">关闭</A>】【<a href="javascript:if(confirm('http://www.net130.com/sendmail.asp?filename=222427 \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.net130.com/sendmail.asp?filename=222427'" tppabs="http://www.net130.com/sendmail.asp?filename=222427" target=_blank>发送给好友</a>】</div></td>
</tr>
<tr>
<td width="51%" class="chinesefont105pt"> </td>
<td width="49%" class="chinesefont105pt"> </td>
</tr>
</table>
<table width="80%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>
<script type="text/javascript"><!--
google_ad_client = "pub-4380430282956782";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_channel ="3678136208";
google_ad_type = "text_image";
google_color_border = "336699";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="show_ads.js" tppabs="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
<table
width=90% height="123" border=0 cellpadding=0 cellspacing=2
class=gary
style="BORDER-BOTTOM: #adbb52 1px solid; BORDER-LEFT: #adbb52
1px solid; BORDER-RIGHT: #adbb52 1px solid; BORDER-TOP: #adbb52 1px
solid" align="center">
<tbody>
<tr align=left valign=center>
<td height=18 bgcolor=#f4f4db><strong><font
color="#000000">相关信息</font></strong></td>
</tr>
<tr>
<td height="99" align=middle valign=top>
<div align="left">·<a href= "222427.html" tppabs="http://www.net130.com/2004/5-12/222427.html" target=_blank>switch命令大全</a><br> </div>
</td>
</tr>
</tbody>
</table>
<table width="80%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
</tr>
</table>
<!--<table
width=90% height="150" border=0 cellpadding=0 cellspacing=2
class=gary
style="BORDER-BOTTOM: #adbb52 1px solid; BORDER-LEFT: #adbb52
1px solid; BORDER-RIGHT: #adbb52 1px solid; BORDER-TOP: #adbb52 1px
solid" align="center">
<tbody>
<tr align=left valign=center>
<td height=19
bgcolor=#f4f4db><strong>新闻评论</strong></td>
</tr>
<tr>
<td height="99" align=middle valign=top>
<div align="left"><form method=post action=http://www.net130.com/add_review.asp><input type=hidden Name=FileName value=222427>共有评论<font color=red><script src=http://www.net130.com/reviewcount.asp?filename=222427></script></font>篇 <a href=222427.asp>查看评论</a><br>姓名:<input type=text name=Name><br><textarea name=Content cols=60 rows=5 title=不支持HTML,支持UBB代码></textarea></font><br><input type=submit name=Submit value=发表评论></form></div>
</td>
</tr>
</tbody>
</table>-->
<p> </p>
</td>
<td width="182" valign="top" bgcolor="#F4F4D9">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><img name=""
src="space.gif" tppabs="http://www.net130.com/images/space.gif" width="1" height="1" alt=""></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td height="20" bgcolor="#f4f4db">
<script type="text/javascript"><!--
google_ad_client = "pub-4380430282956782";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_channel ="0412572975";
google_ad_type = "text_image";
google_color_border = "FF4500";
google_color_bg = "FFEBCD";
google_color_link = "DE7008";
google_color_url = "E0AD12";
google_color_text = "8B4513";
//--></script>
<script type="text/javascript"
src="show_ads.js" tppabs="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
<tr>
<td height="20" bgcolor="#FFCC00"><span
class="glow1"><font color="#333333">热点文章</font></span></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="6"
cellpadding="4">
<tr>
<td><script src="Hots_News.js" tppabs="http://www.net130.com/CodeJS/Hots_News.js"></script></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
<table width="780" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td><img src="space.gif" tppabs="http://www.net130.com/images/space.gif" width="1" height="1"></td>
</tr>
</table>
<table width="780" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td height="5" bgcolor="#FFFFFF"><hr align="center"
size="1"></td>
</tr>
</table>
<TABLE cellSpacing=0 cellPadding=0 width=780 align=center border=0>
<TBODY>
<TR>
<TD height=70>
<DIV align=center>
<script src="copyright1.js" tppabs="http://www.net130.com/inc/copyright1.js"></script>
</DIV>
</TD>
</TR>
</TBODY>
</TABLE>
<p> </p>
<p> </p>
<p> </p>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -