?? 222427-2.html
字號(hào):
<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網(wǎng)絡(luò)技術(shù)論
壇-> <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">標(biāo)題</option>
<option value="content">內(nèi)容</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 發(fā)布日期:2004-5-12</div>
</td>
<td width="24%">
<div align="center">瀏覽次數(shù):<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. 當(dāng)某個(gè)交換機(jī)的第3層交換失效時(shí),可在交換機(jī)的特權(quán)模式下輸入下列命令: </P>
<P>switch(enable) set mls enable </P>
<P>52. 若想改變老化時(shí)間的值,可在特權(quán)模式下輸入以下命令: </P>
<P>switch(enable) set mls agingtime agingtime </P>
<P>53. 設(shè)置快速老化: </P>
<P>switch(enable) set mls agingtime fast fastagingtime pkt_threshold </P>
<P>54. 確定那些MLS-RP和MLS-SE參與了MLS,可先顯示交換機(jī)引用列表中的內(nèi)容再確定: </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高速緩存區(qū)的內(nèi)容。 </P>
<P>57. 要把路由器配置為HSRP備份組的成員,可以在接口配置模式下使用下面的命令: </P>
<P>router(config-if)# standby group-number ip ip-address </P>
<P>58. 為了使一個(gè)路由器重新恢復(fù)轉(zhuǎn)發(fā)路由器的角色,在接口配置模式下: </P>
<P>router(config-if)# standy group-number preempt </P>
<P>59. 訪問時(shí)間和保持時(shí)間參數(shù)是可配置的: </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路由器的狀態(tài): </P>
<P>router# show standby type-number group brief </P>
<P>62. 用命令show ip igmp確定當(dāng)選的查詢器。 </P>
<P>63. 啟動(dòng)IP組播路由選擇: </P>
<P>router(config)# ip muticast-routing </P>
<P>64. 啟動(dòng)接口上的PIM: </P>
<P>dalllasr1>(config-if)# ip pim {dense-mode|sparse-mode|sparse-dense-mode} </P>
<P>65. 啟動(dòng)稀疏-稠密模式下的PIM: </P>
<P>router# ip multicast-routing </P>
<P>router# interface type number </P>
<P>router# ip pim sparse-dense-mode </P>
<P>66. 核實(shí)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. 選擇一個(gè)默認(rèn)的RP: </P>
<P>dallasr1># ip pim rp-address </P>
<P>通告RP和它所服務(wù)的組范圍: </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>設(shè)定一個(gè)RP映像代理: </P>
<P>dallasr1># ip pim send-rp-discovery scope ttl </P>
<P>核實(shí)組到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設(shè)定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. 要記錄一個(gè)路由器接受和發(fā)送的全部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.配置一個(gè)組播路由器,使之加入某一個(gè)特定的組播組: </P>
<P>dallasr1>(config-if)# ip igmp join-group group-address </P>
<P>76. 關(guān)閉 CGMP: </P>
<P>dallasr1>(config-if)# no ip cgmp </P>
<P>77. 啟動(dòng)交換機(jī)上的CGMP: </P>
<P>dallasr1>(enable) set cgmp enable </P>
<P>78. 核實(shí)Catalyst交換機(jī)上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離開的設(shè)置: </P>
<P>Dallas_SW(enable) set cgmp leave </P>
<P>80. 在Cisco設(shè)備上修改控制端口密碼: </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設(shè)備上設(shè)置控制臺(tái)及vty端口的會(huì)話超時(shí): </P>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -