interface range f0/6 - 10 switchport mode access switchport access vlan 30 exit interface range f0/11 - 17 switchport mode access switchport access vlan 10 exit interface range f0/18 - 24 switchport mode access switchport access vlan 20 end copy running-config startup-config 步骤 2. 检查 S2 和 S3 是否已收到 S1 传播的 VLAN 配置。
步骤 3. 将连接到 PC 的 S2 端口配置为接入模式,并将每个端口分配到相应的 VLAN。 S2配置命令 configure terminal interface range f0/5 - 10 switchport mode access switchport access vlan 30 exit interface range f0/11 - 17 switchport mode access
16
switchport access vlan 10 exit interface range f0/18 - 24 switchport mode access switchport access vlan 20 end copy running-conifg startup-config S3配置命令 configure terminal interface range f0/5 - 10 switchport mode access switchport access vlan 30 exit interface range f0/11 - 17 switchport mode access switchport access vlan 10 exit interface range f0/18 - 24 switchport mode access switchport access vlan 20 end
copy running-config startup-config 步骤 4. 检查结果。
17
完成比例应为 100%。如果并非如此,请单击 Check Results(检查结果)查看尚未完成哪些必要部分。
任务 11:检验端到端连通性
步骤 1. 检查 PC1、PC2 和 PC3 能否彼此 ping 通。 步骤 2. 检查 PC1、PC2 和 PC3 能否 ping 通 Web Server。
18