📄 222427-2.html
字号:
<HTML>
<HEAD>
<TITLE>switch命令大全</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<link href="cisco.css" tppabs="http://www.net130.com/images/cisco.css" rel="stylesheet"
type="text/css">
<meta name="keywords"
content="cisco,ccna,ccnp,net,net130,ccie,bbs.net130.com.net,TestKing
">
</HEAD>
<BODY BGCOLOR=#EAEAEA LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0
MARGINHEIGHT=0>
<table cellspacing=0 cellpadding=0 width=780 align=center border=0
bgcolor="#99CCFF">
<tbody>
<tr>
<td width="7"> </td>
<td nowrap height=25>
<form action="http://bbs.net130.com/member.php" method="post">
<font face="宋体,verdana,arial,helvetica" > Cisco网络技术论
坛-> <font color="#000000">用户名</font></font>
<input type="hidden" name="s"
value="67c92557f3c0e73f48507762f7d6cf05">
<input type="hidden" name="action" value="login">
<input type="text" class="input1" name="username" size="7">
密码
<input type="password" class="input1" name="password"
size="7">
<input type="submit" class="input2" value="登录"
name="submit">
</form>
</td>
<td nowrap><form method=post action="http://www.net130.com/search.asp">
<table border=0><tr><td><font color="#000000">搜索</font></td><td>
<input type="text" name="keyword" size="10" class=input1></td><td>
<select name="condition" class=input1>
<option value="title">标题</option>
<option value="content">内容</option>
</select></td><td>
<input type="submit" class=input2 name="Submit"
value="搜索"></td></tr></table>
</form></td>
<td width="11">
<div align=right></div>
</td>
</tr>
</tbody>
</table>
<table width="780" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr bgcolor="#ECB70A">
<td colspan="2"><img src="space.gif" tppabs="http://www.net130.com/images/space.gif" width="1"
height="3"></td>
</tr>
<tr>
<td width="200" height="70"><img src="logo.gif" tppabs="http://www.net130.com/images/logo.gif"
width="185" height="60"></td>
<td>
<div align="center"><a href="javascript:if(confirm('http://bbs.net130.com/ \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://bbs.net130.com/'" tppabs="http://bbs.net130.com/" target="_blank"><img src="net130_lt.jpg" tppabs="http://www.net130.com/images/home/net130_lt.jpg" border="0"></a>
<!---- <script src="/inc/ad_news_content.js"></script> ---->
</div>
</td>
</tr>
</table>
<TABLE cellSpacing=0 cellPadding=0 width=780 align=center border=0
style="border-top:1px solid #666666;border-bottom:1px solid
#666666">
<TBODY>
<TR>
<TD width=185 bgcolor="#004D9C">
<DIV
align=center><font
style="font-size:17px;font-family:arial;font-weight:bold;text-decora
tion:none;color:#FFFFFF;">Net130.com</font></DIV>
</TD>
<TD width=595 bgColor=#FFFFFF>
<script src="navigation2.js" tppabs="http://www.net130.com/inc/navigation2.js"></script>
</TD>
</TR>
</TBODY>
</TABLE>
<table width="780" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td><img name="" src="space.gif" tppabs="http://www.net130.com/images/space.gif" width="1"
height="1" alt=""></td>
</tr>
</table>
<table width="780" border="0" align="center" cellpadding="0"
cellspacing="0" style="border-left:1px solid #dddddd;">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td><img src="space.gif" tppabs="http://www.net130.com/images/space.gif" width="1"
height="1"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td height="22" background="head_bg.gif" tppabs="http://www.net130.com/images/head_bg.gif"> </td>
</tr>
</table>
<table width="95%" border="0" align="center"
cellpadding="2" cellspacing="2">
<tr valign="bottom">
<td height="40" colspan="2" class="title" align=center>
<strong>switch命令大全</strong>
<hr size="1" width="95%" align="center">
</td>
</tr>
<tr>
<td height="40" colspan="2" valign="top"
class="chinese9ptmain">
<div align="center">
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td width="20%"> </td>
<td width="56%" height="18">
<div
align="center">http://www.net130.com 发布日期:2004-5-12</div>
</td>
<td width="24%">
<div align="center">浏览次数:<script src="Click.asp-filename=222427" tppabs="http://www.net130.com/Click.asp?filename=222427"></script></div>
</td>
</tr>
<tr>
<td width="20%"> </td>
<td width="56%" height="18">
<div align="center"> </div>
</td>
<td width="24%"> </td>
</tr>
</table>
</div>
</td>
</tr>
<tr bgcolor="#f8f8f8">
<td colspan="2" class="chinesefont105pt"> <BR>51. 当某个交换机的第3层交换失效时,可在交换机的特权模式下输入下列命令: </P>
<P>switch(enable) set mls enable </P>
<P>52. 若想改变老化时间的值,可在特权模式下输入以下命令: </P>
<P>switch(enable) set mls agingtime agingtime </P>
<P>53. 设置快速老化: </P>
<P>switch(enable) set mls agingtime fast fastagingtime pkt_threshold </P>
<P>54. 确定那些MLS-RP和MLS-SE参与了MLS,可先显示交换机引用列表中的内容再确定: </P>
<P>switch(enable) show mls include </P>
<P>55. 显示MLS高速缓存记录: </P>
<P>switch(enable) show mls entry </P>
<P>56. 用命令show in arp显示ARP高速缓存区的内容。 </P>
<P>57. 要把路由器配置为HSRP备份组的成员,可以在接口配置模式下使用下面的命令: </P>
<P>router(config-if)# standby group-number ip ip-address </P>
<P>58. 为了使一个路由器重新恢复转发路由器的角色,在接口配置模式下: </P>
<P>router(config-if)# standy group-number preempt </P>
<P>59. 访问时间和保持时间参数是可配置的: </P>
<P>router(config-if)# standy group-number timers hellotime holdtime </P>
<P>60. 配置HSRP跟踪: </P>
<P>router(config-if)# standy group-number track type-number interface-priority </P>
<P>61. 要显示HSRP路由器的状态: </P>
<P>router# show standby type-number group brief </P>
<P>62. 用命令show ip igmp确定当选的查询器。 </P>
<P>63. 启动IP组播路由选择: </P>
<P>router(config)# ip muticast-routing </P>
<P>64. 启动接口上的PIM: </P>
<P>dalllasr1>(config-if)# ip pim {dense-mode|sparse-mode|sparse-dense-mode} </P>
<P>65. 启动稀疏-稠密模式下的PIM: </P>
<P>router# ip multicast-routing </P>
<P>router# interface type number </P>
<P>router# ip pim sparse-dense-mode </P>
<P>66. 核实PIM的配置: </P>
<P>dallasr1># show ip pim interface[type number] [count] </P>
<P>67. 显示PIM邻居: </P>
<P>dallasr1># show ip neighbor type number </P>
<P>68. 为了配置RP的地址,命令如下: </P>
<P>dallasr1># ip pim rp-address ip-address [group-access-list-number][override] </P>
<P>69. 选择一个默认的RP: </P>
<P>dallasr1># ip pim rp-address </P>
<P>通告RP和它所服务的组范围: </P>
<P>dallasr1># ip pim send-rp-announce type number scope ttl group-list access-list-number </P>
<P>为管理范围组通告RP的地址: </P>
<P>dallasr1># ip pim send-rp-announce ethernet0 scope 16 group-list1 </P>
<P>dallasr1># access-list 1 permit 266.0.0.0 0.255.255.255 </P>
<P>设定一个RP映像代理: </P>
<P>dallasr1># ip pim send-rp-discovery scope ttl </P>
<P>核实组到RP的映像: </P>
<P>dallasr1># show ip pim rp mapping </P>
<P>dallasr1># show ip pim rp [group-name|group-address] [mapping] </P>
<P>70. 在路由器接口上用命令ip multicast ttl-threshold ttl-value设定TTL阀值: </P>
<P>dallasr1>(config-if)# ip multicast ttl-threshold ttl-value </P>
<P>71. 用show ip pim neighbor显示PIM邻居表。 </P>
<P>72. 显示组播通信路由表中的各条记录: </P>
<P>dallasr1>show ip mroute [group-name|group-address][scoure][summary][count][active kbps] </P>
<P>73. 要记录一个路由器接受和发送的全部IP组播包: </P>
<P>dallasr1> #debug ip mpacket [detail] [access-list][group] </P>
<P>74. 要在CISCO路由器上配置CGMP: </P>
<P>dallasr1>(config-if)# ip cgmp </P>
<P>75.配置一个组播路由器,使之加入某一个特定的组播组: </P>
<P>dallasr1>(config-if)# ip igmp join-group group-address </P>
<P>76. 关闭 CGMP: </P>
<P>dallasr1>(config-if)# no ip cgmp </P>
<P>77. 启动交换机上的CGMP: </P>
<P>dallasr1>(enable) set cgmp enable </P>
<P>78. 核实Catalyst交换机上CGMP的配置情况: </P>
<P>catalystla1>(enable) show config </P>
<P>set prompt catalystla1> </P>
<P>set interface sc0 192.168.1.1 255.255.255.0 </P>
<P>set cgmp enable </P>
<P>79. CGMP离开的设置: </P>
<P>Dallas_SW(enable) set cgmp leave </P>
<P>80. 在Cisco设备上修改控制端口密码: </P>
<P>R1(config)# line console 0 </P>
<P>R1(config-line)# login </P>
<P>R1(config-line)# password Lisbon </P>
<P>R1(config)# enable password Lilbao </P>
<P>R1(config)# login local </P>
<P>R1(config)# username student password cisco </P>
<P>81. 在Cisco设备上设置控制台及vty端口的会话超时: </P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -