实验4交换机的基本配置.docVIP

  • 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键

文档评论(0)

1亿VIP精品文档

相关文档