Zu den Hauptinhalten
  • Bestellungen schnell und einfach aufgeben
  • Bestellungen anzeigen und den Versandstatus verfolgen
  • Profitieren Sie von exklusiven Prämien und Rabatten für Mitglieder
  • Erstellen Sie eine Liste Ihrer Produkte, auf die Sie jederzeit zugreifen können.
  • Verwalten Sie mit der Unternehmensverwaltung Ihre Dell EMC Seiten, Produkte und produktspezifischen Kontakte.

Dell EMC Networking OS Configuration Guide for the S5048F–ON System 9.14.2.4

PDF

Sample Configurations

Before you set up VRRP, review the following sample configurations.

VRRP for an IPv4 Configuration

The following configuration shows how to enable IPv4 VRRP. This example does not contain comprehensive directions and is intended to provide guidance for only a typical VRRP configuration. You can copy and paste from the example to your CLI. To support your own IP addresses, interfaces, names, and so on, be sure that you make the necessary changes. The VRRP topology was created using the CLI configuration shown in the following example.

Figure 1. VRRP for IPv4 Topology
Illustration of VRRP for IPv4 topology.

Examples of Configuring VRRP for IPv4 and IPv6

The following example shows configuring VRRP for IPv4 Router 2.

R2(conf)#interface twentyFiveGigE  2/31
R2(conf-if-tf-2/31)#ip address 10.1.1.1/24
R2(conf-if-tf-2/31)#vrrp-group 99
R2(conf-if-tf-2/31-vrid-99)#priority 200
R2(conf-if-tf-2/31-vrid-99)#virtual 10.1.1.3
R2(conf-if-tf-2/31-vrid-99)#no shut
R2(conf-if-tf-2/31)#show conf
!
interface twentyFiveGigE 2/31
  ip address 10.1.1.1/24
!
  vrrp-group 99
    priority 200
    virtual-address 10.1.1.3
  no shutdown
R2(conf-if-tf-2/31)#end

R2#show vrrp
------------------
twentyFiveGigE 2/31, VRID: 99, Net: 10.1.1.1
VRF: 0 default
State: Master, Priority: 200, Master: 10.1.1.1 (local)
Hold Down: 0 sec, Preempt: TRUE, AdvInt: 1 sec
Adv rcvd: 0, Bad pkts rcvd: 0, Adv sent: 817, Gratuitous ARP sent: 1
Virtual MAC address:
  00:00:5e:00:01:63
Virtual IP address:
  10.1.1.3
Authentication: (none)
R2#
Router 3
R3(conf)#interface twentyFiveGigE 3/21
R3(conf-if-tf-3/21)#ip address 10.1.1.2/24
R3(conf-if-tf-3/21)#vrrp-group 99
R3(conf-if-tf-3/21-vrid-99)#virtual 10.1.1.3
R3(conf-if-tf-3/21-vrid-99)#no shut
R3(conf-if-tf-3/21)#show conf
!
interface twentyFiveGigE 3/21
  ip address 10.1.1.1/24
!
  vrrp-group 99
   virtual-address 10.1.1.3
  no shutdown
R3(conf-if-tf-3/21)#end
R3#show vrrp
------------------
twentyFiveGigE 3/21, VRID: 99, Net: 10.1.1.2
VRF: 0 default
State: Backup, Priority: 100, Master: 10.1.1.1
Hold Down: 0 sec, Preempt: TRUE, AdvInt: 1 sec
Adv rcvd: 698, Bad pkts rcvd: 0, Adv sent: 0, Gratuitous ARP sent: 0
Virtual MAC address:
  00:00:5e:00:01:63
Virtual IP address:
  10.1.1.3
Authentication: (none)
Figure 2. VRRP for an IPv6 Configuration
Illustration of VRRP for an IPv6 configuration.
NOTE In a VRRP or VRRPv3 group, if two routers come up with the same priority and another router already has MASTER status, the router with master status continues to be MASTER even if one of two routers has a higher IP or IPv6 address.

The following example shows configuring VRRP for IPv6 Router 2 and Router 3.

Configure a virtual link local (fe80) address for each VRRPv3 group created for an interface. The VRRPv3 group becomes active as soon as you configure the link local address. Afterward, you can configure the group’s virtual IPv6 address.

The virtual IPv6 address you configure must be the same as the IPv6 subnet to which the interface belongs.

Although R2 and R3 have the same default, priority (100), R2 is elected master in the VRRPv3 group because the interface has a higher IPv6 address than the twentyFiveGigE 1/2 interface on R3.

Router 2
R2(conf)#interface twentyFiveGigE 1/1
R2(conf-if-tf-1/1)#no ip address
R2(conf-if-tf-1/1)#ipv6 address 1::1/64
R2(conf-if-tf-1/1)#vrrp-group 10
R2(conf-if-tf-1/1-vrid-10)#virtual-address fe80::10
R2(conf-if-tf-1/1-vrid-10)#virtual-address 1::10
R2(conf-if-tf-1/1-vrid-10)#no shutdown
R2(conf-if-tf-1/1)#show config
interface twentyFiveGigE 1/1
  ipv6 address 1::1/64
  vrrp-group 10
    priority 100
    virtual-address fe80::10
    virtual-address 1::10
  no shutdown
R2(conf-if-tf-1/1)#end

R2#show vrrp
------------------
twentyFiveGigE 1/1, IPv6 VRID: 10, Version: 3, Net:fe80::201:e8ff:fe6a:c59f
VRF: 0 default
State: Master, Priority: 100, Master: fe80::201:e8ff:fe6a:c59f (local)
Hold Down: 0 centisec, Preempt: TRUE, AdvInt: 100 centisec
Accept Mode: FALSE, Master AdvInt: 100 centisec
Adv rcvd: 0, Bad pkts rcvd: 0, Adv sent: 135
Virtual MAC address:
00:00:5e:00:02:0a
Virtual IP address:
1::10 fe80::10

Router 3
R3(conf)#interface twentyFiveGigE 1/2
R3(conf-if-tf-1/2)#no ipv6 address
R3(conf-if-tf-1/2)#ipv6 address 1::2/64
R3(conf-if-tf-1/2)#vrrp-group 10
R2(conf-if-tf-1/2-vrid-10)#virtual-address fe80::10
R2(conf-if-tf-1/2-vrid-10)#virtual-address 1::10
R3(conf-if-tf-1/2-vrid-10)#no shutdown
R3(conf-if-tf-1/2)#show config
interface twentyFiveGigE 1/2
  ipv6 address 1::2/64
  vrrp-group 10
    priority 100
    virtual-address fe80::10
    virtual-address 1::10
  no shutdown
R3(conf-if-tf-1/2)#end

R3#show vrrp
------------------
twentyFiveGigE 1/2, IPv6 VRID: 10, Version: 3, Net:
fe80::201:e8ff:fe6b:1845
VRF: 0 default
State: Backup, Priority: 100, Master: fe80::201:e8ff:fe6a:c59f
Hold Down: 0 centisec, Preempt: TRUE, AdvInt: 100 centisec
Accept Mode: FALSE, Master AdvInt: 100 centisec
Adv rcvd: 11, Bad pkts rcvd: 0, Adv sent: 0
Virtual MAC address:
00:00:5e:00:02:0a

Diesen Inhalt bewerten

Präzise
Nützlich
Leicht verständlich
War dieser Artikel hilfreich?
0/3000 characters
  Bitte geben Sie eine Bewertung ab (1 bis 5 Sterne).
  Bitte geben Sie eine Bewertung ab (1 bis 5 Sterne).
  Bitte geben Sie eine Bewertung ab (1 bis 5 Sterne).
  Bitte geben Sie an, ob der Artikel hilfreich war.
  Die folgenden Sonderzeichen dürfen in Kommentaren nicht verwendet werden: <>()\