11Рvlan 12Рvlan 13Рvlan 14РexР 在s1上分配端口Р EnРconfig tРinter f0/11Рswitchp acc vlan 11РexРinter f0/12Рswitchp acc vlan 12Р 在s2上分配端口РenРconfig tРinter f0/13Рswitchp acc vlan 13РexРinter f0/14Рswitchp acc vlan 14Р 在s3上分配端口РenРconfig tРinter f0/13Рswitchp acc vlan 13РexРinter f0/14Рswitchp acc vlan 14Р 在s4上分配端口РenРconfig tРinter f0/11Рswitchp acc vlan 11РexРinter f0/12Рswitchp acc vlan 12Р 将s1,s2,s3,s4之间的链路配成trunkРs1Рinter f0/1Рswitchp mode trunkРexРs2Рinter f0/2Рswitchp mode trunkРexРs3Рinter f0/3Рswitchp mode trunkРexР 在core1和s1,core2和s4之间使用链路聚合Рcore1РenРconfig tРinter rang f0/2,f0/4Рchannel-group 1 mode activeРsw mode trunkРexРs1РenРconfig tРinter rang f0/2,f0/4Рchannel-group 1 mode activeРsw mode trunkРexРcore2РenРconfig tРinter rang f0/2,f0/4Рchannel-group 1 mode activeРsw mode trunkРexРs4