Cisco SN 5420 Storage Router Software Configuration Guide, Release 2.1
Chapter 4 - Configuring for VLAN
Downloads: This chapterpdf (PDF - 171.0KB) The complete bookPDF (PDF - 4.58MB) | 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 5420 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 5420 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.


Configuration Tasks

To configure for VLAN on the SN 5420 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 5420 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 5420 Storage Router belongs. If a domain name is not specified, the SN 5420 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 5420 will exchange VTP packets with an externally attached switch to learn about the VLANs that are accessible in the network.

Note The VTP mode is a cluster-wide configuration item. When set by the user and saved, the mode setting becomes active on all storage routers in the cluster.

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 5420 does not exchange VTP packets, and VLANs must be manually configured. The default setting is client.

Note The VTP mode is a cluster-wide configuration item. When set by the user and saved, the mode setting becomes active on all storage routers in the cluster.

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 16114. The default value is 1500.

Note VLANs are a cluster-wide configuration item. When set by the user and saved, the VLAN information is propagated to all storage routers in the cluster.

Configuring an 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 interface ge2 vlan 100

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).

In addition, specify the gateway IP address (10.2.10.233), the interface name (ge2), and the VID (100).

Note To find the desired VID number, use the show vlan command. VIDs are listed in the VLAN column.

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.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

show vtp

Display VTP operational information (Example 4-1).

Example 4-1 Verifying VTP Operational Information

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


Use the following procedure to verify VTP configured settings.

 
Command
Description

Step 1 

enable

Enter Administrator mode.

Step 2 

show vtp config

Display VTP configured settings (Example 4-2).

Example 4-2 Verifying VTP Configured Settings

[SN5420]# show vtp config
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

[SN5420]# 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 config

Display VLAN configuration information (Example 4-4).

Example 4-4 Verifying VLAN Configuration Information

[SN5420]# show vlan config
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.