Cisco SN 5428 Storage Router Software Configuration Guide, Release 3.3
Chapter 4 - Configuring for VLAN
Downloads: This chapterpdf (PDF - 219.0KB) The complete bookPDF (PDF - 7.54MB) | Feedback

Configuring for VLAN

Table Of Contents

Configuring for VLAN

Prerequisite Tasks

VLAN Encapsulation

Configuration Tasks

Configuring for VLAN with VTP

Configuring for VLAN without VTP

Configuring an IP Route

Verifying and Saving Configuration

Assigning a VLAN to a SCSI Routing Instance


Configuring for VLAN


This chapter explains how to configure your SN 5428 Storage Router for a virtual local area network (VLAN) and contains the following sections:

Prerequisite Tasks

VLAN Encapsulation

Configuration Tasks

Configuring for VLAN with VTP

Configuring for VLAN without VTP

Configuring an IP Route

Verifying and Saving Configuration

Assigning a VLAN to a SCSI Routing Instance

You can configure for VLAN using CLI commands, as described in this chapter, or via the web-based GUI. To access the web-based GUI, point your browser to the storage router's management interface IP address. After logging on, click the Help link to access online help for the GUI.

Prerequisite Tasks

Before configuring for VLAN, make sure you have configured all system parameters as described in "First-Time Configuration," or "Configuring System Parameters."

VLAN Encapsulation

The SN 5428 Storage Router uses the IEEE 802.1Q standard for VLAN encapsulation.


Note If the storage router is connected to a Cisco switch, the switch port must be configured as a trunk port and the encapsulation set to 802.1Q, not Inter-Switch Link (ISL), which is the default setting for trunk ports. The switch port must also be set to VLAN 1.


Configuration Tasks

VLAN and VTP configuration information applies to all storage routers participating in a cluster. When the configuration information is saved, the settings become active on all storage routers in the cluster.


Note Changes to cluster-wide configuration elements are handled by a single storage router in the cluster. In a cluster environment, use the show cluster command to verify that the SN 5428 that you are configuring is managing cluster-wide configuration elements.


To configure for VLAN on the SN 5428 Storage Router, perform the following steps:


Step 1 Configure for VLAN using the VLAN Trunking Protocol (VTP).

or

Configure for VLAN without using VTP.

Step 2 Configure an IP route.

Step 3 Verify and save configuration.


Note You can verify and save the configuration at any point in the process of performing the configuration tasks. Save your configuration by using the save all bootconfig CLI command. This command saves all configuration data to the bootable configuration, which is then used when the storage router is rebooted.


Step 4 Proceed to "Configuring SCSI Routing," to configure SCSI routing and to assign a VLAN to a SCSI routing instance.


Figure 4-1 contrasts configuring the SN 5428 Storage Router for VLAN with VTP and without VTP.

Figure 4-1 Contrast of Configuring for VLAN with VTP and without VTP

Configuring for VLAN with VTP

Configuring for VLAN using the VLAN Trunking Protocol (VTP) consists of assigning the VTP domain name and setting the VTP mode to client. VTP, a proprietary protocol of Cisco Systems, is used to propagate VLAN information around a switched network.

Use the following procedure to configure VLAN using VTP.


Note VTP can only be used in a Cisco network environment.


 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

vtp domain opus

(Optional) Assign a VTP domain name (opus) to which the SN 5428 Storage Router belongs. If a domain name is not specified, the SN 5428 will assign itself to the first domain from which it receives a VTP message. The default setting is none.

Step 3 

vtp mode client

The default setting for the VTP mode is client. Set the VTP mode to client if the current setting is transparent.

In client mode, the SN 5428 will exchange VTP packets with an externally attached switch to learn about the VLANs that are accessible in the network.

Configuring for VLAN without VTP

Configuring for VLAN without using VTP consists of setting the VTP mode to transparent, assigning a VID, and optionally assigning a name and maximum transmission unit (MTU) size to the VLAN.

Use the following procedure to configure VLAN without using VTP.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

vtp mode transparent

Set the VTP mode for the storage router to transparent. In transparent mode, the SN 5428 does not exchange VTP packets, and VLANs must be manually configured. The default setting is client.

Step 3 

vlan 100

or

vlan 100 name Engineering mtusize 9000

Assign a VLAN identifier (VID) number that uniquely identifies the VLAN. The VID can be any integer from 1 to 4095.

Optionally, a VLAN can be assigned a unique name (Engineering) up to 32 characters in length. If a name is not specified, a default name is automatically assigned. The default name has VLAN as the prefix followed by the VID, left padded to four bytes (for example, VLAN0100).

Optionally, an MTU size can be specified using a value from 1500 to 9000. The default value is 1500.

Configuring an IP Route


Note If the SN 5428 is configured to dynamically learn routes via RIP listening, you do not need to configure a static IP route.


Configuring an IP route to access the VLAN consists of specifying a static route that uses a gateway attached to the desired VLAN. Use the following procedure to configure an IP route.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

ip route 10.2.90.285/32 10.2.10.233

Specify the IP address and subnet mask (10.2.90.285/32) of the destination. Set the subnet mask to 255.255.255.255. In this example, the subnet mask was set using CIDR style (/32).

Verifying and Saving Configuration

Verify VTP and VLAN operational and configuration information using the procedures that follow. You can save the configuration at any time by using the save all bootconfig command. You must save the running configuration to the bootable configuration for it to be retained in the storage router when it is rebooted. Once you have saved the configuration, you can verify that the configuration to be used when the storage router is rebooted matches the currently running configuration.

Use the following procedure to verify VTP operational information and configured settings.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

show vtp

Display VTP operational information (Example 4-1).

Step 3 

show vtp from runningconfig

or

show vtp from bootconfig

Display current VTP configuration from the currently running configuration (runningconfig) or from the persistent saved configuration, used when the storage router is restarted (bootconfig). (See Example 4-2.)

Example 4-1 Verifying VTP Operational Information

[SN5428]# show vtp
Configuration Revision    :  8
Number of existing VLANs  :  4
VTP Operating Mode        :  Client
VTP Domain Name           :  opus

Example 4-2 Verifying VTP Configured Settings

[SN5428]#  show vtp from runningconfig
vtp mode client
vtp domain opus

Use the following procedure to verify current operational information for all VLANs either learned from the network using VTP in client mode or configured locally while in transparent mode.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

show vlan

Display current VLAN operational information (Example 4-3).

Example 4-3 Verifying VLAN Operational Information

[SN5428]# show vlan
VLAN  Name                             Status     Ports
----  -------------------------------  ---------  -------------------------------
100   Engineering                      active     ge2
200   Manufacturing                    active     ge2

VLAN  Type   MTU    Interfaces
----  -----  -----  -------------------------------
100   enet   1500   ge2VLAN100
200   enet   1500   ge2VLAN200

Use the following procedure to verify configured VLAN information.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

show vlan from runningconfig

or

show vlan from bootconfig

Display current VLAN configuration from the currently running configuration (runningconfig) or from the persistent saved configuration, used when the storage router is restarted (bootconfig). (See Example 4-4.)

Example 4-4 Verifying VLAN Configuration Information

[SN5428]# show vlan from runningconfig
vlan 100 name Engineering mtu 1500
vlan 200 name Manufacturing mtu 1500

Assigning a VLAN to a SCSI Routing Instance

Assigning a VLAN to a SCSI routing instance is achieved with the scsirouter serverif vlan command. This procedure is provided in the "Configuring a Server Interface" section of "Configuring SCSI Routing." We recommend that you follow the configuration tasks to configure SCSI routing in the order given in that chapter at the time you are ready to configure SCSI routing.