资源预览内容
第1页 / 共58页
第2页 / 共58页
第3页 / 共58页
第4页 / 共58页
第5页 / 共58页
第6页 / 共58页
第7页 / 共58页
第8页 / 共58页
第9页 / 共58页
第10页 / 共58页
亲,该文档总共58页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
实验一Switch1:S2328G_01en 14Password:S2328G_01#configure terminalEnter configuration commands, one per line. End with CNTL/Z.S2328G_01(config)#vlan 10S2328G_01(config-vlan)#name salesS2328G_01(config-vlan)#exitS2328G_01(config)#interface fastethernet 0/5S2328G_01(config-if-FastEthernet 0/5)#switchport access vlan 10S2328G_01(config-if-FastEthernet 0/5)#show vlan id 10VLAN Name Status Ports- - - - 10 sales STATIC Fa0/5, Fa0/24S2328G_01(config-if-FastEthernet 0/5)#exitS2328G_01(config)#vlan 20S2328G_01(config-vlan)#name technicalS2328G_01(config-vlan)#exitS2328G_01(config)#interface fastethernet 0/15S2328G_01(config-if-FastEthernet 0/15)#switchport access vlan 20S2328G_01(config-if-FastEthernet 0/15)#show vlan id 20VLAN Name Status Ports- - - - 20 technical STATIC Fa0/15, Fa0/24S2328G_01(config-if-FastEthernet 0/15)#exitS2328G_01(config)#interface fastethernet 0/24S2328G_01(config-if-FastEthernet 0/24)#switchport mode trunkS2328G_01(config-if-FastEthernet 0/24)#$ 0/24 switchportInterface Switchport Mode Access Native Protected VLAN lists- - - - - - -FastEthernet 0/24 enabled TRUNK 1 1 Disabled ALLS2328G_01(config-if-FastEthernet 0/24)#Switch2:S2328G_02en 14Password:S2328G_02#configure terminalEnter configuration commands, one per line. End with CNTL/Z.S2328G_02(config)#vlan 10S2328G_02(config-vlan)#name salesS2328G_02(config-vlan)#exitS2328G_02(config)#interface fastethernet 0/5S2328G_02(config-if-FastEthernet 0/5)#switchport access vlan 10S2328G_02(config-if-FastEthernet 0/5)#show vlan id 10VLAN Name Status Ports- - - - 10 sales STATIC Fa0/5, Fa0/24S2328G_02(config-if-FastEthernet 0/5)#exitS2328G_02(config)#interface fastethernet 0/24S2328G_02(config-if-FastEthernet 0/24)#switchport mode trunkS2328G_02(config-if-FastEthernet 0/24)#$ 0/24 switchportInterface Switchport Mode Access Native Protected VLAN lists- - - - - - -FastEthernet 0/24 enabled TRUNK 1 1 Disabled ALLS2328G_02(config-if-FastEthernet 0/24)#测试结果:PC1 ping PC3PC1:C:Documents and Settingsnbuping 192.168.10.30Pinging 192.168.10.30 with 32 bytes of data:Reply from 192.168.10.30: bytes=32 time=1ms TTL=128Reply from 192.168.10.30: bytes=32 time1ms TTL=128Reply from 192.168.10.30: bytes=32 time1ms TTL=128Reply from 192.168.10.30: bytes=32 timeping 192.168.10.30Pinging 192.168.10.30 with 32 bytes of data:Request timed out.Request timed out.Request timed out.Request timed out.Ping statistics for 192.168.10.30: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),C:Documents and Settingsnbu实验二:实验代码:S3760_02(config)#configure terminal% Unknown command.S3760_02(config)#vlan 10S3760_02(config-vlan)#exitS3760_02(config)#vlan 20S3760_02(config-vlan)#exitS3760_02(config)#interface fastethernet 0/1S3760_02(config-if-FastEthernet 0/1)#switchport access vlan 10S3760_02(config-if-FastEthernet 0/1)#exitS3760_02(config)#interface fastethernet 0/2S3760_02(config-if-FastEthernet 0/2)#switchport access vlan 20S3760_02(config-if-FastEthernet 0/2)#exitS3760_02(config)#interface vlan 10S3760_02(config-if-VLAN 10)#ip address 192.168.10.1 255.255.255.0S3760_02(config-if-VLAN 10)#no shutdownS3760_02(config-if-VLAN 10)#exitS3760_02(config)#interface vlan 20S3760_02(config-if-VLAN 20)#ip address 192.168.20.1 255.255.255.0S3760_02(config-if-VLAN 20)#no shutdownS3760_02(config-if-VLAN 20)#exitS3760_02(config)#测试结果:C:Documents and Settingsnbuping 192.168.20.2Pinging 192.168.20.2 with 32 bytes of data:Reply from 192.168.20.2: bytes=32 time=8ms TTL=127Reply from 192.168.20.2: bytes=32 time1ms TTL=127Reply from 192.168.20.2: bytes=32 time1ms TTL=127Reply from 192.168.20.2: bytes=32 timeen 14Password:S2328G_01#spanning-tr
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号