Command Mode
Global Configuration Mode
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Create the loopback interface 1:
T2600G-28TS(config)# interface loopback 1
switchport
42.3
Description
This switchport command is used to switch the Layer 3 interface into the Layer
2 port. To switch the Layer 2 port into the Layer 3 routed port, please use the no
switchport command.
Syntax
switchport
no switchport
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet / interface port-channel / interface range port-channel)
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Switch the gigabitEthernet port 1/0/9 into the routed port:
T2600G-28TS(config)# interface gigabitEthernet 1/0/9
T2600G-28TS(config-if)# no switchport
interface range port-channel
42.4
Description
This interface range port-channel command is used to create multiple
port-channel interfaces.
378