项目案例1:200-500人规模园区网设计一、实验拓扑二、项目需求图中为某办公园区网网络,设备部署如图所示,公司拥有有线和无线接入网络以及数据中心服务器集群,现需要完成以下需求:园区内部通过OSPF进行组网,并且所有设备在同一个区域。其中core设备为核心交换机、AGG设备为楼层汇聚交换机设备、ACC为接入设备。其中楼层网关配置在AGG设备上,并且需要为终端分配IP地址和DNS等参数,数据中心的网关配置在core switch1核心设备上;汇聚和核心之间的链路通过配置链路聚合增加接入带宽;有线用户、无线用户的上网vlan如果所示,三层设备之间的互联vlan自行规划;AC通过纳管AP,需要实现三个不同楼层的无线终端业务,vlan分别为vlan12、vlan22、vlan32,并且拥有不同的SSID;公司出口租用一条专线(电信线路)和一条PPPoE拨号链路,用于实现内部员工上网需求。同时,电信线路,专门用于提供内部服务器的访问需求。三、设备配置步骤与操作参考(1)配置三条链路聚合core 1:核心设备要创建多少个聚合口?–3个聚合口interface Eth-Trunk1 mode lacp-static // 用 LACP模式 trunkport g0/0/2 trunkport g0/0/3知识点提示:链路聚合有两个模式:手工模式(manual)和LACP模式手工模式:强制模式,没有协商机制,有几条链路就用几条链路(默认模式)LACP模式:可以自定义备份链路,更灵活,需要协商报文interface Eth-Trunk 2 mode lacp-static trunkport g0/0/4 trunkport g0/0/5 interface Eth-Trunk 3 mode lacp-static trunkport g0/0/6 trunkport g0/0/7AGG1:interface Eth-Trunk 1 mode lacp-static trunkport g0/0/1 trunkport g0/0/2AGG2:interface Eth-Trunk 2 mode lacp-static trunkport g0/0/1 trunkport g0/0/2AGG3:interface Eth-Trunk 3 mode lacp-static trunkport g0/0/1 trunkport g0/0/2验证效果:display interface eth-trunk /display interface brief(2)配置VLAN交换机配VLAN:接入层交换机—汇聚层交换机—核心层ACC1:vlan 10(其他ACC设备,按要求配置)汇聚层交换机:AGG1:vlan batch 10 11 12 100 101AGG2:vlan batch 20 21 22 100 102AGG3:vlan batch 30 31 32 100 103核心层交换机:core1:vlan batch 101 102 103 40 100数据中心交换机:DC_SW:vlan batch 40 100(3)配置链路类型核心层:core1:interface Eth-Trunk 1 port link-type trunk port trunk allow-pass vlan 100 101 interface Eth-Trunk 2 port link-type trunk port trunk allow-pass vlan 100 102 interface Eth-Trunk 3 port link-type trunk port trunk allow-pass vlan 100 103 interface G 0/0/8 port link-type trunk port trunk allow-pass vlan 40 100汇聚层:AGG1: