第 8 章 使用 Open vSwitch DPDK 配置和测试 LACP 绑定
注意
取决于您使用的 Red Hat OpenStack Platform(RHOSP)版本,使用 LACP 的 OVS 绑定可能不被支持。检查产品文档,以验证是否支持使用 LACP 的 OVS 绑定。
要使用 Open vSwitch DPDK 配置和测试 LACP 绑定,请完成以下任务:
- 为 LACP 配置交换机端口。
- 为 LACP 配置 Linux 内核绑定作为基准。
- 为 LACP 配置 OVS DPDK 绑定。
注意
本主题论述了使用 Dell S4048-ON 交换机的切换配置。RHEL 和 OVS 的配置保持不变,不同的交换机厂商的操作系统将使用不同的语法来配置 LACP。
8.1. 为 LACP 配置交换端口 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
将交换机接口重置为默认设置:
S4048-ON-sw#config t S4048-ON-sw(conf)#default int te1/2 S4048-ON-sw(conf)#default int te1/7
S4048-ON-sw#config t S4048-ON-sw(conf)#default int te1/2 S4048-ON-sw(conf)#default int te1/7
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 配置端口通道和其他端口设置:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 配置 VLAN:
S4048-ON-sw#config t S4048-ON-sw(conf)#int range vlan901-909 S4048-ON-sw(conf-if-range-vl-901-909)#tagged Port-channel 1 S4048-ON-sw(conf-if-range-vl-901-909)#end S4048-ON-sw#
S4048-ON-sw#config t S4048-ON-sw(conf)#int range vlan901-909 S4048-ON-sw(conf-if-range-vl-901-909)#tagged Port-channel 1 S4048-ON-sw(conf-if-range-vl-901-909)#end S4048-ON-sw#
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 验证 VLAN 标记:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 验证 LACP 配置:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow