- 140
- 0
- 约 18页
- 2016-06-10 发布于重庆
- 举报
实验4交换机的基本配置
实验4 交换机的基本配置
一 实验目的
掌握交换机S2126G(1台)
四 实验步骤
步骤1. 交换机命令行操作模式的进入。
switchenable !进入特权模式
switch#
switch#configure terminal !进入全局配置模式
switch(config)#
switch(config)#interface fastethernet 0/5 !进入交换机F0/5的接口模式
switch(config-if)
switch(config-if)#exit !退回到上一级操作模式
switch(config)#
switch(config-if)#end !直接退回到特权模式
switch#
步骤2. 交换机设备名称的配置。
switch enable
switch# configure terminal
switch(config)# hostname 105_switch !配置交换机的设备名称为105_switch
105switch(config)#
步骤3. 交换机端口参数的配置。
switch enable
switch# configure terminal
switch(config)#interface fastethernet 0/3 !进行F0/3的端口模式
switch(config-if)#speed 10 !配置端口速率为10M
switch(config-if)#duplex half !配置端口的双工模式为半双工
switch(config-if)#no shutdown !开启该端口,使端口转发数据
配置端口速率参数有100(100M)、10(10M)、auto(自适应),默认是auto。
配置双式模式有full全双工、half半双工、auto(自适应),默认是auto。witch ? !显示当前模式下所有可执行的命令
disable Turn off privileged commands
enable Turn on privileged commands
exit Exit from the EXEC
help Description of the interactive help system
ping Send echo messages
rcommand Run command on remote switch
show Show running system information
telnet Open a telnet connection
traceroute Trace route to destination
switch#co? !显示当前模式下所有以co开头的命令
configure copy
switch#copy ? !显示copy命令后可执行的参数
flash: Copy from flash: file system
running-config Copy from current system configuration
startup-config Copy from startup configuration
tftp: Copy from tftp: file system
xmodem Copy from xmodem file syste
命令的简写
switch#conf ter !交换机命令行支持命令的简写,该命令代表configure terminal
switch(config)#
命令的自动补齐
switch#con (按键盘的TAB键
您可能关注的文档
最近下载
- 部编版语文四年级下册 第五单元综合能力提升卷(含答案).doc VIP
- 未成年人保护法解读与宣传.pptx VIP
- 2012江苏高考《伯父墓表》详解.ppt VIP
- Metformin 盐酸二甲双胍 药品 0.5g 说明书.pdf
- 致用英语口语教程(第三版)(上)Unit9课件PPT课件.pptx VIP
- SAP工艺简介SAP工艺简介.pdf VIP
- 提高术后手术间的归整率.docx VIP
- 硬笔书法纸可直接打印的口字格米字格田字格等模板.doc VIP
- 《Spark批处理技术与应用》课件——5. Spark机器学习(MLlib).pptx VIP
- 【中考真题】2024年北京中考数学试题及答案 .pdf VIP
原创力文档

文档评论(0)