Adding Virtual Router Ip Addresses - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Virtual Router Redundancy Protocol
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

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:
Command
Step 1
switch# config t
Step 2
switch(config)# interface vsan 10
switch(config-if)#
Step 3
switch(config-if)# interface ip address
10.0.0.12 255.255.255.0
Step 4
switch(config-if)# vrrp 250
switch(config-if-vrrp)#
Step 5
switch(config-if-vrrp)# address 10.0.0.10
switch(config-if-vrrp)# no address 10.0.0.10
Step 6
switch(config-if-vrrp)# address 10.0.0.10
secondary
switch(config-if-vrrp)# no address 10.0.0.10
secondary
To configure an IPv6 address for a virtual router, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# interface vsan 12
switch(config-if)#
Step 3
switch(config-if)# interface ipv6 address
2001:0db8:800:200c::417a/64
Step 4
switch(config-if)# vrrp ipv6 200
switch(config-if-vrrp-ipv6)#
Cisco MDS 9000 Family CLI Configuration Guide
44-20
Chapter 44
Purpose
Enters configuration mode.
Configures a VSAN interface (VSAN 10).
Configures an IPv4 address and subnet mask. The
IPv4 address must be configured before the VRRP
is added.
Creates VR ID 250.
Configures the IPv4 address for the selected VR.
This IP v4address should be in the same
Note
subnet as the IPv4 address of the interface.
Removes the IP address for the selected VR.
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
Removes the IP address (10.0.0.10) as secondary
for the selected VR.
Purpose
Enters configuration mode.
Configures a VSAN interface (VSAN 12).
Configures an IP address and prefix. The IPv6
address must be configured before the VRRP is
added.
Creates VR ID 200.
OL-18084-01, Cisco MDS NX-OS Release 4.x
Configuring IP Services
43-85).

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents