Table of contents
有线核心
网络核心是校园LAN内最关键的连接点,因此设计用于简单性和可靠性。相对于网络的其余部分,核心提供高速,高带宽,在校园的各种聚合点之间的第3层连接。
The network core can also provide services aggregation functions when needed. Deciding where to locate network services, such as gateway devices, depends on the number of access aggregation switches and where user applications are hosted. Refer to theESP校园设计已验证的解决方案指南for further discussion.
Configuring the Core with Template Groups
机箱交换机通常在网络核心部署。每个开关通常需要大量的第3层接口。在机箱对中使用每个开关的模板组,以简化配置过程。这是以下过程中描述的示例。
在部署固定配置交换机时,请在从此过程中应用配置内容的同时使用MultiEdit遵循聚合交换机部署。
下图显示了Aruba ESP校园内的独立核心交换机。
有线核心

创建核心交换机模板
示例核心交换机模板是提供的参考配置本指南的一部分。模板包括如前所述的基本配置配置组设置。
配置OSPF路由
In the following procedure, Open Shortest Path First (OSPF) routing is configured and neighbor relationships are established between aggregation and core switches by configuring point-to-point IP links using /30 subnets. Then, Protocol Independent Multicast-Sparse Mode (PIM-SM) routing is enabled on the same links to ensure multicast streams coming from the core can flow to the access VLANs.
下图可以用作下面实现的配置的参考点。
OSPF Topology

Step 1使用区域0配置全局OSPF路由实例,并启用无源接口默认值以避免不需要的OSPF邻接。使用预先分配的环回IP地址作为路由器ID。当机箱有冗余管理模块时,请启用优雅的重启。
路由器OSPF 1区域0被动接口默认路由器-D 10.0.0.1 Graceful-Restart Restart-Interval 30
Step 2在环回接口上配置OSPF。创建环回0接口,并使用上一步中使用路由器ID配置IP地址。使OSPF具有区域0。
接口环回0 IP地址10.0.0.1/32 IP OSPF 1区域0
Step 3Configure OSPF on the physical interfaces. Configure a large IP MTU, turn off OSPF passive mode, set the OSPF network to point-to-point, and enable OSPF using the router process and area.
interface 1/1/1 description CORE_TO_AG1 no shutdown ip mtu 9198 ip address 172.18.103.2/30 no ip ospf passive ip ospf network point-to-point ip ospf 1 area 0
第四步对交换机上的聚合接口重复上一步。
Example: Core 1 Switch
| Core 1 IP Address | Subnet | 同行设备 |
|---|---|---|
| 172.18.100.1 | 172.18.100.0/30 | 核心2 |
| 172.18.100.5 | 172.18.100.4/30 | 核心2 |
| 172.18.106.2. | 172.18.106.0/30 | S2-1 |
| 172.18.106.10 | 172.18.106.8/30 | S2-2 |
| 172.18.102.2 | 172.18.102.0/30 | AG2-1 |
| 172.18.102.10 | 172.18.102.8/30 | ag2-2 |
| 172.18.103.2 | 172.18.103.0/30 | AG1-1 |
| 172.18.103.10 | 172.18.103.8/30 | ag1-2 |
Example: Core 2 Switch
| 核心2 IP地址 | Subnet | 同行设备 |
|---|---|---|
| 172.18.100.2 | 172.18.100.0/30 | 核心2 |
| 172.18.100.6 | 172.18.100.4/30 | 核心2 |
| 172.18.106.6 | 172.18.106.4/30 | S2-1 |
| 172.18.106.14 | 172.18.106.12/30 | S2-2 |
| 172.18.102.6 | 172.18.106.4/30 | AG2-1 |
| 172.18.102.14 | 172.18.102.12/30 | ag2-2 |
| 172.18.103.6 | 172.18.103.4/30 | AG1-1 |
| 172.18.103.14 | 172.18.103.12/30 | ag1-2 |
配置组播路由
在以下过程中,PIM-SM将启用并与环回1接口相关联。然后,核心被配置为使用环回1 IP地址作为源接口的Rendezvous点(RP)候选和引导路由器(BSR)候选。接下来,在环回0接口上启用MSDP和PIM-SM,每个连接到聚合交换机的物理接口。
Step 1Configure multicast routing globally.
router pim enable
Step 2Create a new loopback interface with the Anycast IP address. Enable PIM-SM and OSPF.
yourcast ip:10.0.0.100/32
interface loopback 1 ip address 10.0.0.100/32 ip pim-sparse enable ip ospf 1 area 0
Step 3使用Anycast IP地址配置RP和BSR候选源IP接口,设置RP候选组前缀和BSR候选优先级。
路由器PIM启用RP-候选源-IP-Interface 10.0.0.100 RP-候选组 - 前缀224.0.0.0/4 BSR-候选源-IP-interface 10.0.0.100 BSR-候选优先级1
笔记:The RP candidate group prefix should be adjusted based on your network requirements.
第四步Configure MSDP globally. The MSDP peer is the IP address of loopback 0 interface on the adjacent core switch. The local loopback 0 interface is the connect-source.
Example: Core 1 Switch
router msdp enable ip msdp peer 10.0.0.2 connect-source loopback0
Example: Core 2 Switch
路由器msdp启用ip msdp同行10.0.0.1 connect-s表示ource loopback0
第5步在环回0接口上配置PIM-SM。
接口环回0 IP地址10.0.0.1/32 IP OSPF 1区域0 IP PIM-Sparame Enable
第6步Configure PIM-SM on the physical interfaces.
interface 1/1/1 description CORE_TO_AGG1 no shutdown ip mtu 9198 ip address 172.18.103.2/30 no ip ospf passive ip ospf network point-to-point ip ospf 1 area 0 ip pim-sparse enable
第7步为核心和聚合交换机之间的每个接口重复上一步。
上传核心交换机模板和变量
Step 1导航Central并使用管理员凭据登录。
Step 2在Aruba Central账户主页上,推出Network Operations应用程序。
Step 3在“过滤器”下拉列表中,选择“设备模板”组。
第四步从左侧菜单中,选择设备。
第5步In the upper right of the Switches page, clickConfig。
第6步On the header row of the Templates table, click theplus (+) signto add a template.

第7步输入模板详细信息。
- TEMPLATE NAME:Core01模板
- DEVICE TYPE:Aruba CX
- MODEL:8400
- PART NAME:(全部)
- 版本:10.08

第8步Paste the configuration template into the editor window.

第9步Click theVariables标签。

Step 10选择CSV,然后单击下载变量文件下载示例变量文件。
Step 11使用正确的,切换每个变量的特定值进行编辑变量文件。

Step 12单击上传变量文件上传变量文件。
Step 13Confirm that the group自动提交状态是ON并且模板和变量已经合并而没有错误Configuration Audit标签。
组中的设备将自动同步新配置。同步状态将在配置状态页面上更新。在左侧菜单上观察到处理步骤执行,单击审计跟踪。在聚合交换机部署期间执行第3层路由的验证。