Cisco MDS 9000 Family Command Reference, Release 1.0(3a)
V Commands

Table Of Contents

V Commands

vsan database

vrrp


V Commands


The commands in this chapter apply to the Cisco MDS 9000 Family of multilayer directors and fabric switches. All commands are shown here in alphabetical order regardless of command mode. See the "Command Modes" section to determine the appropriate mode for each command. For more information, refer to the Cisco MDS 9000 Family Configuration Guide.

vsan database

vrrp

vsan database

To create multiple fabrics sharing the same physical infrastructure, to assign which ports are in which VSAN, whether Interop mode is on or off, and whether load balancing is per exchange or src-dest ID., use the vsan command.

vsan database [exit] [no] [vsan vsan-id interface fc slot-number | port-channel port-number] [vsan vsan-id interop loadbalancing src-dst-id | src-dst-ox-id] [vsan vsan-id loadbalancing src-dst-id | src-dst-ox-id] [vsan vsan-id name name interop loadbalancing src-dst-id | src-dst-ox-id] [vsan vsan-id name name loadbalancing src-dst-id | src-dst-ox-id] [vsan vsan-id suspend interop | loadbalancing] [vsan vsan-id suspend]

Syntax Description

exit

Exits from submode.

no

Negates a command or sets its defaults.

vsan

Configures VSAN information or membership.

vsan-id

The ID of the VSAN is from 1 to 4093.

interface

Adds interfaces to VSAN.

fc

Configures Fiber Channel interface.

slot_number

Specifies a slot number and port number.

port-channel

Configures PortChannel interface.

port-number

Specifies PortChannel number.

interop

Turns on interoperability mode.

loadbalancing

Configures loadbalancing scheme.

src-dst-id

Sets src-id/dst-id for loadbalancing.

src-dst-ox-id

Sets ox-id/src-id/dst-id for loadbalancing (default).

suspend

Suspends VSAN.

Defaults

None.

Command Modes

Configuration mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

Change to the VSAN database submode to issue this command.

Examples

The following examples show how to create multiple fabrics sharing the same physical infrastructure and to assign which ports are in which VSAN.

switch# config t
switch(config)# vsan database
switch(config-db)#
switch-config-db# vsan 2
switch(config-vsan-db)#
switch(config-vsan-db)# vsan 2 name TechDoc 
updated vsan 2
switch(config-vsan-db)#
switch(config-vsan-db)# vsan 2 loadbalancing src-dst-id 
switch(config-vsan-db)# 
switch(config-vsan-db)# vsan 2 loadbalancing src-dst-ox-id 
switch(config-vsan-db)#
switch(config-vsan-db)# vsan 2 suspend 
switch(config-vsan-db)# 
switch(config-vsan-db)# no vsan 2 suspend
vs.-config-vsan-db# 
switch(config-vsan-db)# end
switch#

vrrp

To enable VRRP, use the vrrp command in configuration mode. Use the no form of the command to rever to the factory defaults or to negate a command.

vrrp vrrp-number
[address | advertisement-interval | authentication | preempt | priority | shutdown | track]

no vrrp vrrp-number
[address | advertisement-interval | authentication | preempt | priority | shutdown | track]

Syntax Description

vrrp vrrp-number

Configures a VRRP on the selected VSAN or management interface

address

Adds or removes an IP address to the virtual router.

advertisement-interval

Sets the time interval between advertisements.

authentication

Sets the authentication method.

preempt

Enables preemption of lower priority master.

priority

[1-254] Configure the virtual router priority.

shutdown

Enables or disables a virtual router.

track

Tracks the availability of another interface.


Defaults

Disabled.

Command Modes

Configuration mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

Enter the Virtual Router configuration submode to access the options for this command. From the VSAN or mgmt0 (management) interface configuration submode, enter vrrp number to enter the switch(config-if-vrrp)# prompt. By default, a virtual router is always disabled (shutdown). VRRP can be configured only if this state is disabled. Be sure to configure at least one IP address before attempting to enable a VR.

Refer to the Cisco MDS 9000 Family Configuration Guide.

Examples

The following example enables VRRP configuration.

switch(config-if-vrrp)# no shutdown

The following example disables VRRP configuration.

switch(config-if-vrrp)# shutdown 

The following example configures an IP address for the selected VRRP.

switch# config t
switch(config)# interface vsan 1 
switch(config-if)# vrrp 250 
switch(config-if-vrrp)# address 10.0.0.10