Vcs virtual ip – Brocade Network OS Command Reference v4.1.0 User Manual

Page 1393

Advertising
background image

Network OS Command Reference

1355

53-1003115-01

vcs virtual ip

2

vcs virtual ip

Assigns a single virtual IP address to all switches in a Brocade VCS Fabric.

Synopsis

vcs virtual-ip address ipv4_address/prefix_len

no vcs virtual-ip address

Operands

ip address

Configures the virtual IP address.

ipv4_address/prefix_len

Specifies the IP address in IPv4 format by means of a CIDR prefix (mask).

Defaults

None

Command Modes

Global configuration mode

Description

Use this command to assign a single virtual IP address to the configured principal switch. When
you configure the virtual IP address is configured for the first time, the address is assigned to the
principal switch. You can then access the principal switch through the management port
IP address or the virtual IP address. The virtual IP configuration is global in nature. All the nodes in
the fabric will be configured with the same virtual IP address, but the address is always bound to
the current Principal switch.

Usage Guidelines

This command can be used in VCS mode only after the fabric has formed successfully. The virtual
IP address cannot be configured on a standalone node.

The command can be executed from any node. However, you cannot remove a virtual IP address
when you are logged on to the switch using the virtual IP address. Use the management port
IP address or the serial console to configure the virtual IP address.

It is the responsibility of Network Administrator to ensure that the virtual IP address assigned is
not a duplicate of address assigned to any other management port in the VCS fabric.

The virtual IP address should be configured on the same subnet as the management interface
IP address.

Enter no vcs virtual-ip address to remove the currently-configured virtual IP address.

Examples

To assign a virtual IP address and mask to the principal switch and verify the operation:

switch(config)# vcs virtual ip address 10.21.87.2/20

switch(config)# do show vcs virtual-ip

Virtual IP

:10.21.87.2/20

Associated rbridge-id

: 2

To remove the currently configured virtual IP address:

switch(config)# no vcs virtual ip address

See Also

show vcs

Advertising