You are configuring a Cisco multilayer switch for the Company network. Which command
would you use to configure a port to act as a routed interface?
A.
ip routing
B.
switchport mode trunk
C.
no switchport
D.
switchport trunk native vlan 1
E.
None of the other alternatives apply
Explanation:
Physical switch ports can also operate as Layer 3 interfaces, where a Layer 3 network
address is assigned and routing can occur. Figure 13-2 shows an example of this. By
default, all switch ports on the Catalyst 6500 (native IOS) platforms operate in the Layer 3
mode. For Layer 3 functionality, you must explicitly configure switch ports with the following
command sequence:
Switch(config)# interface type mod/num
Switch(config-if)# no switchport
Switch(config-if)# ip address ip-address mask [secondary]
The no switchport command takes the port out of Layer 2 operation. You can then assign a
network address to the port, as you would to a router interface.