實驗1 交換機的基本配置

2021-08-28 11:47:46 字數 4193 閱讀 8668

實驗名稱:交換機的基本配置

實驗目的:掌握交換機命令列的各種操作模式的區別,能夠使用各種幫助資訊,以及用命令列進行基本的配置。

switch>enable 

switch#configure terminal

switch(config)#inte***ce fastethernet 0/1

switch(config-if)#exit

switch(config)#inte***ce fastethernet 0/2

switch(config-if)#end

switch#?

exec commands:

clear reset functions

clock manage the system clock

configure enter configuration mode

connect open a terminal connection

copy copy from one file to another

debug debugging functions (see also 'undebug')

delete delete a file

dir list files on a filesystem

disable turn off privileged commands

disconnect disconnect an existing network connection

enable turn on privileged commands

erase erase a filesystem

exit exit from the exec

logout exit from the exec

more display the contents of a file

no disable debugging informations

ping send echo messages

reload halt and perform a cold restart

resume resume an active network connection

setup run the setup command facility

show show running system information

ssh open a secure shell client connection

telnet open a telnet connection

terminal set terminal line parameters

traceroute trace route to destination

undebug disable debugging functions (see also 'debug')

vlan configure vlan parameters

write write running configuration to memory, network, or terminal

switch#conf t

switch(config)#hostname zhangsan

zhangsan(config)#end

zhangsan#

zhangsan#show version

cisco internetwork operating system software

ios (tm) c2950 software (c2950-i6q4l2-m), version 12.1(22)ea4, release software(fc1)

compiled wed 18-may-05 22:31 by jharirba

image text-base: 0x80010000, data-base: 0x80562000

rom: bootstrap program is is c2950 boot loader

switch uptime is 35 minutes, 26 seconds

system returned to rom by power-on

cisco ws-c2950-24 (rc32300) processor (revision c0) with 21039k bytes of memory.

processor board id fhk0610z0wc

last reset from system-reset

running standard image

24 fastethernet/ieee 802.3 inte***ce(s)

63488k bytes of flash-simulated non-volatile configuration memory.

base ethernet mac address: 0040.0b92.9572

motherboard assembly number: 73-5781-09

power supply part number: 34-0965-01

motherboard serial number: foc061004sz

power supply serial number: dab0609127d

model revision number: c0

motherboard revision number: a0

model number: ws-c2950-24

system serial number: fhk0610z0wc

configuration register is 0xf

zhangsan# show running-config

building configuration...

current configuration : 1028 bytes

!version 12.1

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!hostname zhangsan

!enable password 456!!

!spanning-tree mode pvst

!inte***ce fastethernet0/1

!inte***ce fastethernet0/2

!inte***ce fastethernet0/3

!inte***ce fastethernet0/4

!inte***ce fastethernet0/5

!inte***ce fastethernet0/6

!inte***ce fastethernet0/7

!inte***ce fastethernet0/8

!inte***ce fastethernet0/9

!inte***ce fastethernet0/10

!inte***ce fastethernet0/11

!inte***ce fastethernet0/12

!inte***ce fastethernet0/13

!inte***ce fastethernet0/14

!inte***ce fastethernet0/15

!inte***ce fastethernet0/16

!inte***ce fastethernet0/17

!inte***ce fastethernet0/18

!inte***ce fastethernet0/19

!inte***ce fastethernet0/20

!inte***ce fastethernet0/21

!inte***ce fastethernet0/22

!inte***ce fastethernet0/23

!inte***ce fastethernet0/24

!inte***ce vlan1

ip address 192.168.1.1 255.255.255.0!!

!!line con 0

!line vty 0 4

password 123

login

line vty 5 15

login!!

end

交換機基本配置

交換機思科型別有35和65型別 35為小型系統,65為大型系統 進入全域性配置模式 改變系統時間 switch 3548 enable password switch 3548 clock set 23 00 00 23 february 2007 switch 3548 config t swti...

交換機的基本配置

1 配置enable口令和主機名。2 配置交換機ip位址 預設閘道器 網域名稱和網域名稱伺服器。3 配置交換機的埠屬性。speed duplex description 4 配置和檢視mac位址表。設定超時時間 加入永久位址 加入限制靜態位址 清除位址 一 配置和管理vlan 劃分vlan 配置vt...

路由與交換 實驗四 交換機的基本配置

一 實驗目的 掌握交換機在網路中的作用 組成以及交換機裝置選型 掌握packettrace 軟體的使用方法 練掌握交換機的基本配置命令,包括交換機名稱設定 保護口令設定 口令封裝 介面描述 檢視命令等。二 實驗條件 cisco2620 cisco 3560 交換機 packettrace 軟體 具備...