如何为 DELL EMC Networking OS10 交换机上的 IPv6 客户端配置虚拟路由器冗余协议 (VRRP)

Summary: 如何为 DELL EMC Networking OS10 交换机上的 IPv6 客户端配置虚拟路由器冗余协议 (VRRP)

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

目录

什么是 VRRP
要求
配置
示例 IPv6 VRRP 设置
拓扑
示例输出
验证 VRRP 是否正常工作。
 

什么是 VRRP


VRRP 允许我们从 LAN 上的物理路由器组/第三层交换机配置虚拟路由器。这些虚拟路由平台形成主和备份对。VRRP 可帮助我们避免网络中路由器/第三层交换机出现单点故障。
 

要求


默认情况下,OS10 具有 VRRP 版本 2。我们必须在交换机上配置 VRRP 版本 3 以支持 IPv6。在交换机中更改 VRRP 版本必须进行适当的规划。单击此处了解有关 VRRP 版本 3 的更多详细信息
 

配置

 
命令 用途
OS10-Switch1# 配置终端 进入配置模式
OS10-Switch1(config)# vrrp 版本 3 为系统配置 VRRP 版本
OS10-Switch1(config)# 接口 vlan <ID>/接口 <端口> 配置 Vlan/接口
OS10-Switch1(conf-if-XX-X)# ipv6 地址 <IPv6> 配置 IPv6 IP 地址
OS10-Switch1(conf-if-XX-X)# vrrp-ipv6-group <ID> 输入 VRRP 组标识号(1 到 255)
OS10-Switch1(conf-XX-vrid-v6-Y)# 虚拟地址 <IPv6 地址> 配置虚拟路由器 IPv6 地址
OS10-Switch1(conf-XX-vrid-v6-Y)# 优先级优先 <级> 设置虚拟路由器优先级 <值 1 - 254,默认值 100> (可选)
OS10-Switch1(conf-XX-vrid-v6-Y)# 通告间隔间隔<> 更改通告间隔设置 <Value Centiseconds :25 - 4075,默认值 100> (可选)
 


VRRP IPv6 设置示例


要演示 VRRP 的配置,请使用示例拓扑。

在两个 VRRP 对等节点的 vlan 1 中配置 IPv6 地址。
交换机 1 中的 vlan 1 上的 IPv6 地址:交换机 2 中 vlan 1 上的 1000::1/64
IPv6 地址:1000::2/64
VRRP 的 IPv6 虚拟地址:         交换机 1 上的 1000::1000
VRRP 优先级:               交换机 2 上的 150
VRRP 优先级:               200 =>这会导致交换机 2 选择为主交换机 2。

交换机 1 Vlan 1 IPv6 地址能够 ping 至交换机 2 Vlan 1 IPv6 地址
 

拓扑


SLN319048_en_US__1image (13350)

 

 

Cause

示例配置


OS10-交换机 1

 OS10-Switch1# 配置终端
OS10-Switch1(config)# vrrp 版本 3
OS10-Switch1(config)# interface vlan 1
OS10-Switch1(conf-if-vl-1)# ipv6 address 1000::1/64
OS10-Switch1(con f-if-vl-1)# vrrp-ipv6-group 1
OS10-Switch1(conf-vlan1-vrid-v6-1)# virtual-address 1000::1000
OS10-Switch1(conf-vlan1-vrid-v6-1)# priority 150

OS10-Switch1# show running-configuration interface vlan 1

interface vlan1
no shutdown
ipv6 address 1000::1/64

vrrp-ipv6-group 1
priority 150
virtual-address 1000::1000

 

OS10-交换机 2

OS10-Switch2# 配置终端
OS10-Switch2(config)# vrrp 版本 3
OS10-Switch2(config)# interface vlan 1
OS10-Switch2(conf-if-vl-1)# ipv6 address 1000::2/64
OS10-Switch2(con f-if-vl-1)# vrrp-ipv6-group 1
OS10-Switch2(conf-vlan1-vrid-v6-1)# virtual-address 1000::1000
OS10-Switch2(conf-vlan1-vrid-v6-1)# priority 200

OS10-Switch2# show running-configuration interface vlan 1

interface vlan1
no shutdown
ipv6 address 1000::2/64

vrrp-ipv6-group 1
优先级 200
虚拟地址 1000::1000

Resolution

验证 VRRP 是否正常工作


使用命令 show vrrp briefshow vrrp ipv6 <VRRP ID>验证 VRRP 是否按预期工作

OS10-交换机 1

SLN319048_en_US__2image (13367)


OS10-交换机 2

SLN319048_en_US__3image (13368)

提醒: VRRP 使用抢占来确定 VRRP 备份路由器成为主路由器后会发生什么情况。单击此处了解有关抢占的更多详细信息 
 

Affected Products

PowerSwitch S3048-ON, PowerSwitch S4048-ON, PowerSwitch S4810-ON, Dell EMC Networking MX5108n, Dell EMC Networking MX9116n, PowerSwitch S4048T-ON, PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON , PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON, PowerSwitch S4148U-ON, PowerSwitch S4248FB-ON /S4248FBL-ON, PowerSwitch S5148F-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S6100-ON, PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON, SmartFabric OS10 Software ...
Article Properties
Article Number: 000134676
Article Type: Solution
Last Modified: 11 Oct 2023
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.