Users Guide

Table Of Contents
690 Port Characteristics
with the voice VLAN on ports configured for voice VLAN. When configuring
an interface as an access mode port, the interface is automatically made a
member of VLAN 1 by default and removed from all other VLAN
memberships. Each interface can be configured separately, or a range of
interfaces can be configured with the same settings.
Configuring a Port in Trunk 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 and are most often configured as uplinks.
Untagged received traffic is switched in the native VLAN. A trunk port is
automatically configured as a member of all VLANs, including any newly
Command Purpose
configure Enter global configuration mode.
interface interface Enter interface configuration mode for the specified
interface. The interface variable includes the interface type
and number, for example tengigabitethernet 1/0/3.
A range of interfaces can be specified using the interface
range command. For example, interface range
tengigabitethernet 1/0/8-12 configures interfaces 8, 9, 10,
11, and 12.
switchport mode access Configure the interface as an access mode VLAN interface.
Access mode VLANs accept tagged or untagged packets for
the access VLAN only.
switchport access vlan
vlan-id
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)
CTRL + Z Exit to Privileged Exec mode.
show interfaces
switchport interface
Display information about the VLAN settings configured
for the specified interface.