A SERVICE OF

logo

8-72 C122-E003-02EN
GSWB
CHAPTER 8 CLI Operations
(4) See also
switchport access vlan
switchport allowed vlan
switchport native vlan
(5) Examples
Sets Access mode for a port
Sets Trunk mode for a port
Sets Trunk mode for a port-channel port
(6) Error Messages
% Incomplete command.
Cause: Incomplete command input
Action: Enter the command string correctly.
% Invalid input detected at '^' marker.
Cause: Invalid character detected at '^' marker in the entered command string
Action: Enter the command string correctly.
Internal communication error.
Cause: An internal error occurred.
Action: Check the system status, and reenter the command. If the error occurs again,
collect unit information, configuration definition information, and the
information in different types of logs, and restart the unit. Alternatively,
contact a certified service engineer.
Switch(config-if)# switchport mode access
Switch(config-if)#
Switch(config-if)# switchport mode trunk
Switch(config-if)#
Switch(config)# interface port-channel 1
Switch(config-if)# switchport mode trunk
Switch(config-if)#