Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

如何在 Dell Networking OS9 交换机上配置虚拟路由器冗余协议 (VRRP)

Summary: 如何在 Dell Networking OS9 交换机上配置虚拟路由器冗余协议 (VRRP)

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

本文介绍如何在 Dell Networking OS9 交换机上配置虚拟路由器冗余协议 (VRRP)。

概览

VRRP 允许多个路由器为广播域中设备使用的路由 IP 地址提供主动/被动冗余。

  • VRRP 主要 — 响应虚拟 IP 地址
  • VRRP 备份 — 如果不再检测到来自主节点的通告并开始响应虚拟 IP 地址,则选为主节点
  • 虚拟路由器标识符(VRID) -已配置为在VRRP路由器之间保持一致

配置概述

  1. 在L3模式下,使用分配的IP地址,配置VRRP组和指定接口(物理或VLAN)上的VRID。
  2. 为VRRP组配置虚拟IP地址。
  3. 可选 — 配置 VRRP 优先级。

配置

路由器1
命令 目的
R1# configure
输入配置模式。
R1(conf)# interface VLAN 10
进入接口(物理或VLAN)。
R1(conf-if-vl-10)#  ip address 10.10.10.2 /24
R1(conf-if-vl-10)#  no shutdown
设置接口上的IP地址,并且为L3模式启用它。
R1(conf-if-vl-10)#  vrrp-group 10
设置VRRP组ID (VRID)。
R1(conf-if-vl-10-vrid-10)#  virtual-address 10.10.10.1
为VRRP路由器设置虚拟IP地址。 
R1(conf-if-vl-10-vrid-10)#  priority 200
(可选)为初选设置优先级,默认值为 100,较大的数字优先,范围 1-255。

路由器2
命令 目的
R2# configure
输入配置模式。
R2(conf)# interface VLAN 10
进入接口(物理或VLAN)。
R2(conf-if-vl-10)#  ip address 10.10.10.3 /24
R2(conf-if-vl-10)#  no shutdown
设置接口上的IP地址,并且为L3模式启用它。
R2(conf-if-vl-10)#  vrrp-group 10
设置VRRP组ID (VRID)
R2(conf-if-vl-10-vrid-10)#  virtual-address 10.10.10.1
为VRRP路由器设置虚拟IP地址。 
R2(conf-if-vl-10-vrid-10)#  priority 150
(可选)为初选设置优先级,默认值为 100,较大的数字优先,范围 1-255。

如果VRRP组中的两个路由器同时出现并且具有相同的优先级值,则接口的物理IP地址将用作仲裁,以确定哪个是PRIMARY。具有较高 IP 地址的路由器将成为 PRIMARY。

验证配置

R1# show vrrp
Vlan 10, IPv4 VRID: 10, Version: 2, Net: 10.10.10.2
VRF: 0 default
State: Primary, Priority: 200, Primary: 10.10.10.3
Hold Down: 0 sec, Preempt: TRUE, AdvInt: 1 sec
Adv rcvd: 0, Bad pkts rcvd: 0, Adv sent: 2434, Gratuitous ARP sent: 24
Virtual MAC address:
 00:00:5e:00:01:0a
Virtual IP address:
 10.10.10.1
Authentication: (none)
 

R2# show vrrp

Vlan 10, IPv4 VRID: 10, Version: 2, Net: 10.10.10.3
VRF: 0 default
State: Backup, Priority: 150, Primary: 10.10.10.3
Hold Down: 0 sec, Preempt: TRUE, AdvInt: 1 sec
Adv rcvd: 0, Bad pkts rcvd: 0, Adv sent: 2434, Gratuitous ARP sent: 24
Virtual MAC address:
 00:00:5e:00:01:0a
Virtual IP address:
 10.10.10.1
Authentication: (none)

Article Properties


Affected Product
OS9, Force10 S25N-S50N, Force10 S25-01-GE-24T, Force10 S25-01-GE-24V, Force10 S50-01-GE-48T-V, Force10 S50-01-GE-48T, PowerSwitch S3048-ON, PowerSwitch S4048-ON, PowerSwitch S4810P, PowerSwitch S4810-ON, Force10 S50P, PowerSwitch S6000 , PowerSwitch S6000 ON, Force10 Z9000, Dell Networking Z9500, PowerSwitch S4048T-ON, PowerSwitch S6010-ON, PowerSwitch S6100-ON, PowerSwitch Z9100-ON ...
Last Published Date

29 Apr 2024

Version

6

Article Type

How To