Virtual-ip – Brocade Network OS Command Reference v4.1.0 User Manual

Page 1395

Advertising
background image

Network OS Command Reference

1357

53-1003115-01

virtual-ip

2

virtual-ip

Configures a virtual IPv4 address for the virtual router.

Synopsis

virtual-ip A.B.C.D

no virtual-ip A.B.C.D

Operands

A.B.C.D

Virtual IPv4 address of the virtual router.

Defaults

None

Command Modes

Virtual-router-group configuration mode

Description

Use this command to configure a virtual IPv4 address for the virtual router.

This virtual IPv4 address is the IP address that an end-hosts sets as its default gateway. The virtual
IP address must belong to the same subnet as the underlying interface. A maximum of 16 virtual
IP addresses can be configured for VRRP; only one virtual IP address can be configured for
VRRP-E. The session gets enabled soon as the first virtual-ip is configured.

Usage Guidelines

You can perform this command for VRRP or VRRP-E.

Enter no virtual-ip A.B.C.D to delete the specified virtual IP address

Examples

To assign a virtual IP address of 192.53.5.1 to the VRRP virtual group 1:

switch(config)# rbridge-id 101

switch(config-rbridge-id-101)# protocol vrrp

switch(config-rbridge-id-101)# int te 101/1/6

switch(conf-if-te-101/1/6)# vrrp-group 1

switch(config-vrrp-group-1)# virtual-ip 192.53.5.1

To assign a virtual IP address of 192.53.5.1 to the VRRP-E virtual group 1:

switch(config)# rbridge-id 101

switch(config-rbridge-id-101)# protocol vrrp

switch(config-rbridge-id-101)# int ve 20

switch(config-ve-20)# vrrp-group-extended 1

switch(config-vrrp-extended-group-1)# virtual-ip 192.53.5.1

See Also

vrrp-group

Advertising