Configuring The Vlan Subinterface; Interface Subnet Requirements - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
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 46-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
Note
The configuration requirements in
Cisco MDS 9000 Family CLI Configuration Guide
46-6
Interface 2
Gigabit Ethernet 1/2
Gigabit Ethernet 1/1.100
Gigabit Ethernet 1/1.100
Gigabit Ethernet 1/1
Chapter 46
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 46-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
46-1).
OL-18084-01, Cisco MDS NX-OS Release 4.x

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents