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
43-20
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 43 Configuring IP Services
Virtual Router Redundancy Protocol
Adding Virtual Router IP Addresses
One virtual router IP address can be configured for a virtual router. If the configured IP address is the
same as the interface IP address, this switch automatically owns the IP address. You can configure either
an IPv4 address or an IPv6 address.
According to the VRRP specification, the master VRRP router drops the packets addressed to the virtual
router's IP address because the virtual router is only intended as a next-hop router to forward packets. In
MDS switches however, some applications require that packets addressed to virtual router's IP address
be accepted and delivered to them. By using the
secondary
option to the virtual router IPv4 address, the
VRRP router will accept these packets when it is the master.
To configure an IPv4 address for a virtual router, follow these steps:
To configure an IPv6 address for a virtual router, follow these steps:
Command
Purpose
Step 1
switch#
config t
Enters configuration mode.
Step 2
switch(config)#
interface vsan 10
switch(config-if)#
Configures a VSAN interface (VSAN 10).
Step 3
switch(config-if)#
interface ip address
10.0.0.12 255.255.255.0
Configures an IPv4 address and subnet mask. The
IPv4 address must be configured before the VRRP
is added.
Step 4
switch(config-if)#
vrrp 250
switch(config-if-vrrp)#
Creates VR ID 250.
Step 5
switch(config-if-vrrp)#
address 10.0.0.10
Configures the IPv4 address for the selected VR.
Note
This IP v4address should be in the same
subnet as the IPv4 address of the interface.
switch(config-if-vrrp)#
no address 10.0.0.10
Removes the IP address for the selected VR.
Step 6
switch(config-if-vrrp)#
address 10.0.0.10
secondary
Configures the IP address (10.0.0.10) as
secondary for the selected VR.
Note
The
secondary
option should be used
only with applications that require VRRP
routers to accept the packets sent to the
virtual router's IP address and deliver to
them. For example, iSNS requires this
option (see the
“Enabling the iSNS
Server” section on page 42-85
).
switch(config-if-vrrp)#
no address 10.0.0.10
secondary
Removes the IP address (10.0.0.10) as secondary
for the selected VR.
Command
Purpose
Step 1
switch#
config t
Enters configuration mode.
Step 2
switch(config)#
interface vsan 12
switch(config-if)#
Configures a VSAN interface (VSAN 12).
Step 3
switch(config-if)#
interface ipv6 address
2001:0db8:800:200c::417a/64
Configures an IP address and prefix. The IPv6
address must be configured before the VRRP is
added.
Step 4
switch(config-if)#
vrrp ipv6 200
switch(config-if-vrrp-ipv6)#
Creates VR ID 200.
Содержание 9124 - Cisco MDS Fabric Switch
Страница 76: ...Se 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 ck d o c c i s c o c o m ...
Страница 122: ...Se 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 ck d o c c i s c o c o m ...
Страница 328: ...Se 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 ck d o c c i s c o c o m ...
Страница 482: ...Se 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 ck d o c c i s c o c o m ...
Страница 733: ...Se 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 ck d o c c i s c o c o m P A R T 5 Security ...
Страница 734: ...Se 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 ck d o c c i s c o c o m ...
Страница 957: ...Se 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 ck d o c c i s c o c o m P A R T 6 IP Services ...
Страница 958: ...Se 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 ck d o c c i s c o c o m ...
Страница 1182: ...Se 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 ck d o c c i s c o c o m ...
Страница 1214: ...Se 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 ck d o c c i s c o c o m ...
Страница 1307: ...Se 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 ck d o c c i s c o c o m P A R T 9 Traffic Management ...
Страница 1308: ...Se 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 ck d o c c i s c o c o m ...
Страница 1331: ...Se 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 ck d o c c i s c o c o m P A R T 1 0 Troubleshooting ...
Страница 1332: ...Se 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 ck d o c c i s c o c o m ...