阅读以下说明,根据要求回答问题。
[说明]
某单位的网络拓扑结构如图8-26所示。Switch1、Switch3是两台三层交换机,Switch2、Switch4是两台普通交换机,PCI归属于VLAN 2,PC2归属于VLAN 3。
在该单位的三层交换机Switch1上,实现PC1与PC2之间的相互通信的配置如下,请将(1)~(6)空缺处的配置语句或命令解释填写完整。
Switch1# vlan database
Switch1(vlan)# (1) (创建一个ID号2的VLAN,并命名为lab01)
……(此年省略创建一个ID号为3的VLAN,并命名为lab02的配置)
Switch1(vlan)#exit
Switch1#config terminal
Switch1(config)#inerface GigabitEthernet0/1/20(进入GE0/1/20接口的配置子模式)
Switch1(config-if)# (2) (设置端口为trunk模式)
Switch1(config-if)# (2) (允许当前端口通过所有VLAN数据包)
……(此处省略将端口GE0/1/21分配给VLAN3的配置)
Switch1(config-if)#exit
Switch1(config)# ip routing ( (4) )
Switch1(config)# interface vlan 2
Switch1(config-if)# no shutdown
Switch1(config-if)# ip address 10.1.1.254 255.255.255.0( (5) )
Switch1(config-if)#exit
Switch1(config)# interface vlan 3
Switch1(config-if)# no shutdown
Switch1(config-if)# ip address 10.1.1.254 255.255.255.0
Switch1(config-if)# end
Switch1# show ip route
……(此处省略部分信息)
10.1.0.0/24 is subnetted,2subnets
C10.1.1.0 is directly connected,Vlan 2
(6) 10.1.2.0 is directly connectde,Vlan 3