Configuring A Port In Trunk Mode - Dell Networking N4000 Series Configuration Manual

Stackable layer 2 and 3 switches
Hide thumbs Also See for Networking N4000 Series:
Table of Contents

Advertisement

packets. Untagged packets are treated as belonging to the access VLAN.
Packets received with a VLAN ID other than the access VLAN ID are
discarded. When you configure an interface as an access mode port, the
interface is automatically made a member of VLAN 1 and removed from all
other VLAN memberships. You can configure each interface separately, or you
can configure a range of interfaces with the same settings.
Command
configure
interface
interface
switchport mode access
switchport access vlan
vlan-id
CTRL + Z
show interfaces
interface
switchport

Configuring a Port in Trunk Mode

Beginning in Privileged EXEC mode, use the following commands to
configure an interface as a layer 2 trunking interface, which connects two
switches. Trunk mode ports support traffic tagged with different VLAN IDs.
Untagged received traffic is switched in the native VLAN. A trunk port is
Purpose
Enter global configuration mode.
Enter interface configuration mode for the specified
interface
interface. The
and number, for example tengigabitethernet 1/0/3.
You can also specify a range of interfaces with the interface
range command, for example, interface range
tengigabitethernet 1/0/8-12 configures interfaces 8, 9, 10,
11, and 12.
Configure the interface as an access mode VLAN interface.
Access mode VLANs accept tagged or untagged packets for
the access VLAN only.
Configure the interface as a member of the specified
VLAN. By default, access mode ports are members of
VLAN 1.
vlan-id
— A valid VLAN ID of the VLAN to which the port
is configured. (Range: 1–4093)
Exit to Privileged EXEC mode.
Display information about the VLAN settings configured
for the specified interface.
variable includes the interface type
Configuring VLANs
683

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents