Specifications

2-453
Cisco ME 2400 Ethernet Access Switch Command Reference
OL-9643-03
Chapter 2 Cisco ME 2400 Ethernet Access Switch Cisco IOS Commands
switchport mode
The IEEE 802.1x feature interacts with switchport modes in these ways:
If you try to enable IEEE 802.1x on a trunk port, an error message appears, and IEEE 802.1x is not
enabled. If you try to change the mode of an IEEE 802.1x-enabled port to trunk, the port mode is
not changed.
If you try to enable IEEE 802.1x on a dynamic-access (VLAN Query Protocol [VQP]) port, an error
message appears, and IEEE 802.1x is not enabled. If you try to change an IEEE 802.1x-enabled port
to dynamic VLAN assignment, an error message appears, and the VLAN configuration is not
changed.
Note Only user network interfaces (UNIs) or enhanced network interfaces (ENIs) can be
dynamic-access ports.
Examples This example shows how to configure a port for access mode:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport mode access
This example shows how to configure a port for trunk mode:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# switchport mode trunk
You can verify your settings by entering the show interfaces interface-id switchport privileged EXEC
command and examining information in the Administrative Mode and Operational Mode rows.
Related Commands Command Description
show interfaces switchport Displays the administrative and operational status of a switching
port, including port blocking and port protection settings.
switchport access vlan Configures a port as a static-access or dynamic-access port.
switchport trunk Configures the trunk characteristics when an interface is in trunking
mode.