ccna視頻教程-第7章操作與配置cisco_第1頁(yè)
ccna視頻教程-第7章操作與配置cisco_第2頁(yè)
ccna視頻教程-第7章操作與配置cisco_第3頁(yè)
ccna視頻教程-第7章操作與配置cisco_第4頁(yè)
ccna視頻教程-第7章操作與配置cisco_第5頁(yè)
已閱讀5頁(yè),還剩53頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

本章目標(biāo)通過(guò)本章的學(xué)習(xí),您應(yīng)該掌握以下內(nèi)容:開(kāi)啟交換機(jī)和路由器并觀察其啟動(dòng)過(guò)程注意交換機(jī)的出廠初始配置情況,完成路由器的初始參數(shù)配置在網(wǎng)絡(luò)設(shè)備上進(jìn)入并辨識(shí)不同

令模式在不同的用戶界面下應(yīng)用各種幫助和命令行編輯功能查看并確認(rèn)各網(wǎng)絡(luò)設(shè)備的基本信息0371—

6611

0100提供多種網(wǎng)絡(luò)服務(wù)進(jìn)而支持CiscoIOS各種網(wǎng)絡(luò)應(yīng)用.Cisco

互連網(wǎng)操作系統(tǒng)(IOS)0371—

6611

0100硬件自檢定位并加載Cisco

IOS映象文件定位并運(yùn)行配置文件Cisco設(shè)備的簡(jiǎn)單啟動(dòng)過(guò)程0371—

6611

0100可以通過(guò)多種途徑來(lái)配置配置直接在設(shè)備的內(nèi)存中生效控制端口Aux

端口端口PCor

Unix服務(wù)器Web

或網(wǎng)絡(luò)管理服務(wù)器虛擬終端多種途徑的配置netTFTP0371—

6611

0100提供命令行界面在不同的網(wǎng)絡(luò)設(shè)備上運(yùn)行時(shí)有差別在命令模式下可以鍵入或粘貼命令鍵入命令后回車(chē),設(shè)備即解析和執(zhí)行所鍵入的命令兩個(gè)主不同令模式是用戶模式和

模式令模式有不同的提示符CiscoIOSCisco

IOS用戶界面的基本特性0371—

6611

0100Cisco

IOS

OverviewIOS模式用戶模式>Aux,Conoslenet查看系統(tǒng)不重要的信息模式#enable全局配置模式(config)#接口配置模式(config-if)#disable查看所有配置消息config

texitendexitInter

f0/1Inter

s0/0router

rip…路由配置模式(config-router)#exitFa0/00371—

6611

0100Fa0/0Fa0/0R1R2R3R1:fa0/0:/24R2:fa0/0:/24R3:fa0/0:/24修改主機(jī)名:Router(config)#hostname

chinaiplabchinaiplab(config)#查看命令緩沖區(qū)#show

history查看命令緩沖區(qū)的大?。J(rèn)是10)#terminal

history

size

<0-256>查看系統(tǒng)的版本信息#show

version查看當(dāng)前生效的配置文件#show

running-config查看啟動(dòng)配置文件#show

startup-config如何生成啟動(dòng)配置文件#copy

running-config

startup-config步驟一:設(shè)置各路由器的ip地址R6(config)#interface

fastethernet

0/0R6(config-if)#ip

address

R6(config-if)#no

shutdownR2(config)#interface

fastethernet

0/0R2(config-if)#ip

address

R2(config-if)#no

shutdownR3(config)#interface

fastethernet

0/0R3(config-if)#ip

address

R3(config-if)#no

shutdown通),

命令步驟二:確認(rèn)地址有效性(是否可以步驟三:設(shè)置R2的vty的R2(config)#line

vty

0

4R2(config-line)#password

ciscoR2(config-line)#loginR2(config-line)#exit設(shè)置console的Ri(config)#line

console

0Ri(config-line)#password

ciscoRi(config-line)#loginRi(config-line)#exit設(shè)置enable

(未加密)Ri(config)#enable

password

cisco設(shè)置enable

(MD5加密)Ri(config)#enable

secret

njut對(duì)明文

進(jìn)行弱性加

處理Ri(config)#service

password-encryption管理

net的會(huì)話:掛起一個(gè)會(huì)話:《ctrl+shift+6>+x查看本地的

net會(huì)話Show

session查看誰(shuí)

net到本地Show

users主動(dòng)的斷開(kāi)一個(gè)會(huì)話Disconnect<id>強(qiáng)制斷開(kāi)一個(gè)

net到本地會(huì)話Clear

line

<id>配置交換機(jī)VLAN

1的IP地址Sw(conifg)#interfacevlan

1Sw(conifg-if)#ip

address

Sw(conifg-if)#noshutdownSw(conifg-if)#exit路由器的banner消息(類(lèi)似內(nèi)容簡(jiǎn)介)Rt(config)#bannermotd

#****************************************************************************#接口描述Rt(config)#interface

ethernet

0Rt(config-if)#description

this

port

is

very

important

!Rt(config-if)#exit0371—

6611

0100用戶模式對(duì)交換機(jī)和路由器的有限操作命令提示符為主機(jī)名>主要有兩個(gè)命令模式提供命令鍵入.模式一:Cisco

IOS的主

令模式0371—

6611

0100(或enabled)模式對(duì)交換機(jī)和路由器更深入的操作有配置和監(jiān)視權(quán)力是進(jìn)入其它配置模式的前提命令提示符為主機(jī)名#模式二(也是最常用的模式):Cisco

IOS的主令模式(續(xù))0371—

6611

0100系統(tǒng)啟動(dòng)例程會(huì)初始化交換機(jī)初始啟動(dòng)利用缺省配置參數(shù)啟動(dòng)前確認(rèn)正確連接線纜和控制線接入電源觀察啟動(dòng)順序面板上的指示燈LEDsCisco

IOS輸出到控制臺(tái)上的內(nèi)容交換機(jī)的初始啟動(dòng)0371—

6611

0100檢查交換機(jī)指示燈(LEDs)0371—

6611

0100交換機(jī)自檢期間的端口指示燈啟動(dòng)時(shí),所有端口指示燈變綠.每個(gè)端口自檢完畢,對(duì)應(yīng)的指示燈熄滅.如果端口自檢失敗,對(duì)應(yīng)指示燈呈黃色.如果有任何自檢失敗情況,系統(tǒng)指示燈呈現(xiàn)黃色.如果沒(méi)有自檢失敗,自檢過(guò)程完成.隨著自檢過(guò)程的完成,指示燈閃亮后熄滅.0371—

6611

0100交換機(jī)初次啟動(dòng)時(shí)的顯示信息控制臺(tái)連接Catalyst

1900

Management

ConsoleCopyright

(c)

Cisco

Systems,

Inc.

1993-1998s

.Enterprise

Edition

SoftwareEthernet

Address:

00-50-BD-73-E2-C0PCA

Number:PCA

Serial

Number:Model

Number:73-3121-01FAA0252A0QXWS-C1924-ENSystem

Serial

Number:

FAA0304S0U3Power

Supply

S/N:

PHI025101F3-------------------------------------------------1

user(s)

now

active

on

Management

Console.User

Interface[M]

s[K]

Command

Line[I]

IP

ConfigurationEnter

Selection:0371—

6611

0100登入交換機(jī)并鍵入

模式>>

enableEnter

password:##

disable>

quit用戶模式提示模式提示0371—

6611

0100上下文關(guān)聯(lián)幫助錯(cuò)誤信息提示提供命令

和與特定命令相關(guān)聯(lián)的參數(shù).所輸入交換機(jī)命令的錯(cuò)誤所在,以便于修改或糾正.之前命令保存區(qū)可以重新調(diào)出一個(gè)較長(zhǎng)或較復(fù)雜令或其它內(nèi)容,用來(lái)再次運(yùn)行、查看或修改.交換機(jī)命令行幫助機(jī)制0371—

6611

0100Switch#show

versionSwitch#showrunning-configSwitch#show

interfaces顯示交換機(jī)初始啟動(dòng)的狀態(tài)顯示交換機(jī)的各種運(yùn)行狀態(tài)0371—

6611

0100wg_sw_c#show

versionCisco

Catalyst

1900/2820

Enterprise

Edition

SoftwareVersion

V8.01.01 written

from

171.068.229.225Copyright

(c)

Cisco

Systems,

Inc.

1993-1998wg_sw_c

uptime

is

15day(s)

21hour(s)

53minute(s)

11second(s)cisco

Catalyst

1900

(486sxl)

processor

with

2048K/1024K

bytes

of

memoryHardwarrevision

is

5Upgrade

Status:

No

upgrade

currently

in

progress.Config

File

Status:

No

configuration

upload/download

is

in

progress27

Fixed

Ethernet/IEEE

802.3

interface(s)Base

Ethernet

Address:

00-50-BD-73-E2-C0交換機(jī)之show

version

命令0371—

6611

0100wg_sw_c#show

runBuilding

configuration...Current

configuration:!hostname

"wg_sw_c"!ip

address

3

ip

default-gateway!interface

Ethernet

0/1<text

omitted>interface

Ethernet0/24!Interface

Ethernet0/25!interface

FastEthernet

0/26!interfaceFastEthernet

0/27wg_sw_cBuildingCurrent

c!hostname!ip

addresip

default!interface<text

omiinterface!Interface!interface!interface#show

runconfiguration...onfiguration:"wg_sw_c"s

3

-gateway

Ethernet

0/1tted>Ethernet

0/12Ethernet

0/25FastEthernet0/26FastEthernet0/27交換機(jī)之show

running-configuration

命令Catalyst

1924Catalyst

1912wg_sw_c#show

interfaces

ethernet

0/1Ethernet

0/1

isEnabledHardware

is

Built-in

10Base-TAddress

is

0050.BD73.E2C1

MTU

1500

bytes,

BW

10000

Kbits802.1d

STP

State:

Forwarding Forward

Transitions:

1Port

monitoring:

DisabledUnknown

unicast

flooding:EnabledUnregistered

multicast

flooding:

EnabledDescription:Duplex

setting:

HalfduplexBack

pressure:

Disabled--More--交換機(jī)之show

interfaces命令0371—

6611

0100配置模式:全局配置模式chinaIPlab#

conf

termchinaIPlab(config)#端口配置模式chinaIPlab(config)#

interface

e0/1chinaIPlab(config-if)#配置交換機(jī)0371—

6611

0100配置交換機(jī)的各種標(biāo)識(shí)為交換機(jī)設(shè)置本地標(biāo)識(shí)交換機(jī)名(config)#hostname

wg_sw_cwg_sw_c(config)#0371—

6611

0100系統(tǒng)啟動(dòng)例程會(huì)初始化路由器如果需要,路由器可以有選擇性地回退啟動(dòng)啟動(dòng)前確認(rèn)正確連接線纜和控制線按下電源開(kāi)關(guān)觀察啟動(dòng)順序Cisco

IOS輸出到控制臺(tái)上的內(nèi)容Cisco路由器的初始啟動(dòng)7289

070690371—

6611

0100沒(méi)有配置文件與有配置文件的路由器啟動(dòng)對(duì)比---

System

Configuration

Dialog

---Continue

with

configuration

dialog?

[yes/no]:yesAt

any

point

you

may

enter

a

question

mark

'?'

for

help.Use

ctrl-c

to

abort

configuration

dialog

at

any

promptDefault

settings

are

in

square

brackets

'[]'.Setup模式wg_ro_c

con0

is

now

availablePress

RETURN

to

get

started.用戶模式提示wg_ro_c>控制臺(tái)路由器啟動(dòng)時(shí)在控制臺(tái)上的輸出內(nèi)容0371—

6611

0100Setup:

初始配置

框Router#setup---

System

Configuration

Dialog

---Continue

with

configuration

dialog?

[yes/no]:yAt

any

point

you

may

enter

a

question

mark

'?'

for

help.Use

ctrl-c

to

abort

configuration

dialog

at

any

prompt.Default

settings

are

in

square

brackets

'[]'.Basic

managementsetup

configures

only

enough

connectivityfor

management

of

the

system,

extended

setup

will

ask

youto

configure

each

interface

on

the

systemWould

you

like

to

enter

basic

management

setup?

[yes/no]:

n0371—

6611

0100預(yù)先瀏覽端口配置情況,

would

you

like

to

see

the

current

interface

summary?

[yes]:Interface

IP-Address

OK?

Method

Status

ProtocolBRI0

unassigned YES

unset

administratively

down

downBRI0:1

unassigned YES

unset

administratively

down

downBRI0:2

unassigned YES

unset

administratively

down

downEthernet0

unassigned YES

unset

administratively

down

downSerial0

unassigned YES

unset

administratively

down

down自檢過(guò)程中所找到的端口0371—

6611

0100設(shè)置全局參數(shù)Configuringglobal

parameters:Enter

host

name

[Router]:wg_ro_cThe

enable

secret

is

sword

used

to

protect

access

toprivileged

EXEC

and

configuration

modes.

This

password,

afterentered, es

encrypted

in

the

configuration.Enter

enable

secret:

ciscoThe

enable

password

is

used

when

you

do

not

specify

an

enable

secret

password,

with

some

older

software

versions,

andsome

boot

images.Enter

enable

password:

sanfranThe

virtual

terminal

password

is

used

to

protectaccess

to

the

router

over

a

network

interface.Enter

virtual

terminal

password:

sanjoseConfigure

SNMPNetworkManagement?

[no]:初始化全局參數(shù)0371—

6611

0100設(shè)置全局參數(shù)(續(xù))初始化協(xié)議配置Configure

LAT?

[yes]:

nConfigure

AppleTalk?

[no]:Configure

et?

[no]:Configure

IP?

[yes]:Configure

IGRP

routing?

[yes]:nConfigure

RIP

routing?

[no]:Configure

CLNS?

[no]:Configure

IPX?

[no]:Configure

Vines?

[no]:Configure

XNS?

[no]:Configure

Apollo?

[no]:0371—

6611

0100設(shè)置端口參數(shù)BRI

interface

needs

isdn

switch-type

to

be

configuredValid

switch

types

are

:none..........Only

if

you

don't

want

to

configure

BRI.basic-1tr6....1TR6

switch

typef

ermanybasic-5ess....AT&T

5ESS

switch

type

for

the

US/Canadabasic-dms100..Northern

DMS-100

switch

type

for

US/Canadabasic-net3....NET3

switch

type

for

UK

and

Europebasic-ni......National

ISDN

switch

typebasic-ts013...TS013

switch

type

for

Australiantt...........NTT

switch

type

for

Japanvn3...........VN3

and

VN4

switch

types

for

FranceChoose

ISDN

BRI

Switch

Type

[2]:Configuring

interface

parameters:Do

you

want

to

configure

BRI0

(BRI

d-channel)

interface?

[no]:Do

you

want

to

configure

Ethernet0

interface?

[no]:

yConfigure

IP

on

this

interface?

[no]:

yIP

address

for

this

interface:

3Subnet

mask

for

this

interface

[]

:

Class

A

network

is

,

24

subnet

bits;

mask

is

/24Do

you

want

to

configure

Serial0

interface?

[no]:0371—

6611

0100設(shè)置

的確認(rèn)與應(yīng)用rgThe

following

configuration

command

script

was

created:hostname

Routeenable

secret

5

$enable

passwordline

vty

0

4password

sanjosnosnmp-server!no

appletalk

routno et

routinip

routingno

clns

routingno

ipx

routingno

vines

routingno

xns

routingno

apollo

routingisdn

switch-typeinterface

BRI0shutdownno

ip

address!interface

Ethernet0no

shutdownip

address

1

no

mop

enabled!interface

Serial0shutdownno

ip

address<text

omitted>endGo

to

the

IOS

command

prompt

without

saving

thReturn

back

to

the

setup

without

saving

this

confis

config.ig.[2]

Save

this

configuration

to

nvram

and

exit.Enter

your

selection

[2]:0371—

6611

0100Consolewg_ro_c

con0

is

now

availablePress

RETURN

to

get

started.wg_ro_c>wg_ro_c>enablewg_ro_c#wg_ro_c#disablewg_ro_c>wg_ro_c>logout用戶模式提示模式提示登入路由器0371—

6611

0100只要所輸命令串在全部命令中是唯一的,可以將一個(gè)命令盡可能地簡(jiǎn)寫(xiě),wg_ro_c>?Execcommands:access-enable

Create

atemporary

Access-List

entryatmsigcdclearconnectdirdisableExecute

Atm

Signalling

CommandsChange

current

deviceReset

functionsOpen

a

terminal

connectionList

files

on

given

deviceTurn

off

privileged

commandsdisconnectenableexitDisconnect

an

existing

network

connectionTurn

on

privileged

commandsExit

from

the

EXECDescription

of

the

interactive

help

systemOpen

a

lat

connectionLock

the

terminalLog

in

as

a

particular

userExit

from

the

EXEChelplatlockloginlogout--

More

--路由器在用戶模式下

令0371—

6611

0100wg_ro_c#?Exec

commands:access-enable Create

a

temporary

Access-List

entryaccess-profile

Apply

user-profile

to

interfaceaccess-template

Create

a

temporary

Access-List

entrybfecdclearclockconfigureconnectcopydebugdeletedirdisabledisconnectFor

manual

emergency

modes

settingChange

currentdirectoryReset

functionsManage

the

system

clockEnter

configuration

modeOpen

a

terminal

connectionCopy

from

one

file

to

anotherDebugging

functions

(see

also

'undebug')Delete

a

fileList

files

on

a

filesystemTurn

off

privileged

commandsDisconnect

an

existing

network

connectionTurn

on

privileged

commandsErase

a

filesystemExit

from

the

EXECDescription

of

the

interactive

help

systemenableeraseexithelp--

More

--只要輸入部分命令串(唯一表示某個(gè)命令),緊接著按tab鍵就可以完整地輸入一個(gè)命令路由器在

模式下

令0371—

6611

0100路由器命令行幫助機(jī)制上下文關(guān)聯(lián)幫助錯(cuò)誤信息提示提供命令

和與特定命令相關(guān)聯(lián)的參數(shù).所輸入交換機(jī)命令的錯(cuò)誤所在,以便于修改或糾正.之前命令保存區(qū)可以重新調(diào)出一個(gè)較長(zhǎng)或較復(fù)雜令或其它內(nèi)容,用來(lái)再次運(yùn)行、查看或修改.0371—

6611

0100路由器的上下文相關(guān)聯(lián)幫助Router#

clokTranslating

"CLOK"%

Unknown

command

or

computer

name,

or

unable

to

find

computer

addressRouter#

cl?clear

clockRouter#

clock% plete

command.Router#

clock

?set Set

the

time

and

dateRouter#

clock

set% plete

command.Router#

<Ctrl-P>clockset

?hh:mm:ss

Current

Time符號(hào)解析命令提示調(diào)出最近用過(guò)的內(nèi)容0371—

6611

0100路由器的上下文相關(guān)聯(lián)幫助(續(xù))Router#

clokTranslating

"CLOK"%

UnkRouteclearRoute%

IncRoutesetRoute%

IncRoutehh:oomRouter#

clock

set

19:56:00% plete

command.Router#<1-31>MONTHclock

set

19:56:00

?Day

of

themonthMonthof

theyearRouter#clock

set

19:56:00

04

8^%

Invalid

input

detected

at

the

'^'markerRouter#clock

set

19:56:00

04

August%plete

command.Router#

clock

set

19:56:00

04

August

?<1993-2035>

Year命令提示語(yǔ)法檢查命令提示0371—

6611

0100Router>Sh

the

future

of

internetworking

by

creating

unpreced“Sh

the

futureof

internetworking

bycreatingunprecedented

value

for

customers,

employees,and

partners.”上述文字段在輸入時(shí)會(huì)超出一行使用增強(qiáng)的編輯命令0371—

6611

0100Router>$

future

of

internetworking

by

creating

unprecedented

op使用增強(qiáng)的編輯命令(一行中長(zhǎng)字串會(huì)自動(dòng)滾卷).0371—

6611

0100(一行中長(zhǎng)字串會(huì)自動(dòng)滾卷).<Ctrl-A>光標(biāo)移動(dòng)到命令行的開(kāi)始位置.<Ctrl-E>光標(biāo)移動(dòng)到命令行的結(jié)束位置.<Esc-B>回移一個(gè)單詞<Ctrl-F>下移一個(gè)字符.<Ctrl-B>回移一個(gè)字符.<Esc-F>下移一個(gè)單詞<Ctrl-D>刪除當(dāng)前字符使用增強(qiáng)的編輯命令Router>$

value

for

customers,

employees,

and

partners.0371—

6611

0100Ctrl-P

or

Uparrow調(diào)出最近(前一)使用過(guò)

令Ctrl-N

or

Down

arrow調(diào)出更近使用過(guò)

令Router>

show

history顯示命令保存區(qū)內(nèi)容Router>

terminal

history

size

lines設(shè)置命令保存區(qū)大小回覽之前用過(guò)

令0371—

6611

0100show

version

命令wg_ro_a#show

versionCisco

Internetwork

Operating

System

SoftwareIOS

(tm)

2500

Software

(C2500-JS-L),

Version

12.0(3),

RELEASE

SOFTWARE

(fc1)Copyright

(c)

1986-1999

by

cisco

Systems,

Inc.CompiledMon

08-Feb-99

18:18

by

phanguyeImage

text-base:

0x03050C84,data-base:0x00001000ROM:

System

Bootstrap,

Version

11.0(10c),

SOFTWAREBOOTFLASH:

3000

Bootstrap

Software

(IGS-BOOT-R),

Version

11.0(10c),

RELEASE

SOFTWARE(fc1)wg_ro_a

uptime

is

20

minutesSystem

restarted

by

reloadSystem

image

file

is

"flash:c2500-js-l_120-3.bin"(output

omitted)--More--Configuration

register

is

0x21020371—

6611

0100查看配置情況showstartup-configshowrunning-config控制臺(tái)Setup

utility將配置參數(shù)保存到NVRAM中ConfigIOSConfigRAMNVRAM0371—

6611

0100保存在RAM中保存在NVRAM中show

running和show

startup

命令wg_ro_c#show

startup-configUsing

1359

out

of

32762

bytes!version

12.0!--

More

--wg_ro_c#show

running-configBuilding

configuration...Currentconfiguration:!version

12.0!--

More

--顯示當(dāng)前運(yùn)行的和保存的配置情況0371—

6611

0100路由器模式一覽Router(config)#Router>enableRouter#config

termExitCtrl-Z

(end)用戶模式模式全局配置模式配置模式模式提示InterfaceRouter(config-if)#SubinterfaceRouter(config-subif)#ControllerRouter(config-controller)#LineRouter(config-line)#RouterRouter(config-router)#0371—

6611

0100保存配置wg_ro_c#wg_ro_c#copy

running-config

startup-configDestination

filename

[startup-config]?Building

configuration…wg_ro_c#將當(dāng)前運(yùn)行的配置到NVRAM中0371—

6611

0100配置路由器的各種標(biāo)識(shí)路由器名Router(config)#hostname

wg_ro_cwg_ro_c(config)#開(kāi)機(jī)時(shí)的固定顯示信息wg_ro_c(config)#banner

motd

#Accounting

DepartmentYou

have

entered

a

securedsystem.

Authorized

accessonly!

#端口描述wg_ro_c(config)#interface

ethernet0wg_ro_c(config-if)#description

Engineering

LAN,

Bldg.

18為路由器或其端口設(shè)置標(biāo)識(shí)或信息0371—

6611

0100Router(config)#line

console

0Router(config-line)#loginRouter(config-line)#password

cisco控制臺(tái)虛擬終端Router(config)#line

vty

0

4Router(config-line)#loginRouter(config-line)#password

sanjose模式明文Router(config)#enable

password

cisco模式加密Router(config)#enable

secretsanfran路由器

配置0371—

6611

0100其它控制臺(tái)命令Router(config)#line

console

0Router(config-line)#exec-timeout

0

0控制臺(tái)會(huì)話自動(dòng)退出Router(config)#line

console

0Router(config-line)#logging

synchronous重顯被打亂的控制臺(tái)輸入0371—

6611

0100端口配置Router(config)#interface

type

numberRouter(config-if)#type

包括serial,ethernet,token

ring,fddi,hssi,loopback,dialer,null,async,atm,bri,and

tunnelnumber

用來(lái)識(shí)別具體的單個(gè)端口Router(config)#interface

type

slot/portRouter(config-if)#模塊化端口的表示法Router(config-if)#exit從當(dāng)前端口配置模式退出0371—

6611

0100配置串口進(jìn)入全局配置模式Router(config-if)#clockrate64000Router(config-if)#Router(config)#interface

serial

0Router(config-if)#Router#configure

termRouter(config)#指定某個(gè)端口設(shè)置時(shí)鐘頻率(只在DCE端)0371—

6611

0100Router#show

interface

serial0Serial0

is

up,

line

protocol

is

upHardware

is

HD64570Internet

address

is

/24MTU

1500

bytes,

BW

64

Kbit,

DLY

20000

usec,

rely

255/255,

load

1/255Encapsulation

HDLC,loopback

not

set,

keepalive

set

(10

sec)Last

input

00:00:09,

output

00:00:04,

output

hang

neverLast

clearing

of

"show

interface"

counters

neverInput

queue:

0/75/0

(size/max/drops);

Total

output

drops:

0Queueing

strategy:

weighted

fairOutput

queue:

0/1000/64/0

(size/max

total/threshold/drops)Conversations

0/1/256

(active/max

active/max

total)Conversations

0/0(allocated/max

allocated)5

minute

input

rate

0

bits/sec,

0

packets/sec5

minute

output

rate

0

bits/sec,

0

packets/sec(output

omitted)確認(rèn)參數(shù)修改情況0371—

6611

0100開(kāi)啟或關(guān)閉端口Router#configure

termRouter(config)#interfaceserial

0Router(config-if)#no

shutdown%LINK-3-UPDOWN:

Interface

Seria0,

changed

state

to

up%LINEPROTO-5-UPDOWN:

Line

Protocol

on

Interface

Serial0,

changed

state

to

up開(kāi)啟已經(jīng)關(guān)閉的端口Router#configure

termRouter(config)#interfaceserial

0Router(config-if)#shutdown%LINK-5-CHANGED:

Interface

Serial0,

changed

state

to

administratively

down%LINEPROTO-5-UPDOWN:

Line

protocol

on

Interface

Serial0,

changed

state

to

down人工關(guān)閉端口0371—

6611

0100路由器的show

interfaces

命令Router#show

interfacesEthernet0

is

up,

line

protocol

is

upHardware

is

Lance,

address

is

0

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論