Configuring The Vlan Subinterface; Interface Subnet Requirements - HP Cisco MDS 9020 - Fabric Switch Configuration Manual

Cisco mds 9000 family cli configuration guide, release 3.x (ol-16184-01, april 2008)
Hide thumbs Also See for Cisco MDS 9020 - Fabric Switch:
Table of Contents

Advertisement

VLANs
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

Configuring the VLAN Subinterface

To configure a VLAN subinterface (VLAN ID), follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# interface gigabitethernet 2/2.100
switch(config-if)#
Step 3
switch(config-if)# ip address 10.1.1.101
255.255.255.0
Step 4
switch(config-if)# no shutdown

Interface Subnet Requirements

Gigabit Ethernet interfaces (major), subinterfaces (VLAN ID), and management interfaces (mgmt 0) can
be configured in the same or different subnet depending on the configuration (see
Table 45-1
Subnet Requirements for Interfaces
Interface 1
Gigabit Ethernet 1/1
Gigabit Ethernet 1/1.100 Gigabit Ethernet 1/2.100
Gigabit Ethernet 1/1.100 Gigabit Ethernet 1/2.200
Gigabit Ethernet 1/1
mgmt0
mgmt0
The configuration requirements in
Note
Cisco MDS 9000 Family CLI Configuration Guide
45-6
Interface 2
Gigabit Ethernet 1/2
Gigabit Ethernet 1/1.100
Gigabit Ethernet 1/1.100
Gigabit Ethernet 1/1
Chapter 45
Purpose
Enters configuration mode.
Specifies the subinterface on which 802.1Q
is used (slot 2, port 2, VLAN ID 100).
Note
Enters the IPv4 address (10.1.1.100) and
subnet mask (255.255.255.0) for the Gigabit
Ethernet interface.
Enables the interface.
Same Subnet
Allowed
Notes
Yes
Two major interfaces can be configured in the same
or different subnets.
Yes
Two subinterfaces with the same VLAN ID can be
configured in the same or different subnets.
No
Two subinterfaces with different VLAN IDs cannot
be configured in the same subnet.
No
A subinterface cannot be configured on the same
subnet as the major interface.
No
The mgmt0 interface cannot be configured in the
same subnet as the Gigabit Ethernet interfaces or
No
subinterfaces.
Table 45-1
also apply to Ethernet PortChannels.
Configuring IPv4 for Gigabit Ethernet Interfaces
The subinterface number, 100 in this
example, is the VLAN ID. The
VLAN ID ranges from 1 to 4093.
Table
45-1).
OL-16184-01, Cisco MDS SAN-OS Release 3.x

Advertisement

Table of Contents
loading

Table of Contents