Switchport Trunk - Dell PowerEdge M420 Reference Manual

Dell powerconnect m6220/m6348/m8024/m8024-k cli reference guide
Hide thumbs Also See for PowerEdge M420:
Table of Contents

Advertisement

Parameter
trunk
general
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
744
VLAN Commands
Description
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.
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.
vlan–list
vlan–id
| native vlan
}

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents