Default configuration, Command mode, User guidelines – Dell POWEREDGE M1000E User Manual

Page 744: Example, Switchport trunk, Syntax

Advertising
background image

744

VLAN Commands

Default Configuration

The default for this command is access.

Command Mode

Interface Configuration (gigabitethernet, port-channel, tengigabitethernet)

mode

User Guidelines

This command has no user guidelines.

Example

The following example configures 1/0/5 to access mode.

console(config)#interface gigabitethernet 1/0/5

console(config-if-1/0/8)#switchport mode access

switchport trunk

Use the switchport trunk command in Interface Configuration mode to add

VLANs to or remove VLANs from a trunk port, or to set the PVID for an

interface in Trunk Mode.

Syntax

switchport trunk {allowed vlan

vlan–list

| native vlan

vlan–id

}

trunk

A trunk port connects two switches. A trunk port may belong

to multiple VLANs. A trunk port accepts only packets tagged

with the VLAN IDs of the VLANs to which the trunk is a

member or untagged packets if configured with a PVID. A

trunk only transmits tagged packets.

general

Full 802.1q support VLAN interface. A general mode port is a

combination of both trunk and access ports capabilities. It is

possible to fully configure all VLAN features on a general mode

port. Both tagged and untagged packets may be accepted and

transmitted.

Parameter

Description

2CSPC4.XModular-SWUM200.book Page 744 Thursday, March 10, 2011 11:18 AM

Advertising