8-70 C122-E003-02EN
GSWB
CHAPTER 8 CLI Operations
(5) Examples
• Allocates a port in access mode to VLAN2
• Allocates a port-channel port to VLAN10
(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.
• vlan id doesn’t exist.
Cause: The specified VLAN does not exist.
Action: Reenter the command after creating a VLAN.
• Invalid switchport mode.
Cause: The VLAN membership mode is not access.
Action: Reenter the command after changing the mode to access.
• It is necessary to review specified VLAN and port.
Cause: The VLAN and port definitions do not match.
Action: Review the VLAN and port definitions.
Switch(config-if)# switchport access vlan 2
Switch(config-if)#
Switch(config)# interface port channel 1
Switch(config-if)# switchport access vlan 10
Switch(config-if)#