- Preface
- New and Changed Information for this Release
- Overview
- Configuring Multiple Spanning Tree
- Configuring Per VLAN Rapid Spanning Tree Plus
- Configuring VLAN Trunking Protocol
- Managing MAC Addresses
- Managing Virtual Device Contexts
- Managing Ports
- Configuring SVI
- Managing TrustSec
- Configuring SGT Exchange Protocol Connection
- Configuring HSRP
- Managing FC Alias
- Configuring Access Ports
- Managing Access Control Lists
- Configuring Network Address Translation
- Configuring Quality of Services
- Managing Service Policies
- Managing Trunks
- Managing Virtual Fibre Channels
- Managing VLANs
- Managing Virtual Port Channels
- Managing SAN Zones and SAN Zonesets
- Managing Virtual Storage Area Networks
- Managing Virtual Extensible LANs
- Configuring ASA Context
- Configuring the Cisco Nexus 1000V Switch for Microsoft Hyper-V
- Monitoring and Reporting
- Troubleshooting
- About VLANs
- Creating a VLAN
- Assigning a VLAN to a User Group
- Unassigning a VLAN from a User Group
- Configuring a Private VLAN Port
- Creating a Private Primary and Secondary VLAN
- Associating a Private Primary and Secondary VLAN
- Disassociating a Private VLAN
- Removing a Private VLAN Port
- Deleting a Private VLAN
- Deleting a VLAN
Managing VLANs
This chapter contains the following sections:
- About VLANs
- Creating a VLAN
- Assigning a VLAN to a User Group
- Unassigning a VLAN from a User Group
- Configuring a Private VLAN Port
- Creating a Private Primary and Secondary VLAN
- Associating a Private Primary and Secondary VLAN
- Disassociating a Private VLAN
- Removing a Private VLAN Port
- Deleting a Private VLAN
- Deleting a VLAN
About VLANs
A VLAN is a group of devices on one or more LANs that are configured so that they can communicate as if they were attached to the same wire, when they are located on a number of different LAN segments. Because VLANs are based on logical instead of physical connections, they are flexible.
In Cisco UCS Director, you can configure VLANs on the following Cisco network devices:
- Cisco Nexus 1000 and 1110 Series switches
- Cisco Nexus 3000 Series switches
- Cisco Nexus 5000, 5500, and 5672 Series switches
- Cisco Nexus 6000 Series switches
- Cisco Nexus 7000 Series switches
- Cisco Nexus 9300 and 9500 Series switches
Note | For more detailed information about VLANs and configuration guidelines for VLANs, see the Cisco NX-OS Software Configuration Guides. |
Creating a VLAN
Assigning a VLAN to a User Group
Step 1 | On the menu bar, choose . | ||||||||
Step 2 | In the Network pane, expand the pod. | ||||||||
Step 3 | Select the network device to be configured. | ||||||||
Step 4 | Click the VLANs tab. | ||||||||
Step 5 | Select the VLAN to be assigned to a user group. | ||||||||
Step 6 | Click Assign Group. | ||||||||
Step 7 | In the
Select
Group dialog box, complete the following fields:
| ||||||||
Step 8 | Click Submit. |
Unassigning a VLAN from a User Group
Step 1 | On the menu bar, choose . | ||||||
Step 2 | In the Network pane, expand the pod. | ||||||
Step 3 | Select the network device to be configured. | ||||||
Step 4 | Click the VLANs tab. | ||||||
Step 5 | Select the VLAN that you need to unassign from a user group. | ||||||
Step 6 | Click UnAssign Group. | ||||||
Step 7 | In the
UnAssign
VLAN from Group dialog box, complete the following fields:
| ||||||
Step 8 | Click Submit. |
Configuring a Private VLAN Port
You can associate a private VLAN ID as primary and another private VLAN ID as secondary.
Step 1 | On the menu bar, choose . | ||||||||||||
Step 2 | In the Network pane, expand the pod. | ||||||||||||
Step 3 | Select the network device to be configured. | ||||||||||||
Step 4 | Click the Private VLANs tab. | ||||||||||||
Step 5 | Click Configure Private VLAN Port. | ||||||||||||
Step 6 | In the
Configure
Private VLAN Port dialog box, complete the following fields:
| ||||||||||||
Step 7 | Click Submit. |
Creating a Private Primary and Secondary VLAN
A private VLAN domain has only one primary VLAN. Each port in a private VLAN domain is a member of the primary VLAN; the primary VLAN is the entire private VLAN domain. Secondary VLANs provide isolation between ports within the same private VLAN domain. The two types of secondary VLANs within a primary VLAN are as follows:
- Isolated VLANs—Ports within an isolated VLAN that cannot communicate directly with each other at the Layer 2 level.
- Community VLANs—Ports within a community VLAN that can communicate with each other but cannot communicate with ports in other community VLANs or in any isolated VLANs at the Layer 2 level.
Step 1 | On the menu bar, choose . | ||||||||
Step 2 | In the Network pane, expand the pod. | ||||||||
Step 3 | Select the network device to be configured. | ||||||||
Step 4 | Click the Private VLANs tab. | ||||||||
Step 5 | Click Create Private VLAN. | ||||||||
Step 6 | In the
Create
Private VLAN dialog box, complete the following fields:
| ||||||||
Step 7 | Click Submit to create a private VLAN. | ||||||||
Step 8 | In the Private VLANs tab, click Create Private VLAN. | ||||||||
Step 9 | In the
Create
Private VLAN dialog box, complete the following fields:
| ||||||||
Step 10 | Click Submit. |
Associating a Private Primary and Secondary VLAN
You can associate a private VLAN ID as primary and another private VLAN ID as secondary.
Step 1 | On the menu bar, choose . | ||||||||||
Step 2 | In the Network pane, expand the pod. | ||||||||||
Step 3 | Select the network device to be configured. | ||||||||||
Step 4 | Click the Private VLANs tab. | ||||||||||
Step 5 | Click Associate Private VLAN. | ||||||||||
Step 6 | In the
Associate
Private VLAN dialog box, complete the following fields:
| ||||||||||
Step 7 | Click Submit. |
Disassociating a Private VLAN
You can remove the association of primary VLAN from the secondary VLAN.
Step 1 | On the menu bar, choose . |
Step 2 | In the Network pane, expand the pod. |
Step 3 | Select the network device to be configured. |
Step 4 | Click the Private VLANs tab. |
Step 5 | Choose a private VLAN from the Private VLANs table. |
Step 6 | From the drop-down icon at the top right of the table, choose Delete Associate Private VLAN. |
Step 7 | In the Delete Associate Private VLAN dialog box, check the Copy Running configuration to Startup configuration check box to copy the running configuration to the startup configuration. Uncheck the check box if you do not want to copy the running configuration. |
Step 8 | Click Submit. |
Removing a Private VLAN Port
Step 1 | On the menu bar, choose . | ||||||||
Step 2 | In the Network pane, expand the pod. | ||||||||
Step 3 | Select the network device to be configured. | ||||||||
Step 4 | Click the Private VLANs tab. | ||||||||
Step 5 | From the drop-down icon at the top right of the table, choose Remove Private VLAN Port. | ||||||||
Step 6 | In the
Remove
Private VLAN Port dialog box, complete the following fields:
| ||||||||
Step 7 | Click Submit. |
Deleting a Private VLAN
Step 1 | On the menu bar, choose . |
Step 2 | In the Network pane, expand the pod. |
Step 3 | Select the network device to be configured. |
Step 4 | Click the Private VLANs tab. |
Step 5 | Choose a private VLAN from the Private VLANs table. |
Step 6 | From the drop-down icon at the top right of the table, choose Delete Private VLAN. |
Step 7 | In the Delete Private VLAN dialog box, choose Primary or Secondary as the VLAN type. |
Step 8 | Check the Copy Running configuration to Startup configuration check box to copy the running configuration to the startup configuration. Uncheck the check box if you do not want to copy the running configuration. |
Step 9 | Click Submit. |
Deleting a VLAN
Step 1 | On the menu bar, choose . |
Step 2 | In the Network pane, expand the pod. |
Step 3 | Select the network device for which the VLAN needs to be deleted. |
Step 4 | Click the VLANs tab. |
Step 5 | Select the VLAN to be deleted. |
Step 6 | Click
Delete
VLAN.
The Delete VLAN dialog box appears to confirm deletion of VLAN. |
Step 7 | Check the Copy Running configuration to Startup configuration check box to copy the VLAN configuration to the startup configuration. |
Step 8 | Click Delete. |