卖逼视频免费看片|狼人就干网中文字慕|成人av影院导航|人妻少妇精品无码专区二区妖婧|亚洲丝袜视频玖玖|一区二区免费中文|日本高清无码一区|国产91无码小说|国产黄片子视频91sese日韩|免费高清无码成人网站入口

telnet路由器常用命令詳解

1. clockset 設(shè)置路由器當(dāng)前日期和時(shí)鐘。1. clockset設(shè)置路由器當(dāng)前日期和時(shí)鐘。clocksethour:minute:seconddaymonthyear【參數(shù)說(shuō)明】hour:

1. clockset 設(shè)置路由器當(dāng)前日期和時(shí)鐘。

1. clockset

設(shè)置路由器當(dāng)前日期和時(shí)鐘。

clocksethour:minute:seconddaymonthyear

【參數(shù)說(shuō)明】

hour:minute:second為當(dāng)前時(shí)鐘,hour 范圍為1~24,minute 和second 范圍為1~60。

year 、month 和day 分別為當(dāng)前年、月和日,year 范圍為1997~2025,month 范圍為1~12,day 范圍為1~31。

【缺省情況】

系統(tǒng)啟動(dòng)時(shí)缺省為1997年1月1日0:0:0。

【命令模式】

普通用戶(hù)模式、特權(quán)用戶(hù)模式

【使用指南】

由于Quidway(R)系列路由器在下電后不能繼續(xù)計(jì)時(shí),因此在需要嚴(yán)格獲取絕對(duì)時(shí)間的應(yīng)用環(huán)境中,必須設(shè)定路由器的當(dāng)前日期和時(shí)鐘。

【舉例】

設(shè)置路由器當(dāng)前日期為2000年1月1日0時(shí)0分0秒。

Quidway#clockset0:0:0112000

【相關(guān)命令】

showclock

2. hostname

設(shè)置路由器的域名。

hostnamehostname

,

【參數(shù)說(shuō)明】

hostname 為一字符串。

【缺省情況】

路由器缺省域名為Quidway 。

【命令模式】

全局配置模式

【使用指南】

修改路由器的域名將影響命令行接口的提示符,如路由器的域名為Quidway ,特權(quán)用戶(hù)模式下的提示符為Quidway#。

【舉例】

設(shè)置路由器的域名為QuidwayR2501。

Quidway#hostnameQuidwayR2501

QuidwayR2501#

【相關(guān)命令】

showhostname

3.reboot

重啟路由器。

reboot

【命令模式】

特權(quán)用戶(hù)模式

【使用指南】

該命令功能與路由器下電再上電效果相同,但在對(duì)路由器遠(yuǎn)程維護(hù)時(shí),不需用戶(hù)到路由器所在地重啟路由器,而直接在遠(yuǎn)地即可重啟路由器。

,

在一般情況下,禁止使用該命令,因?yàn)樗鼘?dǎo)致網(wǎng)絡(luò)工作在短時(shí)間內(nèi)癱瘓,另外在重啟路由器時(shí),要確保路由器配置文件是否需要保存。

【舉例】

重新啟動(dòng)路由器。

Quidway#reboot

WARNING:SystemwillREBOOT!Continue?[Y/N]y

Systemisnowrebooting ,pleasewait.

4. setup

以交互方式引導(dǎo)用戶(hù)對(duì)路由器運(yùn)行所必需的基本參數(shù)進(jìn)行配置。

setup

【缺省情況】

在配置某參數(shù)時(shí),如果當(dāng)前該參? 經(jīng)配置,則顯示其當(dāng)前值作為缺省值,用戶(hù)不作修改可以直接鍵入回車(chē)即可。

【命令模式】

特權(quán)用戶(hù)模式

【使用指南】

當(dāng)用戶(hù)首次將路由器上電啟動(dòng)時(shí),系統(tǒng)將自動(dòng)執(zhí)行setup 引導(dǎo)用戶(hù)對(duì)路由器運(yùn)行所必需的參數(shù)進(jìn)行配置,這些參數(shù)包括:

路由器域名

特權(quán)用戶(hù)口令

SNMP 參數(shù)

選擇IP 、IPX 和橋等網(wǎng)絡(luò)協(xié)議

各接口的IP 地址、IPX 網(wǎng)絡(luò)號(hào)和是否啟動(dòng)橋等

另外setup 作為一條命令,特權(quán)用戶(hù)可以隨時(shí)執(zhí)行。

,

【舉例】

Quidway#setup

---SystemConfigurationDialog---

$#@60;=簡(jiǎn)單提示信息

Atanypointyoumayenteraquestionmark ?forhelp.

Defaultsettingsareinsquarebrackets[],ifyoudo

notchangethedefaultsettings ,youmayinputenter.

Continuewithconfigurationdialog ?[yes]:y

Firstly ,wouldyouliketoseethecurrentinterfacesummary ?

InterfaceIP-AddressOK ?StatusProtocol

Ethernet0129.102.100.141yesdownup

Serial0yesupdown

Serial1yesupdown

Serial2yesupdown

Configuringglobalparameters :

Enterhostname[Quidway]:

Enterenablepassword[]:

ConfigureSNMPNetworkManagement ?[YES]:

Communitystring[]:public

ConfigureIP ?[yes]:

ConfigureIPX ?[NO]:y

ConfigureBridge ?[YES]: [yes]:y

,

ConfiguringinterfaceEthernet0:

Isthisinterfaceinuse ?[YES]:

ConfigureIPonthisinterface ?[YES]:

IPaddressforthisinterface[129.102.100.141]:

Netmask[255.255.0.0]:

ClassBnetworkis129.102.0.0.

IPaddressis129.102.100.141,netmaskis255.255.0.0.

ConfigureIPXonthisinterface ?[NO]:y

IPXnetworknumberforthisinterface[1]:

原文鏈接:http://www.xqile.com/html/edu/wlyy/56.html Configurebridgeonthisinterface ?

[YES]

ConfiguringinterfaceSerial0:

Isthisinterfaceinuse ?[YES]:ConfigureIPonthisinterface ?[NO]:

ConfigureIPXonthisinterface ?[NO]:

Configurebridgeonthisinterface ?[YES]

ConfiguringinterfaceSerial1:

Isthisinterfaceinuse ?[YES]:

ConfigureIPonthisinterface ?[NO]:

ConfigureIPXonthisinterface ?[NO]:

Configurebridgeonthisinterface ?[YES]

ConfiguringinterfaceSerial2:

Isthisinterfaceinuse ?[YES]:

,

ConfigureIPonthisinterface ?[NO]:

ConfigureIPXonthisinterface ?[NO]:

Configurebridgeonthisinterface ?[YES]

Thefollowingconfigurationwascreated :

hostnameQuidway

enablepassword

snmp-servercommunityro

ipxrouting

bridgecrb

interfaceEthernet0

noshutdown

ipaddress129.102.100.141255.255.0.0

ipxnetwork1

bridgegroup

interfaceSerial0

noshutdown

noipaddress

noipxnetwork

bridgegroup

interfaceSerial1

noshutdown

noipaddress

,

noipxnetwork

bridgegroup

interfaceSerial2

noshutdown

noipaddress

noipxnetwork

bridgegroup

end

Usethisconfiguration ?[yes/no]:

Nowwritingtheconfigurationtoflashmemory.

Writetherunningconfigtoflashmemorysuccessfully.

Pleasereboottherouter.

5. showclock

顯示系統(tǒng)當(dāng)前日期和時(shí)鐘。

showclock

【命令模式】

特權(quán)用戶(hù)模式

【使用指南】

用戶(hù)可以通過(guò)查看系統(tǒng)日期和時(shí)鐘,發(fā)現(xiàn)如果系統(tǒng)時(shí)間有誤,可及時(shí)調(diào)整。

【舉例】

Quidway#showclock

8:18:28Jan61999

,

【相關(guān)命令】

clockset

6. showhostname

顯示路由器域名。

showhostname

【命令模式】

普通用戶(hù)模式、特權(quán)用戶(hù)模式

【舉例】

Quidway#showhostname

Quidway

【相關(guān)命令】

hostname

7. showqueue

顯示系統(tǒng)隊(duì)列狀況。

showqueue

【命令模式】

特權(quán)用戶(hù)模式

【使用指南】

該命令顯示各個(gè)接口的輸入和輸出隊(duì)列、IP 接收隊(duì)列、ARP 接收隊(duì)列和IPX 接收隊(duì)列的當(dāng)前長(zhǎng)度、最大長(zhǎng)度、丟棄報(bào)文數(shù)以及隊(duì)首和隊(duì)尾指針等內(nèi)容。該命令一般用于技術(shù)支持人員進(jìn)行錯(cuò)誤診斷。

【舉例】

Quidway#showqueue

,

InterfaceDialer1:

Sendqueue :

Currentlength:0,Queuelimitlength75,Drops:0

Queuehead--$#@62;0x0,Queuetail--$#@62;0x0

Receivequeue :

Currentlength:0,Queuelimitlength75,Drops:0

Queuehead--$#@62;0x0,Queuetail--$#@62;0x0

InterfaceEthernet0:

Sendqueue :

Currentlength:0,Queuelimitlength75,Drops:0

Queuehead--$#@62;0x0,Queuetail--$#@62;0x0

Receivequeue :

Currentlength:2,Queuelimitlength75,Drops:0

Queuehead--$#@62;0x7de480,Queuetail--$#@62;0x7de400

InterfaceLoopBack0:

Sendqueue :

Currentlength:0,Queuelimitlength75,Drops:0

Queuehead--$#@62;0x0,Queuetail--$#@62;0x0

Receivequeue :

Currentlength:0,Queuelimitlength75,Drops:0

Queuehead--$#@62;0x0,Queuetail--$#@62;0x0

InterfaceSerial0:

標(biāo)簽: