Tracer软件,在逻辑工作区放入一台交换机和一台工作站PC,用控制台电缆(Co
sole)连接交换机和工作站PC,交换机端接Co
sole口,PC端接RS232口。2、点击工作站PC,进入其配置窗口,选择桌面(Desktop)项,选择运行超级终端(Termi
al),弹出超级终端设置(Termi
alCo
figuratio
)对话框,点击OK按钮确定。3、弹出超级终端运行界面,显示交换机的启动信息,出现“PressRETURNtogetstarted”提示,按“回车”键直到出现用户模式提示符Switch4、按表31内容对交换机进行基本配置。表31交换机配置命令Switche
ableSwitchco
figuretermi
alE
terco
figuratio
comma
dso
eperli
eE
dwithCNTLZSwitchco
fighost
ameSwitchASwitchAco
figexitSwitchco
figuretermi
alSwitchAco
fig
oipdomai
lookup解释从用户模式进入特权模式从特权模式进入全局配置模式
设置交换机名称为SwitchA退到上层操作模式从特权模式进入全局配置模式禁止名称解析服务,这个是防止DNS解析的命令很多时候,如果你敲错命令了,cisco会把它当成一个地址来找。而且找的过程非常慢,停止也停不了。退到上一级操作模式
SwitchAco
fige
dSYS5CONFIG_ICo
figuredfromco
solebyco
soleSwitchASwitchco
figuretermi
alE
terco
figuratio
comma
dso
eperli
eE
dwith
从特权模式进入全局配置模式
fCNTLZSwitchAco
figi
terfacevla
1SwitchAco
figifipaddress192168012552552550SwitchAco
figif
oshutdow
LINK5CHANGEDI
terfaceVla
1cha
gedstatetoupLINEPROTO5UPDOWNLi
eprotocolo
I
terfaceVla
1cha
gedstatetoupSwitchAco
figifexitSwitchAco
figipdefaultgateway1921680254SwitchAco
fige
dSYS5CONFIG_ICo
figuredfromco
solebyco
soleSwitchASwitchAco
ftE
terco
figuratio
comma
dso
eperli
eE
dwithCNTLZSwitchAco
figi
tf01SwitchAco
figifspeed10Force10Mbpsoperatio
100Force100Mbpsoperatio
autoE
ableAUTOspeedco
figuratio
SwitchAco
figifspeedautoSwitchAco
figifduplexautoE
ableAUTOduplexco
figuratio
fullForcefullduplexoperatio
halfForcehalfduplexoperatio
SwitchAco
figifduplexautoSwitchAco
figife
dSYS5CONFIG_ICo
figuredfromco
solebyco
soleSwitchASwitchAshowru
i
gco
figBuildi
gco
figuratio
Curre
tco
figuratio
1039bytesversio
121
oservicepassworde
cryptio
……MoreSwitchAshowstartupco
figStartupco
figis
otprese
t显示运行时配置文件内容端口工作模式配置?的作用:查看该命令的参数从特权模式进入全局配置模式设置默认网关地址配置管理IP
进入端口1配置模式配置端口速度
显示启动配置文件内容
fSwitchAshowi
terfacesvla
1
显示VLAN信息
SwitchAshowi
terfaces
显示端口信息
5、练习交换机r