beautypg.com

Displaying vlan membership, Adding an interface to a tagged vlan – Dell PowerEdge FX2/FX2s User Manual

Page 98

background image

Command Syntax

Command Mode

Purpose

vlan untagged {vlan-id}

INTERFACE

Add the interface as an untagged member of

one or more VLANs, where:

vlan-id specifies an untagged VLAN number.

Range: 2-4094

If you configure additional VLAN membership and save it to the startup configuration, the new VLAN
configuration takes place immediately.

Dell Networking OS Behavior: When two or more server-facing ports with VLAN membership are
configured in a LAG based on the NIC teaming configuration in connected servers learned via LACP, the
resulting LAG is a tagged member of all the configured VLANs and an untagged member of the VLAN to
which the port with the lowest port ID belongs. For example, if port 0/3 is an untagged member of VLAN
2 and port 0/4 is an untagged member of VLAN 3, the resulting LAG consisting of the two ports is an
untagged member of VLAN 2 and a tagged member of VLAN 3.

Displaying VLAN Membership

To view the configured VLANs, enter the show vlan command in EXEC privilege mode:
Dell#show vlan

Codes: * - Default VLAN, G - GVRP VLANs, R - Remote Port Mirroring VLANs, P -

Primary, C - Community, I - Isolated

O - Openflow

Q: U - Untagged, T - Tagged

x - Dot1x untagged, X - Dot1x tagged

o - OpenFlow untagged, O - OpenFlow tagged

G - GVRP tagged, M - Vlan-stack, H - VSN tagged

i - Internal untagged, I - Internal tagged, v - VLT untagged, V - VLT tagged

NUM Status Description Q Ports

* 1 Inactive U Te 0/1-8

Dell#

NOTE: A VLAN is active only if the VLAN contains interfaces and those interfaces are operationally

up. In the above example, VLAN 1 is inactive because it does not contain any interfaces. The other

VLANs listed contain enabled interfaces and are active. In a VLAN, the shutdown command stops

Layer 3 (routed) traffic only. Layer 2 traffic continues to pass through the VLAN. If the VLAN is not a

routed VLAN (that is, configured with an IP address), the shutdown command has no affect on VLAN

traffic.

Adding an Interface to a Tagged VLAN

The following example shows you how to add a tagged interface (Te 0/2) to the VLANs.
Enter the vlan tagged command to add interface Te 0/2 to VLANs 2 - 4, which is as shown below.
Enter the show config command to verify that interface Te 0/2 is a tagged member of the VLANs.

Dell(conf-if-te-0/2)#vlan tagged ?

VLAN-RANGE Comma/Hyphen separated VLAN ID set

Dell(conf-if-te-0/2)#vlan tagged 2,3-4

Dell(conf-if-te-0/2)#show config

!

interface TenGigabitEthernet 0/2

mtu 12000

98

Interfaces