S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
44-6
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 44 Configuring IP Storage
Configuring Gigabit Ethernet High Availability
Configuring VRRP for Gigabit Ethernet Interfaces
To configure VRRP for Gigabit Ethernet interfaces using IPv4, follow these steps:
To configure VRRP for Gigabit Ethernet interfaces using IPv6, follow these steps:
Command
Purpose
Step 1
switch1#
config terminal
switch1(config)#
Enters configuration mode.
Step 2
switch(config)#
interface
gigabitethernet 2/2
switch(config-if)#
Enters the interface configuration mode on the Gigabit
Ethernet interface (slot 2, port 2).
Step 3
switch(config-if)#
ip address
10.1.1.10 255.255.255.0
Assigns the IPv4 address (10.1.1.10) and subnet mask
(255.255.255.0) for the Gigabit Ethernet interface.
Step 4
switch(config-if)#
no shutdown
Enables the selected interface.
Step 5
switch(config-if)#
vrrp 100
switch(config-if-vrrp)
Creates VR ID 100.
Step 6
switch(config-if-vrrp)
# address
10.1.1.100
Configures the virtual IPv4 address (10.1.1.100) for the
selected VRRP group (identified by the VR ID).
Note
The virtual IPv4 address must be in the same
subnet as the IPv4 address of the Gigabit
Ethernet interface. All members of the VRRP
group must configure the same virtual IPv4
address.
Step 7
switch(config-if-vrrp)
#
priority 10
Configures the priority for the selected interface within
this VRRP group.
Note
The interface with the highest priority is selected
as the master.
Step 8
switch(config-if-vrrp)
#
no shutdown
Enables the VRRP protocol on the selected interface.
Command
Purpose
Step 1
switch1#
config terminal
switch1(config)#
Enters configuration mode.
Step 2
switch(config)#
interface
gigabitethernet 2/2
switch(config-if)#
Enters the interface configuration mode on the Gigabit
Ethernet interface (slot 2, port 2).
Step 3
switch(config-if)#
ipv6 address
2001:0db8:800:200c::417a/64
Assigns the IPv6 address for the Gigabit Ethernet
interface.
Step 4
switch(config-if)#
no shutdown
Enables the selected interface.
Step 5
switch(config-if)#
vrrp ipv6 100
switch(config-if-vrrp-ipv6)
Creates VR ID 100.
Step 6
switch(config-if-vrrp-ipv6)
# address
2001:0db8:800:200c::417a
Assigns single primary link-local IPv6 address or one of
the multiple secondary IPv6 addresses.
Note
If this IPv6 address is the same as the physical
IPv6 address, this switch is automatically the
owner of this IPv6 address.