TEST#terminal monitor # 排除网络故障以前,请打开这一命令以便实时的接收到交换机的提示信息. TEST# TEST#sh run #显示所有的配置清单,可将这些配置保存成文本作为交换机的配置备份. Building configuration... Current configuration : bytes ! version 12.2 no service pad service timestamps debug uptime service timestamps log…
实例: en conf t clock timezone GMT+8 #设置北京时间 exit clock set HH:MM:SS DAY MONTH YEAR #设置当前时间 service timestamps debug uptime #开启debug调试模式 service timestamps log datetime localtime #开启log日志增加时间戳 log on #启动log功能 loggin 192.168.1.100 #配置日志发送到192.168…
vlan:virtual LAN 虚拟局域网 作用:通过VLAN技术,可以对局域网进行隔离,互相隔离开的局域网相互之间不能进行通信,一个VLAN为一个广播域 Vlan配置 GNS3(使用路由器来模拟交换机) Switch2,3,4的配置 Switch1# no ip routeing 关闭路由功能 Switch1(config-if)# ip address x.x.x.x255.255.255.0 Switch1(config-if)# no shutdown 打开接口 配置完之后,三个ip…
一.实验目的:将S1配置成VTP-Server,S2配置成VTP-Transparent,S3配置成VTP-Client,S4配置成VTP-Client 二.拓扑图如下 三.具体步骤: (1)S1交换机的配置 Switch>enable --进入特权模式Switch#config terminal --进入全局配置模式Enter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname S1 …
命令部分: vlan划分(全局模式) vlan name v10 no shu no shu switchport access vlan vlan name v20 inter vlan no shu inter range fa0/- no shu swi acc vlan 20 vlan name v99 inter vlan no shu 上面分别在一个交换机里面划分了两个vlan(vlan10.vlan20)和一个用来当本征的vlan99. 中继.本征vlan switchport m…